- Sort Score
- Num 10 results
- Language All
Results 1111 - 1120 of 1,693 for assertEquals (0.09 seconds)
-
src/test/java/org/codelibs/fess/dict/stopwords/StopwordsCreatorTest.java
assertFalse(false); assertNotNull("test"); assertEquals(1, 1); } // Test placeholder for future implementation @Test public void test_placeholder() { // This test verifies the test class can be instantiated and run String testValue = "test"; assertNotNull(testValue); assertEquals("test", testValue); } // Additional test for coverage
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 1.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/UniAddressTest.java
assertEquals("192.0.2.1", ua.getHostAddress(), "should forward hostAddress to underlying InetAddress"); } @Test void toStringDelegatesToUnderlyingAddress() { InetAddress dummy = mock(InetAddress.class); when(dummy.toString()).thenReturn("mockedInet"); UniAddress ua = new UniAddress(dummy);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
for (int j = 0; j < 10; j++) { executor.execute(wrapper); } barrier.await(); // release the threads! barrier.await(); // wait for them all to complete assertEquals(1, task.get().intValue()); assertEquals(1, counter.get()); } executor.shutdown(); } @J2ktIncompatible @GwtIncompatible // blocking wait public void testToString() throws Exception {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 6.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/LogNotificationTargetTest.java
// Buffer should still contain the event since disabled check should return early List<LogNotificationEvent> remaining = ComponentUtil.getLogNotificationHelper().drainAll(); assertEquals(1, remaining.size()); assertEquals("should remain", remaining.get(0).getMessage()); } @Test public void test_expired_enabled_drainsBuffer() { // Enable log notificationCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 4.7K bytes - Click Count (0) -
src/test/java/jcifs/tests/persistent/HandleReconnectorTest.java
public void testGetMaxRetries() { assertEquals(2, reconnector.getMaxRetries()); } @Test public void testGetRetryDelay() { assertEquals(50, reconnector.getRetryDelay()); } @Test public void testDefaultConstructor() { HandleReconnector defaultReconnector = new HandleReconnector(mockManager); assertEquals(3, defaultReconnector.getMaxRetries());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 5.6K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/DfsReferralTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.8K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java
org.setUrl("https://maven.localdomain"); assertEquals("Organization {name=Testing Maven Unit, url=https://maven.localdomain}", org.toString()); } @Test public void testToStringNotNonsense10() { Organization org = new Organization(); org.setName("Testing Maven Unit"); assertEquals("Organization {name=Testing Maven Unit, url=null}", org.toString()); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.7K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsKeyTester.java
} } public void testContainsKeyAgreesWithGet() { for (K k : sampleKeys()) { assertEquals(!multimap().get(k).isEmpty(), multimap().containsKey(k)); } } public void testContainsKeyAgreesWithAsMap() { for (K k : sampleKeys()) { assertEquals(multimap().containsKey(k), multimap().asMap().containsKey(k)); } } public void testContainsKeyAgreesWithKeySet() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Nov 14 23:40:07 GMT 2024 - 3.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java
package jcifs.smb1.dcerpc.msrpc; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.doAnswer; import static org.mockito.Mockito.doThrow; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.2K bytes - Click Count (0) -
compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/DefaultVersionResolverTest.java
import org.eclipse.aether.resolution.VersionRequest; import org.eclipse.aether.resolution.VersionResult; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; class DefaultVersionResolverTest extends AbstractRepositoryTestCase { @Inject private DefaultVersionResolver versionResolver; @TestCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.3K bytes - Click Count (0)