- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 186 for testJar (0.16 sec)
-
subprojects/core/src/test/groovy/org/gradle/initialization/DefaultSettingsTest.groovy
} def 'can create project descriptor'() { String testName = "testname" File testDir = new File("testDir") when: DefaultProjectDescriptor projectDescriptor = settings.createProjectDescriptor(settings.getRootProject(), testName, testDir) then: settings.rootProject.is(projectDescriptor.parent)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 01 18:57:54 UTC 2023 - 5.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryManagerTest.java
public class DictionaryManagerTest extends UnitFessTestCase { private File testDir; private File file1; @Override public void setUp() throws Exception { super.setUp(); testDir = File.createTempFile("synonymtest", "_dir"); testDir.delete(); testDir.mkdirs(); file1 = new File(testDir, "synonym.txt");
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 2.4K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskDestroyablesTest.groovy
taskDestroys.registeredFiles.singleFile == testDir.file("a") } def "can declare multiple files that a task destroys"() { when: taskDestroys.register("a", "b") then: taskDestroys.registeredFiles.files == [testDir.file("a"), testDir.file("b")] as Set } def "can declare a file collection that a task destroys"() { def files = [testDir.file('a'), testDir.file('b')] as Set
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jul 03 07:26:07 UTC 2020 - 2.7K bytes - Viewed (0) -
platforms/software/maven/src/integTest/groovy/org/gradle/api/publish/maven/AbstractMavenPublishJavaIntegTest.groovy
javaLibrary.assertApiDependencies("org.test:a:1.0", "org.gradle.test:subproject:1.2") javaLibrary.assertRuntimeDependencies("org.test:b:2.0") with(javaLibrary.parsedPom) { with(scopes.compile) { hasDependencyExclusion("org.test:a:1.0", new MavenDependencyExclusion("apiElements-group", "apiElements-module"))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 22:25:49 UTC 2023 - 45.6K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/api/internal/file/BaseDirFileResolverTest.groovy
baseDirConverter.resolve(testDir.name, PathValidation.DIRECTORY) fail() } catch (InvalidUserDataException e) { assertThat(e.message, equalTo("Directory '$testDir.canonicalFile' does not exist.".toString())) } } @Test public void testPathValidationWithValidDirectory() { testDir.mkdir() baseDirConverter.resolve(testDir.name, PathValidation.DIRECTORY) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Dec 29 17:15:52 UTC 2023 - 15.1K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/groovy/scripts/TextResourceScriptSourceTest.java
testDir = tmpDir.createDir("scripts"); scriptFile = new File(testDir, "build.script"); scriptFileUri = scriptFile.toURI(); createJar(); } private URI createJar() throws URISyntaxException { TestFile jarFile = tmpDir.getTestDirectory().file("test.jar"); testDir.file("ignoreme").write("content"); testDir.zipTo(jarFile);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Feb 15 01:04:05 UTC 2023 - 12K bytes - Viewed (0) -
cmd/kubelet/app/server_bootstrap_test.go
} fi = getFileInfo(testDir) if len(fi) != 2 { t.Fatalf("Unexpected directory contents: %#v", fi) } } func Test_buildClientCertificateManager_populateCertDir(t *testing.T) { testDir, err := os.MkdirTemp("", "kubeletcert") if err != nil { t.Fatal(err) } defer func() { os.RemoveAll(testDir) }() // when no cert is provided, write nothing to disk
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Feb 01 05:59:41 UTC 2022 - 10.5K bytes - Viewed (0) -
platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/filesystem/jdk7/Jdk7SymlinkTest.groovy
createWindowsJunction(new File(testDirectory, 'testDir'), testDirectory.createDir('symDir')) then: symlink.isSymlink(new File(testDirectory, 'testDir')) cleanup: // Need to delete the junction point manually because it's not supported by JDK // See: https://bugs.openjdk.java.net/browse/JDK-8069345 new File(testDirectory, 'testDir').delete() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:06:40 UTC 2023 - 5K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/gcc/GccToolChainTest.groovy
} def "resolves path entries"() { def testDir = tmpDirProvider.testDirectory when: toolChain.path "The Path" toolChain.path "Path1", "Path2" then: fileResolver.resolve("The Path") >> testDir.file("one") fileResolver.resolve("Path1") >> testDir.file("two") fileResolver.resolve("Path2") >> testDir.file("three") and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.4K bytes - Viewed (0) -
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)