- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 841 for instanceof (0.04 sec)
-
src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java
} catch (Exception e) { // Expected - utility classes should have private constructors assertTrue(e instanceof IllegalAccessException || e.getCause() instanceof IllegalAccessException || e instanceof InstantiationException); } } public void test_constants_and_static_methods() { // Verify all public static methods exist
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 13.6K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
assertNotNull(connection2, "Second connection should not be null."); assertTrue(connection1 instanceof NtlmHttpURLConnection, "First connection should be wrapped."); assertTrue(connection2 instanceof NtlmHttpURLConnection, "Second connection should be wrapped."); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java
QueryBuilder builder = queryProcessor.execute(context, prefixQuery, 1.0f); assertNotNull(builder); assertTrue(builder instanceof DefaultQueryBuilder); // Query was processed successfully } public void test_convertPrefixQuery_withDefaultField_dismax() throws Exception {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java
return oldDocList; } @Override public long deleteByQuery(final String index, final QueryBuilder queryBuilder) { if (queryBuilder instanceof final TermsQueryBuilder termsQueryBuilder) { termsQueryBuilder.values().stream().forEach(o -> deletedDocIdList.add(o.toString())); } return deletedDocIdList.size();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 29.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java
assertTrue(fullSizeInfo instanceof FileSystemInformation); // All should be AllocInfo assertTrue(smbInfo instanceof AllocInfo); assertTrue(sizeInfo instanceof AllocInfo); assertTrue(fullSizeInfo instanceof AllocInfo); } } @Nested @DisplayName("Performance and Boundary Tests") class PerformanceTests { @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java
InvalidAccessTokenException exception = new InvalidAccessTokenException(type, message); assertTrue(exception instanceof FessSystemException); assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } public void test_throwAndCatch() { // Test throwing and catching the exception
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java
assertNotNull(result1); assertNotNull(result2); // Both results should be of the same type assertTrue(result1 instanceof MatchAllQueryBuilder); assertTrue(result2 instanceof MatchAllQueryBuilder); // Both should generate the same JSON String json1 = result1.toString().replaceAll("[\\s\\n]", "");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.7K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
assertTrue(pairs.get(0) instanceof AvFlags, "First pair should be AvFlags instance"); // Check second pair (AvTimestamp) assertEquals(AvPair.MsvAvTimestamp, pairs.get(1).getType(), "Second pair should be MsvAvTimestamp"); assertTrue(pairs.get(1) instanceof AvTimestamp, "Second pair should be AvTimestamp instance"); // Check third pair (AvTargetName)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
TransportException exception = new TransportException("Test"); // Verify the exception hierarchy assertTrue(exception instanceof IOException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } @Test @DisplayName("Should preserve message through exception chain") void testMessagePreservation() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeResolver.java
checkNotNull(type); if (type instanceof TypeVariable) { return typeTable.resolve((TypeVariable<?>) type); } else if (type instanceof ParameterizedType) { return resolveParameterizedType((ParameterizedType) type); } else if (type instanceof GenericArrayType) { return resolveGenericArrayType((GenericArrayType) type); } else if (type instanceof WildcardType) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0)