Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for outdir (0.04 sec)

  1. src/main/java/org/codelibs/core/io/TraversalUtil.java

        static {
            addTraverserFactory("file", (url, rootPackage, rootDir) -> new FileSystemTraverser(getBaseDir(url, rootDir), rootPackage, rootDir));
            addTraverserFactory("jar", JarFileTraverser::new);
            addTraverserFactory("zip", (url, rootPackage,
                    rootDir) -> new JarFileTraverser(JarFileUtil.create(new File(ZipFileUtil.toZipFilePath(url))), rootPackage, rootDir));
            addTraverserFactory("code-source",
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/io/FileUtilTest.java

         */
        @Test
        public void testIsPathSafe_PathInsideBase() throws Exception {
            final Path baseDir = tempFolder.getRoot().toPath();
            final Path subDir = Files.createDirectory(baseDir.resolve("subdir"));
            final Path file = Files.createFile(subDir.resolve("test.txt"));
    
            assertTrue("Path inside base should be allowed", FileUtil.isPathSafe(file, baseDir));
        }
    
        /**
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

                Exception innermost = new IOException("Innermost exception");
                Exception middle = new RuntimeException("Middle exception", innermost);
                Exception rootCause = new IllegalStateException("Outer exception", middle);
                TransportException exception = new TransportException("Transport failed", rootCause);
    
                String result = exception.toString();
    
                assertNotNull(result);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

            ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "file:/usr/test/dep.jar")
                .toURI());
        assertEquals(
            new File("/home/build/a.jar").toURI(),
            ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "a.jar").toURI());
        assertEquals(
            new File("/home/build/x/y/z").toURI(),
            ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "x/y/z").toURI());
        assertEquals(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 23K bytes
    - Viewed (0)
  5. build.gradle.kts

      }
    
      // https://publicobject.com/2023/04/16/read-a-project-file-in-a-kotlin-multiplatform-test/
      tasks.withType<Test>().configureEach {
        environment("OKHTTP_ROOT", rootDir)
      }
      tasks.withType<KotlinJvmTest>().configureEach {
        environment("OKHTTP_ROOT", rootDir)
      }
    
      tasks.withType<JavaCompile> {
        if (name.contains("Java9")) {
          sourceCompatibility = "9"
          targetCompatibility = "9"
        } else {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Nov 01 12:18:11 UTC 2025
    - 11.5K bytes
    - Viewed (1)
  6. guava-tests/test/com/google/common/reflect/ClassPathTest.java

            ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "file:/usr/test/dep.jar")
                .toURI());
        assertEquals(
            new File("/home/build/a.jar").toURI(),
            ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "a.jar").toURI());
        assertEquals(
            new File("/home/build/x/y/z").toURI(),
            ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "x/y/z").toURI());
        assertEquals(
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

        assertEquals("FooBar{}", toTest);
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testToStringHelper_localInnerClass() {
        // Local inner classes have names ending like "Outer.$1Inner"
        class LocalInnerClass {}
        String toTest = MoreObjects.toStringHelper(new LocalInnerClass()).toString();
        assertEquals("LocalInnerClass{}", toTest);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableRangeMap.java

                return super.writeReplace();
              }
            };
        ImmutableRangeMap<K, V> outer = this;
        return new ImmutableRangeMap<K, V>(subRanges, values.subList(lowerIndex, upperIndex)) {
          @Override
          public ImmutableRangeMap<K, V> subRangeMap(Range<K> subRange) {
            if (range.isConnected(subRange)) {
              return outer.subRangeMap(subRange.intersection(range));
            } else {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            String childUrl1 = ftpInfo.toChildUrl("file.txt");
            assertEquals("ftp://example.com/parent/file.txt", childUrl1);
    
            String childUrl2 = ftpInfo.toChildUrl("subdir/file.txt");
            assertEquals("ftp://example.com/parent/subdir/file.txt", childUrl2);
    
            // Test that the method properly handles various child paths
            FtpInfo ftpInfo2 = new FtpClient.FtpInfo("ftp://example.com/test", Constants.UTF_8);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/spnego/NegTokenInitTest.java

        }
    
        @Test
        @DisplayName("Parse accepts non-zero outer tag numbers (current implementation behavior)")
        void testParseAcceptsNonZeroOuterTag() throws Exception {
            // Note: The current implementation does not validate the outer APPLICATION tag number
            // This test documents the actual behavior - any tag number is accepted
            byte[] token =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
Back to top