- Sort Score
- Num 10 results
- Language All
Results 711 - 720 of 1,121 for verify (0.61 seconds)
-
src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
ObjectInputStream ois = new ObjectInputStream(bais); DictionaryExpiredException deserialized = (DictionaryExpiredException) ois.readObject(); ois.close(); // Verify assertNotNull(deserialized); assertNull(deserialized.getMessage()); assertNull(deserialized.getCause()); } @Test public void test_stackTrace() {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/DataStoreCrawlingExceptionTest.java
assertFalse(exception.aborted()); } @Test public void test_constructorWithThrowableCause_BackwardCompatibilityWithException() { // Verify backward compatibility - Exception types still work String url = "http://example.com/test"; String message = "Crawling error"; // Test with IOException
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 16.6K bytes - Click Count (0) -
src/test/java/jcifs/pac/PacMacTest.java
verifyNfold("kerberos", 8, new byte[] { (byte) 0x6b, (byte) 0x65, (byte) 0x72, (byte) 0x62, (byte) 0x65, (byte) 0x72, (byte) 0x6f, (byte) 0x73 }); } /** * Helper method to verify n-fold expansion. */ private void verifyNfold(String input, int outlen, byte[] expected) { byte[] result = PacMac.expandNFold(input.getBytes(), outlen);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 7.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java
final JobProcessingException exception = new JobProcessingException("Stack trace test"); assertNotNull(exception.getStackTrace()); assertTrue(exception.getStackTrace().length > 0); // Verify the top of the stack trace points to this test method final StackTraceElement topElement = exception.getStackTrace()[0]; assertEquals("test_stackTrace", topElement.getMethodName());
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java
@Override protected Iterator<E> newTargetIterator() { resetCollection(); return collection.iterator(); } @Override protected void verify(List<E> elements) { expectContents(elements); } }.test(); } public void testIteratorNoSuchElementException() { Iterator<E> iterator = collection.iterator();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.1K bytes - Click Count (0) -
android/guava/src/com/google/common/escape/Escaper.java
* should throw {@link IllegalArgumentException}. * <li>{@link CharEscaper} handles Java characters independently and does not verify the input * for well formed characters. A {@code CharEscaper} should not be used in situations where * input is not guaranteed to be restricted to the Basic Multilingual Plane (BMP). * </ul> *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 15:45:16 GMT 2025 - 4.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java
suite.addTestSuite(ImmutableTypeToInstanceMapTest.class); suite.addTest( MapTestSuiteBuilder.using( new TestTypeToInstanceMapGenerator() { // Other tests will verify what real, warning-free usage looks like // but here we have to do some serious fudging @Override @SuppressWarnings({"unchecked", "rawtypes"})
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 6.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/HostnameVerifierTest.kt
""".trimIndent(), ) assertThat(verifier.verify("foo.com", session)).isFalse() assertThat(verifier.verify("a.foo.com", session)).isFalse() assertThat(verifier.verify("bar.com", session)).isFalse() assertThat(verifier.verify("a.bar.com", session)).isFalse() assertThat(verifier.verify("\u82b1\u5b50.co.jp", session)).isFalse() assertThat(verifier.verify("a.\u82b1\u5b50.co.jp", session)).isFalse() }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 40.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/UniAddressTest.java
when(addr.getHostName()).thenReturn("mycomputer.foo.com"); UniAddress ua = new UniAddress(addr); // Act: first call should set to SMBSERVER_NAME String initial = ua.firstCalledName(); // verify that subsequent call gives SMBSERVER_NAME String next = ua.nextCalledName(); // Assert assertEquals(NbtAddress.SMBSERVER_NAME, next, "nextCalledName should return SMBSERVER_NAME after first call");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/feature/FeaturesTest.java
Map<String, Object> properties = new HashMap<>(); properties.put(Constants.MAVEN_DEPLOY_BUILD_POM, "false"); assertFalse(Features.deployBuildPom(properties)); // Verify the map wasn't modified assertEquals(1, properties.size()); assertEquals("false", properties.get(Constants.MAVEN_DEPLOY_BUILD_POM)); } @Test
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jul 04 19:42:23 GMT 2025 - 7.2K bytes - Click Count (0)