- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 139 for getByte (0.41 sec)
-
src/test/java/org/codelibs/fess/helper/PluginHelperTest.java
assertEquals(ArtifactType.DATA_STORE, ArtifactType.getType("fess-ds-test")); assertEquals(ArtifactType.THEME, ArtifactType.getType("fess-theme-test")); assertEquals(ArtifactType.INGEST, ArtifactType.getType("fess-ingest-test")); assertEquals(ArtifactType.SCRIPT, ArtifactType.getType("fess-script-test")); assertEquals(ArtifactType.WEBAPP, ArtifactType.getType("fess-webapp-test"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SambaHelperTest.java
// Setup system properties for DI container File file = File.createTempFile("test", ".properties"); file.deleteOnExit(); FileUtil.writeBytes(file.getAbsolutePath(), "test.property=test".getBytes("UTF-8")); DynamicProperties systemProps = new DynamicProperties(file); ComponentUtil.register(systemProps, "systemProperties"); sambaHelper = new SambaHelper(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.7K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
android/guava-tests/test/com/google/common/hash/Fingerprint2011Test.java
assertThat(fingerprint(stringA.getBytes(UTF_8))) .isNotEqualTo(fingerprint(stringB.getBytes(UTF_8))); // ISO 8859-1 only has 0-255 (ubyte) representation so throws away UTF-8 characters // greater than 127 (ie with their top bit set). // Don't attempt to do this in real code. assertEquals( fingerprint(stringA.getBytes(ISO_8859_1)), fingerprint(stringB.getBytes(ISO_8859_1))); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java
public class InputStreamThreadTest extends UnitFessTestCase { public void test_constructor() { String input = "test line"; InputStream is = new ByteArrayInputStream(input.getBytes(StandardCharsets.UTF_8)); InputStreamThread thread = new InputStreamThread(is, StandardCharsets.UTF_8, 10, null); assertEquals("InputStreamThread", thread.getName()); assertNotNull(thread);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.7K bytes - Viewed (0) -
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)