Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,231 for child1 (0.12 sec)

  1. platforms/ide/ide-plugins/src/test/groovy/org/gradle/plugins/ide/internal/tooling/idea/IdeaModelBuilderTest.groovy

    class IdeaModelBuilderTest extends AbstractProjectBuilderSpec {
        Project child1
        Project child2
    
        def setup() {
            child1 = ProjectBuilder.builder().withName("child1").withParent(project).build()
            child2 = ProjectBuilder.builder().withName("child2").withParent(project).build()
            [project, child1, child2].each { it.pluginManager.apply(IdeaPlugin) }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 09 11:38:46 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  2. subprojects/diagnostics/src/test/groovy/org/gradle/api/tasks/diagnostics/ProjectReportTaskTest.groovy

        def rendersReportForRootProjectWithChildren() {
            project.description = 'this is the root project'
            Project child1 = TestUtil.createChildProject(project, "child1")
            child1.description = 'this is a subproject'
            TestUtil.createChildProject(child1, "child1")
            TestUtil.createChildProject(project, "child2")
    
            when:
            def model = task.calculateReportModelFor(project)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 29 22:32:34 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/CompositeFileCollectionSpec.groovy

        def "visits children when visitor requests contents"() {
            def child1 = Mock(FileCollectionInternal)
            def child2 = Mock(FileTreeInternal)
            def collection = new TestCollection() {
                @Override
                protected void visitChildren(Consumer<FileCollectionInternal> visitor) {
                    visitor.accept(child1)
                    visitor.accept(child2)
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 12K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenParentPomResolveIntegrationTest.groovy

    }
    configurations {
        child1
        child2
    }
    dependencies {
        child1 'org:child1:1.0'
        child2 'org:child2:1.0'
    }
    task retrieveChild1(type: Sync) {
        into 'libs/child1'
        from configurations.child1
    }
    task retrieveChild2(type: Sync) {
        into 'libs/child2'
        from configurations.child2
    }
    """
    
            when:
            child1.pom.expectGet()
    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. subprojects/core/src/test/groovy/org/gradle/api/internal/file/copy/DefaultCopySpecTest.groovy

            DefaultCopySpec child2 = spec.addChild()
    
            then:
            child1
            child2
            spec.children == [child1, child2]
    
            when:
            DefaultCopySpec child3 = spec.addChildBeforeSpec(child2)
    
            then:
            child3
            spec.children == [child1, child3, child2]
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 26 08:05:50 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/dag_object_graph.py

        super(TestModule, self).__init__()
        self.child1 = Child()
        self.child2 = self.child1
    
      # CHECK: tf_saved_model.global_tensor
      # CHECK-SAME: tf_saved_model.exported_names = ["child1.my_variable", "child2.my_variable"]
    
    
    if __name__ == '__main__':
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 28 21:37:05 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  7. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskExecutionIntegrationTest.groovy

            expect:
            2.times {
                run("a", "c").assertTasksExecuted(":a", ":b", ":c", ":child1:b", ":child1:c", ":child1-2:b", ":child1-2:c", ":child1-2-2:b", ":child1-2-2:c", ":child2:b", ":child2:c")
                run("b", ":child2:c").assertTasksExecuted(":b", ":child1:b", ":child1-2:b", ":child1-2-2:b", ":child2:b", ":a", ":child2:c")
            }
        }
    
        def executesMultiProjectDefaultTasksInASingleBuildAndEachTaskAtMostOnce() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 25.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/local/model/LocalComponentGraphResolveStateFactoryTest.groovy

            def child1 = consumable("child1", [conf1, conf2])
            consumable("child2", [conf1])
    
            addArtifact(conf1, artifact1, file1)
            addArtifact(conf2, artifact2, file2)
            addArtifact(child1, artifact3, file3)
    
            when:
            def conf1State = state.candidatesForGraphVariantSelection.getVariantByConfigurationName("child1", Stub(ResolutionFailureHandler))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/build-profile/src/test/groovy/org/gradle/profile/CompositeOperationTest.groovy

    class CompositeOperationTest extends Specification {
    
        def "execution time is sum of execution time of child operations"() {
            given:
            Operation child1 = operation(12)
            Operation child2 = operation(10)
            def operation = new CompositeOperation<Operation>([child1, child2])
    
            expect:
            operation.elapsedTime == 22
        }
    
        def operation(long elapsedTime) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 12:58:53 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ParallelDownloadsIntegrationTest.groovy

            given:
            def child1 = mavenRepo.module("org", "child1", "1.0")
            child1.parent("org", "parent1", "1.0")
            child1.publish()
    
            def child2 = mavenRepo.module("org", "child2", "1.0")
            child2.parent("org", "parent2", "1.0")
            child2.publish()
    
            def parent1 = mavenRepo.module("org", "parent1", "1.0")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 17:10:15 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top