Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getProtocols (0.06 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

        }
    
        /**
         * Test that the gcs protocol is correctly recognized.
         */
        public void test_protocol() throws Exception {
            URL url = new URL("gcs://bucket/object");
            assertEquals("gcs", url.getProtocol());
        }
    
        /**
         * Test URL parsing with bucket and object path.
         */
        public void test_urlParsing_bucketAndObject() throws Exception {
            URL url = new URL("gcs://mybucket/path/to/object.txt");
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

          assertThat(urls.get(0).getProtocol()).isEqualTo("file");
          assertThat(urls.get(0).getAuthority()).isNull();
          assertThat(urls.get(0).getPath()).endsWith("/relative/path/to/some.jar");
    
          assertThat(urls.get(1)).isEqualTo(new URL("file:///absolute/path/to/some.jar"));
    
          assertThat(urls.get(2).getProtocol()).isEqualTo("file");
          assertThat(urls.get(2).getAuthority()).isNull();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 23K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/ClassPathTest.java

          assertThat(urls.get(0).getProtocol()).isEqualTo("file");
          assertThat(urls.get(0).getAuthority()).isNull();
          assertThat(urls.get(0).getPath()).endsWith("/relative/path/to/some.jar");
    
          assertThat(urls.get(1)).isEqualTo(new URL("file:///absolute/path/to/some.jar"));
    
          assertThat(urls.get(2).getProtocol()).isEqualTo("file");
          assertThat(urls.get(2).getAuthority()).isNull();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

        /**
         * Test that the storage protocol is correctly recognized.
         */
        public void test_protocol() throws Exception {
            URL url = new URL("storage://bucket/object");
            assertEquals("storage", url.getProtocol());
        }
    
        /**
         * Test URL parsing with bucket and object path.
         */
        public void test_urlParsing_bucketAndObject() throws Exception {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
Back to top