- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 2,436 for instanceOf (0.08 seconds)
-
src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java
// Test that DictionaryException is instance of FessSystemException DictionaryException exception = new DictionaryException("Test"); assertTrue(exception instanceof org.codelibs.fess.exception.FessSystemException); assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 6.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/suggest/index/writer/SuggestWriterResultTest.java
assertEquals(4, result.getFailures().size()); assertTrue(result.getFailures().get(0) instanceof Exception); assertTrue(result.getFailures().get(1) instanceof RuntimeException); assertTrue(result.getFailures().get(2) instanceof IllegalStateException); assertTrue(result.getFailures().get(3) instanceof NullPointerException); }Created: Fri Apr 17 09:08:13 GMT 2026 - Last Modified: Thu Nov 13 00:40:54 GMT 2025 - 4.3K bytes - Click Count (0) -
src/test/java/jcifs/context/AbstractCIFSContextTest.java
assertNotNull(wrappedContext); assertTrue(wrappedContext instanceof CIFSContextCredentialWrapper); // Verify that the new context uses NtlmPasswordAuthenticator (anonymous) assertTrue(wrappedContext.getCredentials() instanceof NtlmPasswordAuthenticator); assertTrue(wrappedContext.getCredentials().isAnonymous()); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingChangesRule.java
removeAnnotationChanges(member); if ((member instanceof JApiClass) && member.getCompatibilityChanges().isEmpty()) { // A member of the class breaks binary compatibility. // That will be handled when the member is passed to `maybeViolation`. return null; } if (member instanceof JApiImplementedInterface) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 3.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java
assertTrue(descendingKeySet instanceof SynchronizedNavigableSet); assertThat(((SynchronizedNavigableSet<String>) descendingKeySet).mutex).isSameInstanceAs(mutex); } public void testDescendingMap() { NavigableMap<String, Integer> map = create(); NavigableMap<String, Integer> descendingMap = map.descendingMap(); assertTrue(descendingMap instanceof SynchronizedNavigableMap);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 12.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ArrayListMultimapTest.java
public void testGetRandomAccess() { Multimap<String, Integer> multimap = create(); multimap.put("foo", 1); multimap.put("foo", 3); assertTrue(multimap.get("foo") instanceof RandomAccess); assertTrue(multimap.get("bar") instanceof RandomAccess); } /** Confirm that removeAll() returns a List implementing RandomAccess. */ public void testRemoveAllRandomAccess() { Multimap<String, Integer> multimap = create();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.6K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbEnumerationUtil.java
} } private static DosFileFilter unwrapDOSFilter(final ResourceFilter ff) { if (ff instanceof ResourceFilterWrapper) { final SmbFileFilter sff = ((ResourceFilterWrapper) ff).getFileFilter(); if (sff instanceof DosFileFilter) { return (DosFileFilter) sff; } } return null; }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
} @Test public void test_instanceOf() { // Test that exception is instance of RuntimeException DictionaryExpiredException exception = new DictionaryExpiredException(); assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } @Test public void test_throwAndCatch() {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/ThemeExceptionTest.java
ThemeException exception = new ThemeException("Test"); assertTrue(exception instanceof FessSystemException); assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } @Test public void test_stackTrace() { // Test that stack trace is properly captured
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 8.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java
} private boolean isMetadataOperation(CommonServerMessageBlock message) { return message instanceof Smb2QueryInfoRequest || message instanceof Smb2SetInfoRequest || message instanceof Smb2QueryDirectoryRequest; } /** * Exception thrown when no healthy channels are available */ public static class NoAvailableChannelException extends RuntimeException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.2K bytes - Click Count (0)