- Sort Score
- Result 10 results
- Languages All
Results 551 - 560 of 1,603 for best (0.03 sec)
-
src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.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 */ @TestRegistered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Fri Jun 20 13:40:57 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/audit/SecurityAuditLoggerTest.java
} @Test @DisplayName("Test singleton instance") void testSingletonInstance() { SecurityAuditLogger logger1 = SecurityAuditLogger.getInstance(); SecurityAuditLogger logger2 = SecurityAuditLogger.getInstance(); assertSame(logger1, logger2, "SecurityAuditLogger should be a singleton"); } @Test @DisplayName("Test log authentication success")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java
} // Test getScriptEngine with uppercase query public void test_getScriptEngine_uppercaseQuery() { TestScriptEngine engine = new TestScriptEngine(); scriptEngineFactory.add("test", engine); ScriptEngine retrieved = scriptEngineFactory.getScriptEngine("TEST"); assertNotNull(retrieved); assertEquals(engine, retrieved); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt
} @Test fun setInstant() { val expected = Instant.ofEpochMilli(1000L) val headers = Headers .Builder() .add("Test-Instant", Instant.ofEpochMilli(0L)) .set("Test-Instant", expected) .build() assertThat(headers["Test-Instant"]).isEqualTo("Thu, 01 Jan 1970 00:00:01 GMT") assertThat(headers.getInstant("Test-Instant")).isEqualTo(expected) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java
} // Test append method with String value public void test_append_stringValue() { StringBuilder buf = new StringBuilder(); Supplier<Object> supplier = () -> "test string"; monitorTarget.append(buf, "stringKey", supplier); assertEquals("\"stringKey\":\"test string\"", buf.toString()); } // Test append method with String containing special charactersRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/smb/compression/CompressionNegotiateContextTest.java
} @Test @DisplayName("Test compression context type") public void testContextType() { assertEquals(CompressionNegotiateContext.NEGO_CTX_COMPRESSION_TYPE, context.getContextType()); } @Test @DisplayName("Test supported algorithms") public void testSupportedAlgorithms() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java
@Test public void outEdges_oneEdge() { addEdge(N1, N2, E12); assertThat(network.outEdges(N2)).containsExactly(E12); assertThat(network.outEdges(N1)).containsExactly(E12); } @Test public void predecessors_oneEdge() { addEdge(N1, N2, E12); assertThat(network.predecessors(N2)).containsExactly(N1); assertThat(network.predecessors(N1)).containsExactly(N2); } @Test
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 18.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java
} } @Override @Test public void nodes_checkReturnedSetMutability() { assume().that(graphIsMutable()).isTrue(); Set<Integer> nodes = graph.nodes(); assertThrows(UnsupportedOperationException.class, () -> nodes.add(N2)); addNode(N1); assertThat(graph.nodes()).containsExactlyElementsIn(nodes); } @Override @Test public void adjacentNodes_checkReturnedSetMutability() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 12.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java
assertEquals(rootCause, exception.getCause().getCause()); } public void test_exceptionSerialization() { // Test that the exception is serializable String message = "Serialization test"; Exception cause = new Exception("Test cause"); SearchQueryException exception = new SearchQueryException(message, cause); // Verify serialVersionUID is properly set
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacMacTest.java
import javax.security.auth.kerberos.KerberosPrincipal; import org.junit.jupiter.api.Test; /** * Tests for the PacMac class. */ class PacMacTest { private static final byte[] TEST_DATA = "test data".getBytes(); private static final KerberosPrincipal TEST_PRINCIPAL = new KerberosPrincipal("test@REALM"); /** * Test method forRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0)