- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,082 for Shouldn (0.03 sec)
-
src/test/java/org/codelibs/fess/util/WebApiUtilTest.java
// 2. Should have exactly one private constructor Constructor<?>[] constructors = WebApiUtil.class.getDeclaredConstructors(); assertEquals("Should have exactly one constructor", 1, constructors.length); assertTrue("Constructor should be private", java.lang.reflect.Modifier.isPrivate(constructors[0].getModifiers())); // 3. All public methods should be static
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 17.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java
// Test List interface (should use get(0) for performance) List<BsUser> list = Arrays.asList(entity1, entity2); RenderDataUtil.register(data, "list", list); Object result = data.getDataMap().get("list"); assertNotNull(result); assertTrue(result instanceof List); // Test Set interface (should use iterator().next())
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRetainAllTester.java
} private void expectReturnsTrue(Target target) { String message = Platform.format("retainAll(%s) should return true", target); assertTrue(message, collection.retainAll(target.toRetain)); } private void expectReturnsFalse(Target target) { String message = Platform.format("retainAll(%s) should return false", target); assertFalse(message, collection.retainAll(target.toRetain)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java
TestFessSystemException exception = new TestFessSystemException(message, true, true); assertEquals(message, exception.getMessage()); assertNull(exception.getCause()); // Stack trace should be populated assertTrue(exception.getStackTrace().length > 0); } public void test_constructor_withNonWritableStackTrace() { // Test protected constructor with non-writable stack trace
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/JobHelperTest.java
} public void test_register_with_null_scheduledJob() { try { jobHelper.register((ScheduledJob) null); fail("Should throw ScheduledJobException"); } catch (ScheduledJobException e) { assertEquals("No job.", e.getMessage()); } catch (Exception e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 6.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt
*/ fun retry(): Plan? } /** * What to do once a plan has executed. * * If [nextPlan] is not-null, another attempt should be made by following it. If [throwable] is * non-null, it should be reported to the user should all further attempts fail. * * The two values are independent: results can contain both (recoverable error), neither
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java
fail("Should throw IllegalArgumentException for null engine"); } catch (IllegalArgumentException e) { assertEquals("name or scriptEngine is null.", e.getMessage()); } } // Test add method with both null parameters public void test_add_bothNull() { try { scriptEngineFactory.add(null, null);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java
} }; SystemHelper systemHelper = new SystemHelper() { @Override public boolean isChangedClusterState(int status) { // YELLOW status is 0, should not be changed return false; } @Override public String getHostname() { return "test-hostname"; } };
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/BooleanQueryCommandTest.java
} // Test execute method with non-BooleanQuery (should throw exception) public void test_execute_withNonBooleanQuery() { TermQuery termQuery = new TermQuery(new Term("field", "value")); QueryContext context = new QueryContext("test", false); try { booleanQueryCommand.execute(context, termQuery, 1.0f); fail("Should throw InvalidQueryException");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 14.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapPutTester.java
public void testPut_supportedPresent() { assertEquals("put(present, value) should return the old value", v0(), getMap().put(k0(), v3())); expectReplacement(entry(k0(), v3())); } @MapFeature.Require(SUPPORTS_PUT) public void testPut_supportedNotPresent() { assertNull("put(notPresent, value) should return null", put(e3())); expectAdded(e3()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.1K bytes - Viewed (0)