- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 1,082 for _shouldn (0.09 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveTester.java
@CollectionSize.Require(absent = ZERO) public void testRemove_present() { int initialSize = collection.size(); assertTrue("remove(present) should return true", collection.remove(e0())); assertEquals( "remove(present) should decrease a collection's size by one.", initialSize - 1, collection.size()); expectMissing(e0()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Feb 11 21:04:02 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHookTest.java
assertNotNull(toString); assertTrue("toString should contain TimeZone ID", toString.contains(FessUserTimeZoneProcessProvider.centralTimeZone.getID())); // The provider's toString might not contain the exact class name // Just verify it's not null and contains some meaningful info assertTrue("toString should not be empty", toString.length() > 0); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/JvmUtilTest.java
"11-malformed:-invalid" // Should not match pattern }; String[] result = JvmUtil.filterJvmOptions(args); assertEquals(4, result.length); // All should pass through since invalid patterns don't match assertEquals("-Dprop=value:with:colons", result[0]);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 10.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapContainsValueTester.java
assertTrue("containsValue(present) should return true", getMap().containsValue(v0())); } public void testContains_no() { assertFalse("containsValue(notPresent) should return false", getMap().containsValue(v3())); } @MapFeature.Require(ALLOWS_NULL_VALUE_QUERIES) public void testContains_nullNotContainedButAllowed() { assertFalse("containsValue(null) should return false", getMap().containsValue(null)); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java
crawlerEngineClient.getClass().getMethod("close"); assertTrue(true); } catch (NoSuchMethodException e) { fail("close method should exist"); } } // Test toString method public void test_toString() { // Test that toString returns a non-null value String result = crawlerEngineClient.toString();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java
// Should match first included path assertTrue(pattern.match("/test/path")); // Should match second included path assertTrue(pattern.match("/another/path")); // Should not match first excluded path assertFalse(pattern.match("/exclude/path")); // Should not match second excluded path
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 12.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java
fail("All expected public methods should exist: " + e.getMessage()); } } public void test_utilityClass_pattern() { // Verify utility class design pattern compliance // 1. Class should be final assertTrue("Class should be final", java.lang.reflect.Modifier.isFinal(KuromojiCSVUtil.class.getModifiers())); // 2. Should have exactly one private constructor
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 18.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetSetCountConditionallyTester.java
assertFalse( "setCount() with a too-large oldCount should return false", getMultiset().setCount(e0(), 2, 3)); expectUnchanged(); } @CollectionSize.Require(absent = ZERO) @CollectionFeature.Require(SUPPORTS_ADD) public void testSetCountConditional_oldCountTooSmallZero() { assertFalse( "setCount() with a too-small oldCount should return false", getMultiset().setCount(e0(), 0, 2));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveIfTester.java
public void testRemoveIf_alwaysFalse() { assertFalse("removeIf(x -> false) should return false", collection.removeIf(x -> false)); expectUnchanged(); } @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE) @CollectionSize.Require(absent = ZERO) public void testRemoveIf_sometimesTrue() { assertTrue( "removeIf(isEqual(present)) should return true", collection.removeIf(Predicate.isEqual(samples.e0())));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 20:34:52 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionContainsAllTester.java
public void testContainsAll_empty() { assertTrue( "containsAll(empty) should return true", collection.containsAll(MinimalCollection.of())); } @CollectionSize.Require(absent = ZERO) public void testContainsAll_subset() { assertTrue( "containsAll(subset) should return true", collection.containsAll(MinimalCollection.of(e0()))); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 4K bytes - Viewed (0)