- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 281 for testDir (0.19 sec)
-
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) -
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) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/UserInitScriptExecuterFixture.groovy
abstract class UserInitScriptExecuterFixture implements MethodRule { GradleExecuter executer TestDirectoryProvider testDir UserInitScriptExecuterFixture(GradleExecuter executer, TestDirectoryProvider testDir) { this.executer = executer this.testDir = testDir } String initScriptContent() { } void afterBuild() { }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.9K bytes - Viewed (0) -
platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/javadoc/JavadocTest.groovy
import org.gradle.test.fixtures.AbstractProjectBuilderSpec import org.gradle.util.TestUtil class JavadocTest extends AbstractProjectBuilderSpec { def testDir = temporaryFolder.getTestDirectory() def destDir = new File(testDir, "dest") def srcDir = new File(testDir, "srcdir") def configurationMock = TestFiles.fixed(new File("classpath")) def tool = Mock(JavadocToolAdapter) Javadoc task def setup() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 2.8K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ProjectLifecycleFixture.groovy
private TestFile fixtureData ProjectLifecycleFixture(GradleExecuter executer, TestDirectoryProvider testDir) { super(executer, testDir) } List<String> configuredProjects String initScriptContent() { fixtureData = testDir.testDirectory.file("lifecycle-fixture-data.txt") """File outputFile = file("${fixtureData.toURI()}") outputFile.text = ''
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/SampleTestNGIntegrationTest.groovy
} @Test @UsesSample('testing/testng-suitexmlbuilder') void suiteXmlBuilder() { def testDir = sample.dir.file('groovy') executer.inDirectory(testDir).withTasks('clean', 'test').run() def result = new DefaultTestExecutionResult(testDir) result.assertTestClassesExecuted('org.gradle.testng.UserImplTest')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/IoTestCase.java
try { File testFile = new File(testFileUrl.toURI()); testDir = testFile.getParentFile(); // the testdata directory } catch (Exception ignore) { // probably URISyntaxException or IllegalArgumentException // fall back to copying URLs to files in the testDir == null block below } } if (testDir == null) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 31 12:36:13 UTC 2024 - 5.6K bytes - Viewed (0)