- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for mellom (0.04 sec)
-
src/test/java/org/codelibs/core/crypto/CachedCipherTest.java
public class CachedCipherTest { @Test public void testEncryptDecryptBytes() { final CachedCipher cipher = new CachedCipher(); cipher.setKey("mySecretKey"); final byte[] original = "Hello World".getBytes(); final byte[] encrypted = cipher.encrypt(original); final byte[] decrypted = cipher.decrypt(encrypted); assertThat(encrypted, is(not(original)));Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
public void tearDown() { if (tempFile != null && tempFile.exists()) { tempFile.delete(); } } @Test public void testMemoryBasedCacheConstructor() { byte[] data = "Hello, World!".getBytes(); ContentCache cache = new ContentCache(data); assertNotNull(cache); } @Test public void testMemoryBasedCacheConstructorWithNull() { try {
Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
} @Test public void testGetContentAsStringWithCache() throws IOException { CurlResponse response = new CurlResponse(); response.setEncoding("UTF-8"); String testContent = "Hello, World!"; byte[] data = testContent.getBytes("UTF-8"); ContentCache cache = new ContentCache(data); response.setContentCache(cache); String content = response.getContentAsString();Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 12.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/IgnoreCloseInputStreamTest.java
byte[] data = "Hello World".getBytes(); InputStream underlyingStream = new ByteArrayInputStream(data); IgnoreCloseInputStream stream = new IgnoreCloseInputStream(underlyingStream); byte[] buffer = new byte[5]; int bytesRead = stream.read(buffer); assertEquals(5, bytesRead); assertEquals("Hello", new String(buffer)); }
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 22 13:28:22 UTC 2025 - 6.6K bytes - Viewed (0) -
fess-crawler/src/test/resources/extractor/markdown/test.md
- Lists and other formatting ### Code Examples Here is some inline `code` and a code block: ```java public class Example { public static void main(String[] args) { System.out.println("Hello, World!"); } } ``` ## Links Check out [Fess Crawler](https://github.com/codelibs/fess-crawler) for more information. ## ConclusionRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Nov 23 03:46:53 UTC 2025 - 767 bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorEnhancedTest.java
} /** * Test extraction with various Unicode characters. */ public void test_getText_unicodeContent_extractsCorrectly() { final String unicodeContent = "Hello 世界 مرحبا мир שלום"; final InputStream in = new ByteArrayInputStream(unicodeContent.getBytes()); final ExtractData result = textExtractor.getText(in, null); assertNotNull(result);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
* Test encode/decode round trip with various data * * @throws Exception */ public void testEncodeDecode_RoundTrip() throws Exception { // Test with ASCII text final String text = "Hello, World!"; final byte[] textBytes = text.getBytes("UTF-8"); final String encoded = Base64Util.encode(textBytes); final byte[] decoded = Base64Util.decode(encoded);Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 6K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterServiceTest.java
settingsBuilder.put("http.cors.enabled", true); settingsBuilder.put("discovery.type", "single-node"); }).build(newConfigs().clusterName(clusterName).numOfNode(1)); // wait for yellow status runner.ensureYellow(); System.setProperty(FesenClient.HTTP_ADDRESS, "localhost:" + runner.node().settings().get("http.port", "9201")); super.setUp(); } @Override
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
@Test public void testEncodingSpecialCharacters() { CurlRequest request = new CurlRequest(Method.GET, "https://example.com"); // Test encoding of special characters request.param("query", "hello world & more"); request.param("special", "ñ€±"); // Should not throw exception assertNotNull(request); } @Test public void testUnsupportedEncodingThrowsException() {Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 20.5K bytes - Viewed (0) -
fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueServiceTest.java
settingsBuilder.put("http.cors.enabled", true); settingsBuilder.put("discovery.type", "single-node"); }).build(newConfigs().clusterName(clusterName).numOfNode(1)); // wait for yellow status runner.ensureYellow(); System.setProperty(FesenClient.HTTP_ADDRESS, "localhost:" + runner.node().settings().get("http.port", "9201")); super.setUp(); } @Override
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:40:57 UTC 2025 - 14.3K bytes - Viewed (0)