Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for testBar (0.15 sec)

  1. subprojects/core/src/test/groovy/org/gradle/internal/classpath/DefaultCachedClasspathTransformerTest.groovy

            given:
            def dir = testDir.file("thing.dir")
            classesDir(dir)
            def file = testDir.file("thing.jar")
            jar(file)
            def dir2 = testDir.file("thing2.dir")
            classesDir(dir2)
            def file2 = testDir.file("thing2.jar")
            jar(file2)
            def dir3 = testDir.file("thing3.dir")
            classesDir(dir3)
            def file3 = testDir.file("thing3.jar")
            jar(file3)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/internal/classpath/transforms/ClasspathElementTransformTest.groovy

            def outputJar = testDir.file("transformed.jar")
            return new JarTestFixture(transform(factory, originalJar, outputJar), 'UTF-8', null, /* checkManifest */ false)
        }
    
        private TestFile transformDirectory(TransformFactoryType factory, File originalDir) {
            def outputDir = testDir.file("transformed")
            return new TestFile(transform(factory, originalDir, outputDir))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 14 09:24:02 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishResolvedVersionsJavaIntegTest.groovy

                configurations {
                    extra.extendsFrom(api)
                }
                dependencies {
                    api "org.test:foo:1.0"
                    implementation "org.test:bar:1.0"
                    extra "org.test:bar:1.1"
                }
                publishing {
                    publications {
                        maven(MavenPublication) {
                            from components.java
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 27 18:52:27 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r56/ClosedProjectSubstitutionCrossVersionSpec.groovy

                project(":child1") {
                    configurations {
                        testArtifacts
                    }
                    task testJar(type: Jar) {
                        archiveClassifier = "tests"
                    }
                    artifacts {
                        testArtifacts testJar
                    }
                }
                project(":child2") {
                    dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. istioctl/pkg/workload/workload_test.go

    			"ingressIP":  "fd00:10:96::2",
    		},
    	}
    	for _, dir := range files {
    		if !dir.IsDir() {
    			continue
    		}
    		testdir := path.Join("testdata/vmconfig", dir.Name())
    		t.Cleanup(func() {
    			for k := range generated {
    				os.Remove(path.Join(testdir, k))
    			}
    		})
    		t.Run(dir.Name(), func(t *testing.T) {
    			createClientFunc := func(client kube.CLIClient) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 27 16:59:05 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTaskFactoryTest.groovy

            missingFile = testDir.file("missing.txt")
            existingDir = testDir.file("dir").createDir()
            missingDir = testDir.file("missing-dir")
            missingDir2 = testDir.file("missing-dir2")
        }
    
        FileResolver getFileResolver() {
            return project.fileResolver
        }
    
        FileCollectionFactory getFileCollectionFactory() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/AbstractFileLockManagerTest.groovy

        TestFile testFile
        TestFile testFileLock
        TestFile testDir
        TestFile testDirLock
    
        List<Closeable> openedLocks = []
    
        def setup() {
            testFile = tmpDir.createFile("state.bin")
            testFileLock = tmpDir.file(testFile.name + ".lock")
            testDir = tmpDir.createDir("lockable-dir")
            testDirLock = tmpDir.file("${testDir.name}/${testDir.name}.lock")
    
            metaDataProvider.processIdentifier >> '123'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  8. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/tasks/InitBuildSpec.groovy

            // Don't store userHome in the default location (in the project dir), because this will cause the non-empty project dir detection to fail
            init = TestUtil.create(testDir.testDirectory.file("project"), testDir.testDirectory.file("userHome")).task(InitBuild)
            projectLayoutRegistry = Mock()
            defaultGenerator = Mock()
            buildConverter = Mock()
            init.projectLayoutRegistry = projectLayoutRegistry
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 20:10:43 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/options/TaskOptionIntegrationTest.groovy

            'RegularFileProperty' | []                    | 'null'      | 'fileProperty'      | 'not provided'
            'DirectoryProperty'   | ['--myProp=testDir']  | 'testDir'   | 'directoryProperty' | 'provided'
            'DirectoryProperty'   | []                    | 'null'      | 'directoryProperty' | 'not provided'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  10. src/go/types/check_test.go

    		path := filepath.Join(dir, fi.Name())
    
    		// If fi is a directory, its files make up a single package.
    		if fi.IsDir() {
    			testDir(t, path, manual)
    		} else {
    			t.Run(filepath.Base(path), func(t *testing.T) {
    				testPkg(t, []string{path}, manual)
    			})
    		}
    	}
    }
    
    func testDir(t *testing.T, dir string, manual bool) {
    	testenv.MustHaveGoBuild(t)
    
    	fis, err := os.ReadDir(dir)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top