Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,008 for root2 (0.09 sec)

  1. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildIncludeCycleIntegrationTest.groovy

            """
    
            when:
            execute(rootBuild, ':root1:compileJava')
    
            then:
            result.assertTasksExecuted(':root2:compileJava', ':buildA:compileJava', ':root1:compileJava')
    
            and:
            canRunFromCache(rootBuild, ':root1:compileJava')
        }
    
        def "can depend back on root build and back on an included build"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Aug 19 21:32:57 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/internal/fingerprint/classpath/impl/DefaultClasspathFingerprinterTest.groovy

            fileCollectionFingerprint.empty
        }
    
        def "root elements are unsorted, non-root elements are sorted amongst themselves"() {
            def rootFile1 = file("root1.txt") << "root1"
            def rootDir = file("dir").createDir()
            rootDir.file("file1.txt") << "file1"
            rootDir.file("file2.txt") << "file2"
            def rootFile2 = file("root2.txt") << "root2"
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:33 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/OutputFileChangesTest.groovy

                    regularFile("root1/one", 0x1234)
                ]),
                directory("root2", [
                    regularFile("root2/one", 0x1234),
                    regularFile("root2/two", 0x2345)
                ])
            ) == [added("root2/two")]
        }
    
        def "deep removal"() {
            expect:
            changes(
                directory("root", [
                    regularFile("root/one", 0x1234),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/text/TreeFormatterTest.groovy

            formatter.node("child2")
            formatter.endChildren()
    
            then:
            formatter.toString() == toPlatformLineSeparators("""root1:
      - child1
      - child2
    root2: child1
    root3:
      - child1
      - child2""")
        }
    
        def "can append to root node"() {
            when:
            formatter.node("Some ")
            formatter.append("thing")
            formatter.append(".")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/testFixtures/groovy/org/gradle/api/internal/file/collections/AbstractDirectoryWalkerTest.groovy

            given:
            def rootDir = tmpDir.createDir("root")
            def rootTextFile = rootDir.file("a.txt").createFile()
            def nestedTextFile = rootDir.file("a/b/c.txt").createFile()
            def notTextFile = rootDir.file("a/b/c.html").createFile()
            def excludedFile = rootDir.file("subdir1/a/b/c.html").createFile()
            def notUnderRoot = tmpDir.createDir("root2").file("a.txt").createFile()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/DirectoryFileTreeTest.groovy

            given:
            def root = temporaryFolder.createDir("root")
            def rootFile1 = root.createFile("rootFile1")
            def dir1 = root.createDir("dir1")
            def dirFile1 = dir1.createFile("dirFile1")
            def dirFile2 = dir1.createFile("dirFile2")
            def rootFile2 = root.createFile("rootFile2")
    
            def fileTree = new DirectoryFileTree(root, new PatternSet(), TestFiles.fileSystem(), false).postfix()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  7. pkg/kubelet/clustertrustbundle/clustertrustbundle_manager_test.go

    			Name: "ctb1",
    		},
    		Spec: certificatesv1alpha1.ClusterTrustBundleSpec{
    			TrustBundle: mustMakeRoot(t, "root1"),
    		},
    	}
    
    	ctb2 := &certificatesv1alpha1.ClusterTrustBundle{
    		ObjectMeta: metav1.ObjectMeta{
    			Name: "ctb2",
    		},
    		Spec: certificatesv1alpha1.ClusterTrustBundleSpec{
    			TrustBundle: mustMakeRoot(t, "root2"),
    		},
    	}
    
    	kc := fake.NewSimpleClientset(ctb1, ctb2)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 15.5K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/impl/DirectorySnapshotterTest.groovy

            given:
            def rootDir = tmpDir.createDir("root")
            def rootTextFile = rootDir.file("root.txt").createFile()
            def knownTextFile = rootDir.file("a/b/known.txt").createFile()
            def knownDir = rootDir.file("a/known").createDir()
            def previouslyUnknownFile = knownDir.file("previously-unknown.txt").createFile()
            // root
            //   - root.txt <-- rootTextFile
            //   - a
            //     - b
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationSpec.groovy

            then:
            thrown InvalidUserDataException
        }
    
        def "creates hierarchy"() {
            def root1 = conf("root1")
            def middle1 = conf("middle1").extendsFrom(root1)
            def root2 = conf("root2")
            def middle2 = conf("middle2").extendsFrom(root2)
            def leaf = conf("leaf1").extendsFrom(middle1, middle2)
    
            when:
            def hierarchy = leaf.hierarchy
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 17:30:13 UTC 2024
    - 64.8K bytes
    - Viewed (0)
  10. src/internal/types/testdata/examples/types.go

    // A generic binary tree might be declared as follows.
    type Tree[E any] struct {
    	left, right *Tree[E]
    	payload E
    }
    
    // A simple instantiation of Tree:
    var root1 Tree[int]
    
    // The actual type parameter provided may be a generic type itself:
    var root2 Tree[List[int]]
    
    // A couple of more complex examples.
    // We don't need extra parentheses around the element type of the slices on
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 23:16:04 UTC 2023
    - 8.4K bytes
    - Viewed (0)
Back to top