Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 727 for tempdir (0.29 sec)

  1. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/CommandLineJavaCompilerArgumentsGeneratorTest.groovy

        @Rule
        TestNameTestDirectoryProvider tempDir = new TestNameTestDirectoryProvider(getClass())
    
        CommandLineJavaCompilerArgumentsGenerator argsGenerator = new CommandLineJavaCompilerArgumentsGenerator()
    
        def "creates arguments file"() {
            def spec = createCompileSpec(25)
            def argsFile = tempDir.createFile("java-compiler-args.txt")
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. fess-crawler-lasta/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

                    docRoot.delete();
                }
            }
        }
    
        protected static File createDocRoot(final int count) {
            try {
                final File tempDir = File.createTempFile("crawlerDocRoot", "");
                tempDir.delete();
                tempDir.mkdirs();
    
                // robots.txt
                StringBuilder buf = new StringBuilder();
                buf.append("User-agent: *").append('\n');
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. src/cmd/link/link_test.go

    	}
    
    	tmpdir := t.TempDir()
    
    	xSrc := filepath.Join(tmpdir, "x.go")
    	pSrc := filepath.Join(tmpdir, "p.go")
    	xObj := filepath.Join(tmpdir, "x.o")
    	pObj := filepath.Join(tmpdir, "p.o")
    	exe := filepath.Join(tmpdir, "x.exe")
    	importcfgfile := filepath.Join(tmpdir, "importcfg")
    	testenv.WriteImportcfg(t, importcfgfile, map[string]string{"p": pObj})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 20:26:02 UTC 2024
    - 43.5K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/gcc/GccOptionsFileArgsWriter.java

        public GccOptionsFileArgsWriter(File tempDir) {
            super(tempDir);
        }
    
        @Override
        public List<String> transformArgs(List<String> originalArgs, File tempDir) {
            List<String> commandLineOnlyArgs = getCommandLineOnlyArgs(originalArgs);
            List<String> finalArgs = new ArrayList<>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

                    docRoot.delete();
                }
            }
        }
    
        protected static File createDocRoot(final int count) {
            try {
                final File tempDir = File.createTempFile("crawlerDocRoot", "");
                tempDir.delete();
                tempDir.mkdirs();
    
                // robots.txt
                StringBuilder buf = new StringBuilder();
                buf.append("User-agent: *").append('\n');
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/IoTestCase.java

       * the tear-down for this test. Subsequent invocations of this method will return the same
       * directory.
       */
      protected final File getTempDir() throws IOException {
        if (tempDir == null) {
          tempDir = createTempDir();
        }
    
        return tempDir;
      }
    
      /**
       * Creates a new temp file in the temp directory returned by {@link #getTempDir()}. The file will
       * be deleted in the tear-down for this test.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/samples/incubating/build-organization/publishing-convention-plugins/groovy/convention-plugins/src/test/groovy/com/myorg/PluginTest.groovy

    package com.myorg
    
    import org.gradle.testkit.runner.GradleRunner
    import spock.lang.Specification
    import spock.lang.TempDir
    
    abstract class PluginTest extends Specification {
        @TempDir
        File testProjectDir
        File settingsFile
        File buildFile
    
        def setup() {
            settingsFile = new File(testProjectDir, 'settings.gradle').tap { it << "rootProject.name = 'test'" }
            buildFile = new File(testProjectDir, 'build.gradle')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 947 bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow_to_stablehlo/python/integration_test/tensorflow_to_stablehlo_test.py

      model.compile(optimizer='sgd', loss='mse')
      model.fit(x_train, y_train, epochs=1)
    
      path = tempdir + '/add_one_model'
      model.save(path)
      return path
    
    
    class TensorflowToStableHLOTest(test.TestCase):
    
      def test_saved_model_to_stablehlo(self):
        with tempfile.TemporaryDirectory() as tempdir:
          path = build_savedmodel(tempdir)
          module_bytecode = tensorflow_to_stablehlo.savedmodel_to_stablehlo(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/tasks/incrementalBuild-customTaskClass/groovy/build.gradle

        from processTemplates
    }
    // end::inferred-task-dep-via-task[]
    
    
    // tag::adhoc-destroyable-task[]
    tasks.register('removeTempDir') {
        def tempDir = layout.projectDirectory.dir('tmpDir')
        destroyables.register(tempDir)
        doLast {
            tempDir.asFile.deleteDir()
        }
    }
    // end::adhoc-destroyable-task[]
    
    tasks.named('build') {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  10. platforms/core-execution/build-cache-http/src/integTest/groovy/org/gradle/caching/http/internal/HttpBuildCacheServiceTest.groovy

            HttpStatus.SC_HTTP_VERSION_NOT_SUPPORTED,
            511 // network authentication required
        ]
    
        @Rule
        HttpServer server = new HttpServer()
        @Rule
        TestNameTestDirectoryProvider tempDir = new TestNameTestDirectoryProvider(getClass())
    
        BuildCacheServiceFactory.Describer buildCacheDescriber
        HttpClientHelper.Factory httpClientHelperFactory = HttpClientHelper.Factory.createFactory(new DocumentationRegistry())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 12.4K bytes
    - Viewed (0)
Back to top