Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for grandChild2 (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. maven-core/src/test/java/org/apache/maven/project/DefaultMavenProjectBuilderTest.java

         *
         * @throws Exception in case of issue
         */
        @Test
        void testBuildFromMiddlePom() throws Exception {
            File f1 = getTestFile("src/test/resources/projects/grandchild-check/child/pom.xml");
            File f2 = getTestFile("src/test/resources/projects/grandchild-check/child/grandchild/pom.xml");
    
            getProject(f1);
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 19 15:04:04 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  9. platforms/ide/ide-plugins/src/integTest/groovy/org/gradle/plugins/ide/idea/GenerateIdeaModuleTest.groovy

        Project grandChildProject
    
        def setup() {
            childProject = TestUtil.createChildProject(project, "child", new File("."))
            grandChildProject = TestUtil.createChildProject(childProject, "grandChild", new File("."))
        }
    
        def "moduleName controls outputFile"() {
            given:
            applyPluginToProjects()
            assert childProject.idea.module.name == "child"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 01 11:07:39 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/m3/ToolingApiEclipseModelCrossVersionSpec.groovy

        }
    
        def "can build the eclipse project hierarchy for a multi-project build"() {
    
            projectDir.file('settings.gradle').text = '''
                include "child1", "child2", "child1:grandChild1"
                rootProject.name = 'root'
    '''
            projectDir.file('child1').mkdirs()
    
            when:
            EclipseProject rootProject = loadToolingModel(EclipseProject)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 11.4K bytes
    - Viewed (0)
Back to top