Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for getByte (1.19 sec)

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

                fos.write(getTestContent().getBytes(StandardCharsets.UTF_8));
            }
    
            // Create a temporary project.properties file for SystemHelper
            File propFile = File.createTempFile("project", ".properties");
            propFile.deleteOnExit();
            try (FileOutputStream fos = new FileOutputStream(propFile)) {
                fos.write("fess.version=1.0.0".getBytes());
            }
    
            // Initialize SystemHelper
    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/main/java/org/codelibs/fess/helper/PluginHelper.java

            }
    
            /**
             * Gets the type of the artifact based on its name.
             *
             * @return the artifact type
             */
            public ArtifactType getType() {
                return ArtifactType.getType(name);
            }
    
            /**
             * Returns a string representation of the artifact.
             *
             * @return a string in the format "name:version"
             */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

                fos.write(getTestContent().getBytes(StandardCharsets.UTF_8));
            }
    
            // Create a temporary project.properties file for SystemHelper
            File propFile = File.createTempFile("project", ".properties");
            propFile.deleteOnExit();
            try (FileOutputStream fos = new FileOutputStream(propFile)) {
                fos.write("fess.version=1.0.0".getBytes());
            }
    
            // Initialize SystemHelper
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  4. 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)
  5. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertTrue(
            from.getType() + " is expected to be assignable to " + to.getType(),
            to.isSupertypeOf(from));
        assertTrue(
            to.getType() + " is expected to be a supertype of " + from.getType(),
            to.isSupertypeOf(from));
        assertTrue(
            from.getType() + " is expected to be a subtype of " + to.getType(), from.isSubtypeOf(to));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java

            assertEquals("  Bearer Token  ", exception.getType());
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_getType_immutability() {
            // Test that getType returns the same value consistently
            String type = "ApiKey";
            String message = "API key expired";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertTrue(
            from.getType() + " is expected to be assignable to " + to.getType(),
            to.isSupertypeOf(from));
        assertTrue(
            to.getType() + " is expected to be a supertype of " + from.getType(),
            to.isSupertypeOf(from));
        assertTrue(
            from.getType() + " is expected to be a subtype of " + to.getType(), from.isSubtypeOf(to));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/action/FessHtmlPathTest.java

            for (Field field : fields) {
                int modifiers = field.getModifiers();
                if (Modifier.isPublic(modifiers) && Modifier.isStatic(modifiers) && Modifier.isFinal(modifiers)) {
                    if (field.getType().equals(HtmlNext.class)) {
                        Object value = field.get(null);
                        assertNotNull("Field " + field.getName() + " should not be null", value);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/action/FessLabelsTest.java

            for (Field field : fields) {
                if (Modifier.isStatic(field.getModifiers()) && Modifier.isFinal(field.getModifiers()) && Modifier.isPublic(field.getModifiers())
                        && field.getType() == String.class && !field.getName().equals("serialVersionUID")) {
    
                    // Check field name follows convention
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/base/CharsetsTest.java

      @GwtIncompatible // Non-UTF-8 Charset
      public void testWhyUsAsciiIsDangerous() {
        byte[] b1 = "朝日新聞".getBytes(Charsets.US_ASCII);
        byte[] b2 = "聞朝日新".getBytes(Charsets.US_ASCII);
        byte[] b3 = "????".getBytes(Charsets.US_ASCII);
        byte[] b4 = "ニュース".getBytes(Charsets.US_ASCII);
        byte[] b5 = "スューー".getBytes(Charsets.US_ASCII);
        // Assert they are all equal (using the transitive property)
        assertTrue(Arrays.equals(b1, b2));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top