Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 96 for grandparent (0.16 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradlePomModuleDescriptorParserProfileTest.groovy

        }
    
        def "uses grand parent properties from active profile to provide default values for a dependency"() {
            given:
            def grandParent = tmpDir.file("grandparent.xml") << """
    <project>
        <groupId>different-group</groupId>
        <artifactId>grandparent</artifactId>
        <version>different-version</version>
    
        <profiles>
            <profile>
                <id>profile-1</id>
                <activation>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 49.8K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractCacheCleanupTest.groovy

            parent.assertDoesNotExist()
            grandparent.assertDoesNotExist()
            cacheDir.assertExists()
            deletedFiles == [file, parent, grandparent]
        }
    
        def "does not delete non-empty parent directories"() {
            given:
            def grandparent = cacheDir.createDir("a")
            def anotherFile = grandparent.createFile("anotherfile")
            def parent = grandparent.createDir("b")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradlePomModuleDescriptorParserTest.groovy

            given:
            def grandParent = tmpDir.file("grandparent.xml") << """
    <project>
        <groupId>different-group</groupId>
        <artifactId>grandparent</artifactId>
        <version>different-version</version>
    
        <properties>
            <grandparent.groupid>group-two</grandparent.groupid>
            <grandparent.artifactid>artifact-two</grandparent.artifactid>
        </properties>
    </project>
    """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 75.4K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenParentPomResolveIntegrationTest.groovy

        def "module that has a parent and grandparent module"() {
            given:
            def grandParent = mavenHttpRepo.module("org", "grandparent", "1.0")
            grandParent.hasPackaging('pom')
            grandParent.publish()
    
            def parent = mavenHttpRepo.module("org", "parent", "1.0")
            parent.hasPackaging('pom')
            parent.parent("org", "grandparent", "1.0")
            parent.publish()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  5. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/logging/AbstractTestLogger.java

                // If there is a parent, then check that the grandparent has no test class.
                // There is currently no requirement to check further up the descriptor hierarchy than this.
                return current.getParent().getParent() == null || current.getParent().getParent().getClassName() == null;
            }
            // If there is no parent, then there's no need to check if the grandparent has a test class.
            return true;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        URL url1 = new URL("file:/a");
        URL url2 = new URL("file:/b");
        URLClassLoader grandParent = new URLClassLoader(new URL[] {url1}, null);
        URLClassLoader parent = new URLClassLoader(new URL[] {url2}, grandParent);
        assertThat(ClassPath.getClassPathEntries(new ClassLoader(parent) {}))
            .containsExactly(new File("/a"), grandParent, new File("/b"), parent);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 26 14:02:27 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

            parent is R && check(parent, this) -> parent
            parent is KtQualifiedExpression && parent.selectorExpression == this -> {
                val grandParent = parent.nonContainerParent
                when {
                    grandParent is R && check(grandParent, parent) -> grandParent
                    else -> null
                }
            }
            else -> null
        }
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelRuleBindingFailureIntegrationTest.groovy

        @Model
        void person(Person p) { }
    
        @Model
        String name(@Path("person.parent.parent") Person grandParent, @Path("person.parent.parent.parent.parent") Person ancestor) {
            throw new RuntimeException("broken")
        }
    
        @Validate
        void checkName(@Path("person.parent.parent") Person grandParent, @Path("person.parent.parent.parent.parent") Person ancestor) {
            throw new RuntimeException("broken")
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/io/FilesTest.java

        }
      }
    
      public void testCreateParentDirs_multipleParentsNeeded() throws IOException {
        File file = file(getTempDir(), "grandparent", "parent", "nonexistent.file");
        File parent = file.getParentFile();
        File grandparent = parent.getParentFile();
        assertFalse(grandparent.exists());
        Files.createParentDirs(file);
        assertTrue(parent.exists());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/FilesTest.java

        }
      }
    
      public void testCreateParentDirs_multipleParentsNeeded() throws IOException {
        File file = file(getTempDir(), "grandparent", "parent", "nonexistent.file");
        File parent = file.getParentFile();
        File grandparent = parent.getParentFile();
        assertFalse(grandparent.exists());
        Files.createParentDirs(file);
        assertTrue(parent.exists());
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.2K bytes
    - Viewed (0)
Back to top