- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for tempdir (0.13 sec)
-
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheTestKitIntegrationTest.groovy
import org.gradle.testkit.runner.GradleRunner import org.gradle.util.internal.TextUtil import spock.lang.Issue import spock.lang.TempDir @Requires(UnitTestPreconditions.NotWindows) class ConfigurationCacheTestKitIntegrationTest extends AbstractConfigurationCacheIntegrationTest { @TempDir File jacocoDestinationDir def "reports when a TestKit build runs with a Java agent and configuration caching enabled"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 9.9K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java
} @Test void testReadModifiedPoms(@TempDir Path tempDir) throws Exception { // TODO a similar test should be created to test the dependency management (basically all usages // of DefaultModelBuilder.getCache() are affected by MNG-6530 FileUtils.copyDirectoryStructure(new File("src/test/resources/projects/grandchild-check"), tempDir.toFile());
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 09:06:12 UTC 2024 - 18.3K bytes - Viewed (0) -
pilot/pkg/bootstrap/server_test.go
type TLSFSLoadPaths struct { testTLSCertFilePath string testTLSKeyFilePath string testCaCertFilePath string } func TestNewServerCertInit(t *testing.T) { configDir := t.TempDir() tlsArgCertsDir := t.TempDir() tlsArgcertFile := filepath.Join(tlsArgCertsDir, "cert-file.pem") tlsArgkeyFile := filepath.Join(tlsArgCertsDir, "key-file.pem") tlsArgcaCertFile := filepath.Join(tlsArgCertsDir, "ca-cert.pem")
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 23.1K bytes - Viewed (0) -
testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/AbstractSmokeTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 08:14:32 UTC 2024 - 13.3K bytes - Viewed (0) -
src/crypto/tls/bogo_shim_test.go
t.Fatalf("failed to parse 'go mod download' output: %s", err) } bogoDir = j.Dir } cwd, err := os.Getwd() if err != nil { t.Fatal(err) } resultsFile := filepath.Join(t.TempDir(), "results.json") args := []string{ "test", ".", fmt.Sprintf("-shim-config=%s", filepath.Join(cwd, "bogo_config.json")), fmt.Sprintf("-shim-path=%s", os.Args[0]), "-shim-extra-flags=-bogo-mode",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:25:39 UTC 2024 - 12.6K bytes - Viewed (0) -
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) -
subprojects/core-api/src/test/groovy/org/gradle/StartParameterTest.groovy
void "considers system properties for null user home dir"() { def gradleUserHome = tmpDir.file("someGradleUserHomePath") System.setProperty(StartParameter.GRADLE_USER_HOME_PROPERTY_KEY, gradleUserHome.absolutePath) given: StartParameter parameter = new StartParameter() parameter.gradleUserHomeDir = tmpDir.file("ignore-me") when: parameter.gradleUserHomeDir = null
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 06:24:50 UTC 2024 - 14K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/AbstractIntegrationSpec.groovy
// However, in this case the test requires a directory that is not located under any Gradle build. So use // the 'java.io.tmpdir' system property directly TestFile tmpDir = new TestFile(System.getProperty("java.io.tmpdir")) def undefinedBuildDirectory = Files.createTempDirectory(tmpDir.toPath(), "gradle").toFile() testDirOverride = new TestFile(undefinedBuildDirectory) assertNoDefinedBuild(testDirectory)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:07:53 UTC 2024 - 32.9K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredBuildInputsIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 36K bytes - Viewed (0) -
cmd/erasure-multipart.go
wait() return nil }) }) readDirFn(pathJoin(drivePath, minioMetaTmpBucket), func(tmpDir string, typ os.FileMode) error { if strings.HasPrefix(tmpDir, ".trash") { // do not remove .trash/ here, it has its own routines return nil } vi, err := disk.StatVol(ctx, pathJoin(minioMetaTmpBucket, tmpDir)) if err != nil { return nil }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 06:56:12 UTC 2024 - 44.8K bytes - Viewed (0)