- Sort Score
- Num 10 results
- Language All
Results 1571 - 1580 of 1,693 for assertEquals (0.07 seconds)
-
guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java
@MapFeature.Require(SUPPORTS_REMOVE) public void testClear() { getMap().clear(); assertTrue("After clear(), a map should be empty.", getMap().isEmpty()); assertEquals(0, getMap().size()); assertFalse(getMap().entrySet().iterator().hasNext()); } @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE}) @CollectionSize.Require(SEVERAL)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java
})); } threadPool.shutdown(); assertTrue(threadPool.awaitTermination(300, SECONDS)); long sum = 0; for (Future<Long> f : futures) { sum += f.get(); } assertEquals(sum, map.get(key)); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/util/ResourceManagerTest.java
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.util; import static org.junit.jupiter.api.Assertions.assertDoesNotThrow; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CustomSizeValidatorTest.java
// Test that initialization completes without exception } @Test public void test_classStructure() { // Test that the class exists and has the expected structure assertEquals("CustomSizeValidator should be in correct package", "org.codelibs.fess.validation.CustomSizeValidator", CustomSizeValidator.class.getName()); // Test that it implements ConstraintValidatorCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5.4K bytes - Click Count (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt
*/ package okhttp3.internal.publicsuffix import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isNull import assertk.assertions.isTrue import kotlin.test.assertEquals import kotlin.test.assertFailsWith import okhttp3.internal.publicsuffix.ResourcePublicSuffixList.Companion.PUBLIC_SUFFIX_RESOURCE import okhttp3.internal.toCanonicalHost import okhttp3.okHttpRoot import okio.Buffer
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue May 27 22:00:49 GMT 2025 - 8.5K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractTester.java
* not include the value of the object. * * @since 33.4.0 */ public static void assertNull(String message, Object object) { assertEquals(message, null, object); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractTester.java
* not include the value of the object. * * @since 33.4.0 */ public static void assertNull(String message, Object object) { assertEquals(message, null, object); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/HotThreadMonitorTargetTest.java
// but method should be callable assertNotNull(e, "Exception should not be null if thrown"); } } @Test public void test_package_structure() { assertEquals("Should be in timer package", "org.codelibs.fess.timer", HotThreadMonitorTarget.class.getPackage().getName()); } @Test public void test_class_is_public() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 4.3K bytes - Click Count (0) -
docs/smb3-features/01-smb3-lease-design.md
assertNotNull(key); LeaseEntry entry = manager.getLease(key); assertNotNull(entry); assertEquals(requestedState, entry.getLeaseState()); // Test lease break manager.handleLeaseBreak(key, Smb2LeaseState.SMB2_LEASE_READ_CACHING); assertEquals(Smb2LeaseState.SMB2_LEASE_READ_CACHING, entry.getLeaseState()); } } ``` ### 8.2 Integration Tests ```java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 22K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java
String googleChatResult = notificationHelper.toGoogleChatMessage(discloser); // Both methods should produce identical output assertEquals(slackResult, googleChatResult); } @Test public void test_toSlackMessage_withLongContent() { MockSMailPostingDiscloser discloser = new MockSMailPostingDiscloser();
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 20K bytes - Click Count (0)