- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 3,275 for Test (0.02 sec)
-
src/test/java/jcifs/util/ByteEncodableTest.java
} @Test void testEncodeWithOffset() { // Test encoding with a destination offset byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 }; ByteEncodable encodable = new ByteEncodable(data, 0, 3); byte[] dest = new byte[5]; // {0,0,0,0,0} dest[0] = (byte) 0xFF; // Add some initial data to dest
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java
// Expected in test environment due to OpenSearch XContent setup assertTrue(e.getCause() instanceof IOException); } } public void test_scroll_callbackHandling() { // This test verifies the scroll method exists and handles callbacks properly // Note: In a real test environment, this would require proper SearchEngineClient setup
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/CrawlerTest.java
} // Test destroyContainer private static method via reflection public void test_destroyContainer() throws Exception { // Test destroyContainer method - skip this test as it conflicts with container management // The test framework manages the container lifecycle assertTrue(true); } // Test process method with different options
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 30.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/CrawlJobTest.java
// Test with null result = crawlJob.webConfigIds(null); assertNull(crawlJob.webConfigIds); assertSame(crawlJob, result); // Test with empty array result = crawlJob.webConfigIds(new String[0]); assertEquals(0, crawlJob.webConfigIds.length); assertSame(crawlJob, result); } // Test fileConfigIds setter
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 25K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlTest.java
assertEquals(Method.DELETE, Curl.delete("http://test.com").method()); assertEquals(Method.HEAD, Curl.head("http://test.com").method()); assertEquals(Method.OPTIONS, Curl.options("http://test.com").method()); assertEquals(Method.CONNECT, Curl.connect("http://test.com").method()); } @Test public void test_FactoryMethodsWithDifferentUrls() { // ## Test factory methods with various URL formats ##
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/ThumbnailGeneratorTest.java
} super.tearDown(); } public void test_getName() { // Test getting the generator name assertEquals("TestGenerator", thumbnailGenerator.getName()); } public void test_generate_withValidThumbnailId() { // Test successful thumbnail generation String thumbnailId = "test-thumbnail-001"; assertTrue(thumbnailGenerator.generate(thumbnailId, tempOutputFile));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; /** * Test class for CreateContextRequest interface */ @DisplayName("CreateContextRequest Tests") class CreateContextRequestTest { /** * Test implementation of CreateContextRequest for testing purposes */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java
} /** * Test the reset method. */ @Test void testReset() { String lastName = "LAST_NAME"; netServerEnum2.reset(0, lastName); assertEquals(lastName, netServerEnum2.lastName); } /** * Test the writeSetupWireFormat method. */ @Test void testWriteSetupWireFormat() { byte[] dst = new byte[10];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/ResourceUtilTest.java
value = "${\\$}"; assertEquals(value, ResourceUtil.resolve(value)); System.setProperty("test.dir", "c:\\test1\\test2"); value = "${test.dir}"; assertEquals("c:\\test1\\test2", ResourceUtil.resolve(value)); } public void test_getAppType() { // Test default empty when no env var is set String originalAppType = System.getenv("FESS_APP_TYPE");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java
} } public void test_addCondition() { // Test adding conditions generator = new TestThumbnailGenerator(); // Test adding single condition generator.addCondition("field1", "value1"); // Test adding multiple conditions for same field generator.addCondition("field1", "value2"); // Test adding conditions for different fields
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.1K bytes - Viewed (0)