Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for grandChild2 (0.58 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. 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)
  4. 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)
  5. 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)
  6. 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)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/ExtraPropertiesIntegrationTest.groovy

    class ExtraPropertiesIntegrationTest extends AbstractIntegrationSpec {
    
        @ToBeFixedForConfigurationCache(skip = INVESTIGATE)
        def 'extra properties are inherited to child and grandchild projects'() {
            given:
            extraPropertiesMultiBuild()
    
            expect:
            succeeds checkTestPropTasks()
        }
    
        @Issue('GRADLE-3530')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top