Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for test_getType (0.17 sec)

  1. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

                stopwordsFile.reload(null, is);
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
    
        // Test basic getters
        public void test_getType() {
            assertEquals("stopwords", stopwordsFile.getType());
        }
    
        public void test_getPath() {
            assertEquals(testFile.getAbsolutePath(), stopwordsFile.getPath());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            return "# This is a comment\n" + "test1\n" + "test2\n" + "test3\n" + "\n" + // empty line
                    "test\\\\4\n" + // escaped backslash
                    "test5\n";
        }
    
        public void test_getType() {
            assertEquals("protwords", protwordsFile.getType());
        }
    
        public void test_getPath() {
            assertEquals(testFile.getAbsolutePath(), protwordsFile.getPath());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/mapping/CharMappingFileTest.java

            if (testFile != null && testFile.exists()) {
                testFile.delete();
            }
            super.tearDown();
        }
    
        // Test getType method
        public void test_getType() {
            assertEquals("mapping", charMappingFile.getType());
        }
    
        // Test getPath method
        public void test_getPath() {
            assertEquals(testFile.getAbsolutePath(), charMappingFile.getPath());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/FileTypeHelperTest.java

            fileTypeHelper.setDefaultValue("");
            assertEquals("", fileTypeHelper.getDefaultValue());
            assertEquals("", fileTypeHelper.get("non/existent"));
        }
    
        public void test_getTypes() {
            String[] types = fileTypeHelper.getTypes();
            assertNotNull(types);
            assertEquals(0, types.length);
    
            fileTypeHelper.add("application/pdf", "pdf");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/net/MediaTypeTest.java

      public void testCreateVideoType() {
        MediaType newType = MediaType.createVideoType("yams");
        assertEquals("video", newType.type());
        assertEquals("yams", newType.subtype());
      }
    
      public void testGetType() {
        assertEquals("text", MediaType.parse("text/plain").type());
        assertEquals("application", MediaType.parse("application/atom+xml; charset=utf-8").type());
      }
    
      public void testGetSubtype() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      public void testGetClass() {
        TypeToken<List> token = TypeToken.of(List.class);
        assertEquals(new TypeToken<List>() {}, token);
      }
    
      public void testGetType() {
        TypeToken<?> t = TypeToken.of(StringList.class.getGenericInterfaces()[0]);
        assertEquals(new TypeToken<List<String>>() {}, t);
      }
    
      public void testNonStaticLocalClass() {
        class Local<T> {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      public void testGetClass() {
        TypeToken<List> token = TypeToken.of(List.class);
        assertEquals(new TypeToken<List>() {}, token);
      }
    
      public void testGetType() {
        TypeToken<?> t = TypeToken.of(StringList.class.getGenericInterfaces()[0]);
        assertEquals(new TypeToken<List<String>>() {}, t);
      }
    
      public void testNonStaticLocalClass() {
        class Local<T> {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
Back to top