- Sort Score
- Result 10 results
- Languages All
Results 861 - 870 of 2,062 for test4 (0.45 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationTest.java
// Test with different server auth.setServer("otherhost"); assertFalse(auth.matches("ftp://hostname:21/test/aaa.html")); assertTrue(auth.matches("ftp://otherhost:21/test/aaa.html")); // Test with IP address auth.setServer("192.168.1.1"); assertTrue(auth.matches("ftp://192.168.1.1:21/test/aaa.html")); assertTrue(auth.matches("ftp://192.168.1.1/test/aaa.html"));
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 3.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersTest.kt
package okhttp3 import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isNotEqualTo import kotlin.test.Test import kotlin.test.assertFailsWith import okhttp3.Headers.Companion.headersOf import okhttp3.Headers.Companion.toHeaders class HeadersTest { @Test fun ofTrims() { val headers = headersOf("\t User-Agent \n", " \r OkHttp ") assertThat(headers.name(0)).isEqualTo("User-Agent")
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 8.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java
} @Test @DisplayName("Test readSetupWireFormat returns zero") void testReadSetupWireFormat() { notifyChange = new NtTransNotifyChange(mockConfig, 0x1234, FILE_NOTIFY_CHANGE_FILE_NAME, false); byte[] buffer = new byte[100]; int result = notifyChange.readSetupWireFormat(buffer, 10, 50); assertEquals(0, result); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/PropertiesUtilTest.java
/** * Test method for * {@link org.codelibs.core.io.PropertiesUtil#load(java.util.Properties, java.io.InputStream)} * . */ @Test public void testLoadPropertiesInputStream() { final InputStream inputStream = ResourceUtil.getResourceAsStream("org/codelibs/core/io/test.properties"); final Properties properties = new Properties();
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 9.6K 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/core/convert/DateConversionUtilTest.java
* @throws Exception */ @Test public void testToDate_Null() throws Exception { assertThat(toDate(null), is(nullValue())); } /** * @throws Exception */ @Test public void testToDate_EmptyString() throws Exception { assertThat(toDate(""), is(nullValue())); } /** * @throws Exception */ @Test
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 9.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/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) -
guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
import java.util.SortedSet; import java.util.TreeSet; import java.util.function.BiPredicate; import java.util.stream.Collector; import junit.framework.Test; import junit.framework.TestSuite; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Unit tests for {@link ImmutableSortedSet}. * * @author Jared Levy */ @GwtCompatible @NullMarked
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.7K 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)