Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for grandChild2 (0.12 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/initialization/ClassLoaderScopeIdentifierTest.groovy

            def child1 = root.child(root.name)
            def child2 = root.child(root.name)
            def grandChild1 = child1.child(root.name)
            def grandChild2 = child2.child(root.name)
    
            expect:
            equivalent(child1, child2)
            equivalent(grandChild1, grandChild2)
        }
    
        def "children from different parents with same name are not equal"() {
            def parent1 = root.child("parent1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 05 18:43:41 UTC 2019
    - 2.7K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/test/groovy/org/gradle/plugins/ide/internal/tooling/BuildInvocationsBuilderTest.groovy

        def child = ProjectBuilder.builder().withName("child").withParent(project).build()
        @Shared
        def grandChild1OfChild = ProjectBuilder.builder().withName("grandChild1").withParent(child).build()
        @Shared
        def grandChild2OfChild = ProjectBuilder.builder().withName("grandChild2").withParent(child).build()
    
        def setupSpec() {
            // create a project/task tree:
            //   root (t1, t2)
            //   +--- child 1 (t2, t3)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  3. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/DefaultComponentSpecIdentifierTest.groovy

            def child = id.child("child")
            def grandchild = child.child("grandchild")
    
            child.parent == id
            child.path == Path.path("name:child")
            child.projectScopedName == "nameChild"
    
            grandchild.parent == child
            grandchild.path == Path.path("name:child:grandchild")
            grandchild.projectScopedName == "nameChildGrandchild"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DefaultCopySpecResolutionTest.groovy

            DefaultCopySpec childTwo = copySpec()
             childTwo.into("child_two")
            parentSpec.with( childTwo)
    
            DefaultCopySpec grandchild = copySpec()
            grandchild.into("grandchild")
            childOne.with(grandchild)
            childTwo.with(grandchild)
    
            List<RelativePath> paths = new ArrayList<RelativePath>()
            parentSpec.buildRootResolver().walk(new Action<CopySpecResolver>() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 28 12:39:32 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/internal/xml/XmlTransformerTest.groovy

            transformer.indentation = "\t"
            transformer.addAction { XmlProvider provider -> provider.asNode().children()[0].appendNode("grandchild") }
    
            when:
            def result = transformer.transform("<root>\n  <child/>\n</root>\n")
    
            then:
            looksLike "<root>\n\t<child>\n\t\t<grandchild/>\n\t</child>\n</root>\n", result
        }
    
        def "can add DOCTYPE along with nodes"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 15 08:16:06 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  6. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/WatchedHierarchiesTest.groovy

            def grandchild = new File(child, "grandchild").absoluteFile
    
            when:
            def watched = resolveWatchedFiles(watchable, buildHierarchy([
                regularFile(new File(grandchild, "missing.txt").absolutePath)
            ]))
            then:
            rootsOf(watched) == [parent.absolutePath]
            1 * watchable.stream() >> Stream.of(parent, child, grandchild)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:38:01 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/DirectoryNodeTest.groovy

            setupTest(vfsSpec)
            def grandChild = Mock(FileSystemLocationSnapshot)
    
            when:
            FileSystemLocationSnapshot foundSnapshot = initialRoot.getSnapshot(searchedPath, CASE_SENSITIVE).get() as FileSystemLocationSnapshot
            then:
            foundSnapshot == grandChild
            interaction {
                getDescendantSnapshotOfSelectedChild(grandChild)
                noMoreInteractions()
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/execution/plan/ExecutionNodeAccessHierarchyTest.groovy

            def child = Mock(Node)
            def grandChild = Mock(Node)
            def ancestor = Mock(Node)
            hierarchy.recordNodeAccessingLocations(child, ["/some/location/child/within"])
            hierarchy.recordNodeAccessingLocations(ancestor, ["/some/location"])
            hierarchy.recordNodeAccessingLocations(grandChild, ["/some/location/child/within/some/grandchild"])
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 11 15:00:43 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  9. maven-core/src/test/resources/projects/grandchild-check/child/grandchild/pom.xml

    <project>
      <modelVersion>4.0.0</modelVersion>
      <parent>
        <groupId>grandchildtest</groupId>
        <artifactId>child</artifactId>
        <version>1</version>
      </parent>
      <artifactId>grandchild</artifactId>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Dec 24 18:50:27 UTC 2020
    - 217 bytes
    - Viewed (0)
  10. maven-core/src/test/resources/projects/grandchild-check/child/pom.xml

      <parent>
        <groupId>grandchildtest</groupId>
        <artifactId>root-pom</artifactId>
        <version>1</version>
      </parent>
      <artifactId>child</artifactId>
      <packaging>pom</packaging>
      <modules>
        <module>grandchild</module>
      </modules>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Dec 24 18:50:27 UTC 2020
    - 301 bytes
    - Viewed (0)
Back to top