- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 220 for tempdir (0.12 sec)
-
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r55/ReservedProjectNamesCrossVersionSpec.groovy
import org.gradle.tooling.model.eclipse.EclipseWorkspace import org.gradle.tooling.model.eclipse.EclipseWorkspaceProject import spock.lang.TempDir @TargetGradleVersion('>=5.5') class ReservedProjectNamesCrossVersionSpec extends ToolingApiSpecification { @TempDir File externalProjectFolder def setup() { buildFile << """ project(':b') { apply plugin: 'eclipse'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 16 10:10:39 UTC 2024 - 6.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) -
platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/enduser/GradleRunnerConsoleInputEndUserIntegrationTest.groovy
import static org.gradle.testkit.runner.TaskOutcome.* import spock.lang.Specification import spock.lang.TempDir class Test extends Specification { @TempDir File testProjectDir File buildFile def setup() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 06 13:00:39 UTC 2024 - 5.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/fmahash_test.go
default: t.Skipf("Slow test, usually avoid it, arch=%s not amd64 or arm64", runtime.GOARCH) } testenv.MustHaveGoBuild(t) gocmd := testenv.GoToolPath(t) tmpdir := t.TempDir() source := filepath.Join("testdata", "fma.go") output := filepath.Join(tmpdir, "fma.exe") cmd := testenv.Command(t, gocmd, "build", "-o", output, source)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 21:57:53 UTC 2024 - 1.8K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/NativeServicesIntegrationTest.groovy
import spock.lang.Specification import spock.lang.TempDir import org.gradle.testkit.runner.GradleRunner import org.gradle.testkit.runner.TaskOutcome class TestkitTestPluginFunctionalTest extends Specification { @TempDir private File projectDir private getBuildFile() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 05:18:22 UTC 2024 - 10.9K bytes - Viewed (0) -
src/cmd/link/internal/ld/elf_test.go
"internal/testenv" "os" "os/exec" "path/filepath" "runtime" "sort" "strings" "testing" ) func TestDynSymShInfo(t *testing.T) { t.Parallel() testenv.MustHaveGoBuild(t) dir := t.TempDir() const prog = ` package main import "net" func main() { net.Dial("", "") } ` src := filepath.Join(dir, "issue33358.go") if err := os.WriteFile(src, []byte(prog), 0666); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 13:44:07 UTC 2024 - 16.6K 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/cmd/cover/cfg_test.go
} } func TestCoverWithCfg(t *testing.T) { testenv.MustHaveGoRun(t) t.Parallel() // Subdir in testdata that has our input files of interest. tpath := filepath.Join("testdata", "pkgcfg") dir := tempDir(t) instdira := filepath.Join(dir, "insta") if err := os.Mkdir(instdira, 0777); err != nil { t.Fatal(err) } scenarios := []struct { mode, gran string }{ { mode: "count",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 12:51:11 UTC 2024 - 7.8K bytes - Viewed (0) -
testing/public-api-tests/src/integTest/groovy/org/gradle/api/PublicApiIntegrationTest.groovy
import org.junit.jupiter.api.io.TempDir; import java.io.File; import java.io.IOException; import java.nio.file.Files; import static org.junit.jupiter.api.Assertions.assertTrue; public class PublishedApiTestPluginTest { @TempDir File testProjectDir;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 08:43:08 UTC 2024 - 8.8K bytes - Viewed (0) -
cni/test/install_cni.go
return value } return fallback } func mktemp(dir, prefix string, t *testing.T) string { t.Helper() tempDir, err := os.MkdirTemp(dir, prefix) if err != nil { t.Fatalf("Couldn't get current working directory, err: %v", err) } t.Logf("Created temporary dir: %v", tempDir) return tempDir } func ls(dir string, t *testing.T) []string { files, err := os.ReadDir(dir) t.Helper() if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 21 18:32:01 UTC 2024 - 11.4K bytes - Viewed (0)