- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 1,141 for assertTrue (0.05 sec)
-
src/test/java/jcifs/SmbConnectionTest.java
assertTrue(config.isUseUnicode(), "Unicode should be enabled"); assertTrue(config.isUseBatching(), "Batching should be enabled"); // When both are enabled, batch limits should be available int limit = config.getBatchLimit("TreeConnectAndX.QueryInformation"); assertTrue(limit >= 0, "Batch limit should be non-negative when Unicode and batching enabled");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JodExtractorTest.java
ExtractData extractData = jodExtractor.getText(in, params); String content = extractData.getContent(); CloseableUtil.closeQuietly(in); logger.info(content); assertTrue(content.contains("ใในใ")); } public void test_getText_ooow_as() { InputStream in = ResourceUtil.getResourceAsStream("extractor/ooo/test_as.odt");
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/QueryContextTest.java
assertEquals(2, highlightedSet.size()); assertTrue(highlightedSet.contains("text1")); assertTrue(highlightedSet.contains("text2")); } // Test roleQueryEnabled and skipRoleQuery public void test_roleQuery() { queryContext = new QueryContext("test", false); // Default should be enabled assertTrue(queryContext.roleQueryEnabled()); // Skip role query
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java
FessUserNotFoundException exception = new FessUserNotFoundException("testuser"); assertTrue(exception instanceof FessSystemException); assertTrue(exception instanceof RuntimeException); assertTrue(exception instanceof Exception); assertTrue(exception instanceof Throwable); } public void test_serialVersionUID() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserTimeZoneProcessProviderTest.java
// Verify the string format assertNotNull(result); assertTrue(result.contains("FessUserTimeZoneProcessProvider")); assertTrue(result.contains("useTimeZoneHandling=false")); assertTrue(result.contains("acceptCookieTimeZone=false")); assertTrue(result.contains("@")); // Verify that hashCode is included in hex formatRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java
fail("Should have thrown InvalidQueryException"); } catch (InvalidQueryException e) { // Expected exception assertTrue(e.getMessage().contains("Unknown q:")); assertTrue(e.getMessage().contains("TermQuery")); } } public void test_execute_withNullQuery() { // Test that execute handles null query
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcErrorTest.java
assertTrue(DcerpcError.DCERPC_FAULT_OTHER >= 0 && DcerpcError.DCERPC_FAULT_OTHER <= 0x0000FFFF, "DCERPC_FAULT_OTHER should be in standard range"); assertTrue(DcerpcError.DCERPC_FAULT_ACCESS_DENIED >= 0 && DcerpcError.DCERPC_FAULT_ACCESS_DENIED <= 0x0000FFFF, "DCERPC_FAULT_ACCESS_DENIED should be in standard range");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/ModifierUtilTest.java
assertTrue(ModifierUtil.isPublicStaticFinalField(f)); final Method m = Hoge.class.getDeclaredMethod("hoge", new Class[] {}); assertTrue(ModifierUtil.isPublic(m)); } /** * @throws Exception */ public void testIsInstanceField() throws Exception { Field f = Hoge.class.getDeclaredField("aaa"); assertTrue(ModifierUtil.isInstanceField(f));
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/toolchain/RequirementMatcherFactoryTest.java
assertFalse(matcher.matches("1.5")); assertTrue(matcher.matches("1.5.2")); assertFalse(matcher.matches("[1.4,1.5)")); assertFalse(matcher.matches("[1.5,1.5.2)")); assertFalse(matcher.matches("(1.5.2,1.6)")); assertTrue(matcher.matches("(1.4,1.5.2]")); assertTrue(matcher.matches("(1.5,)")); assertEquals("1.5.2", matcher.toString());
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Tue Feb 11 12:33:57 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
CharMappingItem item4 = new CharMappingItem(4L, inputs1, "different"); // Test reflexivity assertTrue(item1.equals(item1)); // Test symmetry and arrays with different order assertTrue(item1.equals(item2)); assertTrue(item2.equals(item1)); // Test with different inputs assertFalse(item1.equals(item3));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0)