Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for tempdir (0.07 sec)

  1. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvokerTest.java

        @Override
        protected Parser<MavenInvokerRequest<MavenOptions>> createParser() {
            return new DefaultMavenParser();
        }
    
        @Test
        void defaultFs(@TempDir(cleanup = CleanupMode.ON_SUCCESS) Path tempDir) throws Exception {
            invoke(tempDir, Arrays.asList("clean", "verify"));
        }
    
        @Disabled("Until we move off fully from File")
        @Test
        void jimFs() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. 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: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. fess-crawler-opensearch/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();
    
                final StringBuilder buf = new StringBuilder();
                buf.append("User-agent: *").append('\n');
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvokerTest.java

        @Override
        protected Parser<ForkedMavenInvokerRequest> createParser() {
            return new DefaultForkedMavenParser();
        }
    
        @Test
        void defaultFs(@TempDir(cleanup = CleanupMode.ON_SUCCESS) Path tempDir) throws Exception {
            invoke(tempDir, Arrays.asList("clean", "verify"));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManagerTest.groovy

     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility
    
    import spock.lang.Specification
    import spock.lang.Subject
    import spock.lang.TempDir
    
    class AcceptedApiChangesJsonFileManagerTest extends Specification {
    
        @TempDir
        File temporaryFolder
    
        @Subject AcceptedApiChangesJsonFileManager jsonFileManager = new AcceptedApiChangesJsonFileManager()
    
        def jsonFile
    
        def setup() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 17 08:32:56 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  7. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 31 12:36:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/local/DefaultLocalMavenInvokerTest.java

        @Override
        protected Parser<MavenInvokerRequest<MavenOptions>> createParser() {
            return new DefaultMavenParser();
        }
    
        @Test
        void defaultFs(@TempDir(cleanup = CleanupMode.ON_SUCCESS) Path tempDir) throws Exception {
            invoke(tempDir, Arrays.asList("clean", "verify"));
        }
    
        @Disabled("Until we move off fully from File")
        @Test
        void jimFs() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.io.TempDir;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    /**
     * Tests {@link FileProfileActivator}.
     *
     */
    class FileProfileActivatorTest extends AbstractProfileActivatorTest<FileProfileActivator> {
    
        @TempDir
        Path tempDir;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy

    import gradlebuild.buildutils.model.ReleasedVersion
    import spock.lang.Specification
    import spock.lang.TempDir
    
    import java.text.SimpleDateFormat
    
    class UpdateReleasedVersionsIntegrationTest extends Specification {
    
        def format = new SimpleDateFormat('yyyyMMddHHmmssZ')
    
        @TempDir
        File tmpDir
    
        def setup() {
            format.timeZone = TimeZone.getTimeZone("UTC")
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 17 08:32:56 UTC 2021
    - 2.4K bytes
    - Viewed (0)
Back to top