- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for testLoad (0.04 sec)
-
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java
public void test_constructor_withIdZero() { // Test constructor with id = 0 (create mode) ProtwordsItem item = new ProtwordsItem(0, "testword"); assertEquals(0, item.getId()); assertEquals("testword", item.getInput()); assertEquals("testword", item.getNewInput()); } public void test_constructor_withNonZeroId() { // Test constructor with id != 0 (existing item)
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java
// and properly closed even when errors might occur protwordsFile.reload(null); // Test normal creation and cleanup of ProtwordsUpdater ProtwordsItem testItem = new ProtwordsItem(0, "testWord"); ProtwordsFile.ProtwordsUpdater updater = null; try { // Create the updater successfully updater = protwordsFile.new ProtwordsUpdater(testItem);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 20.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java
try { labelTypeHelper.init(); } catch (Exception e) { fail("init() should not throw an exception: " + e.getMessage()); } } public void test_load() { int result = labelTypeHelper.load(); assertTrue(result >= 0); } public void test_refresh() { List<LabelType> labelTypeList = createTestLabelTypeList(); try {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 12.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/IntMathTest.java
for (RoundingMode mode : ALL_ROUNDING_MODES) { assertThrows(ArithmeticException.class, () -> IntMath.divide(p, 0, mode)); } } } public void testMod() { for (int x : ALL_INTEGER_CANDIDATES) { for (int m : POSITIVE_INTEGER_CANDIDATES) { assertEquals(valueOf(x).mod(valueOf(m)).intValue(), IntMath.mod(x, m)); } } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 24.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/math/LongMathTest.java
for (long x : ALL_LONG_CANDIDATES) { assertThrows(ArithmeticException.class, () -> LongMath.mod(x, 0)); } } @AndroidIncompatible // slow @GwtIncompatible // TODO public void testMod() { for (long x : ALL_LONG_CANDIDATES) { for (long m : POSITIVE_LONG_CANDIDATES) { assertEquals(valueOf(x).mod(valueOf(m)).longValue(), LongMath.mod(x, m)); } } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 31.4K bytes - Viewed (0)