- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 281 for verify (0.13 seconds)
-
src/test/java/org/codelibs/fess/cors/CorsHandlerFactoryTest.java
corsHandlerFactory.add(specificOrigin, specificHandler); corsHandlerFactory.add("*", wildcardHandler); // Execute & Verify - specific origin should return specific handler assertEquals(specificHandler, corsHandlerFactory.get(specificOrigin)); // Execute & Verify - unknown origin should return wildcard handler assertEquals(wildcardHandler, corsHandlerFactory.get("https://unknown.com")); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 9.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/VerifyTest.java
/** Unit test for {@link com.google.common.base.Verify}. */ @GwtCompatible @NullUnmarked public class VerifyTest extends TestCase { public void testVerify_simple_success() { verify(true); } public void testVerify_simple_failure() { assertThrows(VerifyException.class, () -> verify(false)); } public void testVerify_simpleMessage_success() { verify(true, "message"); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 3.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java
final InvalidQueryException exception = new InvalidQueryException(messageCode, message); // Verify that exception is serializable assertTrue(exception instanceof java.io.Serializable); } @Test public void test_longMessage() { // Setup - test with a very long message final StringBuilder longMessageBuilder = new StringBuilder(); for (int i = 0; i < 1000; i++) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.9K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/FunnelsTest.java
InOrder inOrder = inOrder(elementFunnel); inOrder.verify(elementFunnel).funnel("foo", primitiveSink); inOrder.verify(elementFunnel).funnel("bar", primitiveSink); inOrder.verify(elementFunnel).funnel("baz", primitiveSink); inOrder.verify(elementFunnel).funnel("quux", primitiveSink); } private static void assertNullsThrowException(Funnel<?> funnel) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 6.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java
// Execute final SsoMessageException exception = new SsoMessageException(messageCode, message, cause); // Verify assertNotNull(exception); assertEquals(message, exception.getMessage()); assertEquals(cause, exception.getCause()); assertEquals(messageCode, exception.getMessageCode()); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
} public void testRead_putSingleByte() throws Exception { HashingInputStream in = new HashingInputStream(hashFunction, buffer); int b = in.read(); assertEquals('y', b); verify(hasher).putByte((byte) 'y'); verify(hashFunction).newHasher(); verifyNoMoreInteractions(hashFunction, hasher); } public void testRead_putByteArray() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 5.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashingInputStreamTest.java
} public void testRead_putSingleByte() throws Exception { HashingInputStream in = new HashingInputStream(hashFunction, buffer); int b = in.read(); assertEquals('y', b); verify(hasher).putByte((byte) 'y'); verify(hashFunction).newHasher(); verifyNoMoreInteractions(hashFunction, hasher); } public void testRead_putByteArray() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 5.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/hash/HashingOutputStreamTest.java
out.write(b); verify(hashFunction).newHasher(); verify(hasher).putByte((byte) b); verifyNoMoreInteractions(hashFunction, hasher); } public void testWrite_putByteArray() throws Exception { byte[] buf = new byte[] {'y', 'a', 'm', 's'}; HashingOutputStream out = new HashingOutputStream(hashFunction, buffer); out.write(buf); verify(hashFunction).newHasher();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 3.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/ForwardingMapTest.java
// These are the methods specified by StandardEntrySet verify(map, atLeast(0)).clear(); verify(map, atLeast(0)).containsKey(any()); verify(map, atLeast(0)).get(any()); verify(map, atLeast(0)).isEmpty(); verify(map, atLeast(0)).remove(any()); verify(map, atLeast(0)).size(); verifyNoMoreInteractions(map); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/sso/SsoAuthenticatorTest.java
authenticator.resolveCredential(resolver); // Verify assertTrue(authenticator.isResolverCalled()); assertNotNull(authenticator.getLastResolver()); } @Test public void test_resolveCredential_withNullResolver() { // Execute authenticator.resolveCredential(null); // Verify assertTrue(authenticator.isResolverCalled());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.2K bytes - Click Count (1)