- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,674 for 2test (0.02 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt
class CookieTest { val url = "https://example.com/".toHttpUrl() @Test fun simpleCookie() { val cookie = parse(url, "SID=31d4d96e407aad42") assertThat(cookie.toString()).isEqualTo("SID=31d4d96e407aad42; path=/") } @Test fun noEqualsSign() { assertThat(parse(url, "foo")).isNull() assertThat(parse(url, "foo; Path=/")).isNull() } @Test fun emptyName() { assertThat(parse(url, "=b")).isNull()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 24.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java
} } assertTrue(foundTestMethod); } public void test_serialization() { // Test that the exception has serialVersionUID // This test verifies the exception is serializable String message = "Serialization test"; UnsupportedSearchException exception = new UnsupportedSearchException(message); // Verify basic properties are preserved
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java
} public void test_hashCode() { // Test hashCode method StopwordsItem item1 = new StopwordsItem(1, "test"); StopwordsItem item2 = new StopwordsItem(1, "test"); StopwordsItem item3 = new StopwordsItem(2, "test"); StopwordsItem item4 = new StopwordsItem(1, "different"); // Same input should have same hashCode regardless of id
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlResponseTest.java
import org.codelibs.curl.io.ContentCache; import org.junit.Test; /** * Test class for CurlResponse. * Tests response handling, header operations, and content access. */ public class CurlResponseTest { @Test public void testConstructor() { CurlResponse response = new CurlResponse(); assertNotNull(response); } @Test public void testHttpStatusCode() {
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java
// Test that the exception has serialVersionUID defined JobNotFoundException exception = new JobNotFoundException("test"); // Simply verify the exception can be created without issues // The serialVersionUID is compile-time checked assertNotNull(exception); } public void test_stackTrace() { // Test that stack trace is properly captured
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java
securityResourceProvider = new FessSecurityResourceProvider(invertibleCryptographer, oneWayCryptographer); } // Test constructor public void test_constructor_withValidParameters() { // Test normal construction assertNotNull(securityResourceProvider); // Verify fields are set correctly
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.8K 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/thumbnail/ThumbnailManagerTest.java
} // Test process with available generator public void test_process_availableGenerator() throws IOException { // Skip this test as it requires container components // The process method needs actual ThumbnailQueueBhv and other components assertTrue(true); } // Test process with unavailable generator
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.7K 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)