- Sort Score
- Result 10 results
- Languages All
Results 441 - 450 of 1,038 for assertTrue (0.16 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
assertEquals(0, successCount.get()); // All exceptions should be about project ID being blank for (Exception e : exceptions) { assertTrue(e instanceof IOException); assertTrue(e.getMessage().contains("GCS_PROJECT_ID is blank")); } } /** * Test that connect() is idempotent - calling it multiple times should be safe. */
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
} public void testCancel_notDoneInterrupt() throws Exception { InterruptibleFuture future = new InterruptibleFuture(); assertTrue(future.cancel(true)); assertTrue(future.isCancelled()); assertTrue(future.isDone()); assertTrue(future.wasInterrupted()); assertTrue(future.interruptTaskWasCalled); CancellationException e = assertThrows(CancellationException.class, () -> future.get());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 20:45:32 UTC 2025 - 46.8K bytes - Viewed (0) -
src/test/java/jcifs/ConfigTest.java
} @Test @DisplayName("Should get boolean property with default value") void testGetBooleanWithDefault() { assertTrue(Config.getBoolean(testProperties, "test.bool.true", false)); assertFalse(Config.getBoolean(testProperties, "test.bool.false", true)); assertTrue(Config.getBoolean(testProperties, "nonexistent.bool", true)); } @Test @DisplayName("Should get InetAddress array property")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t07/ProjectInheritanceTest.java
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.assertTrue; /** * A test which demonstrates maven's dependency management * */ @Deprecated class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase {
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 3K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ScmTest.java
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.assertTrue; /** * Tests {@code Scm}. */ class ScmTest { @Test void testHashCodeNullSafe() { new Scm().hashCode(); } @Test void testEqualsNullSafe() {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
assertFalse(limiter.tryAcquire(100, MILLISECONDS)); stopwatch.sleepMillis(100); assertTrue(limiter.tryAcquire(100, MILLISECONDS)); } public void testTryAcquire_overflow() { RateLimiter limiter = RateLimiter.create(5.0, stopwatch); assertTrue(limiter.tryAcquire(0, MICROSECONDS)); stopwatch.sleepMillis(100); assertTrue(limiter.tryAcquire(Long.MAX_VALUE, MICROSECONDS)); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 21.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java
assertFalse(limiter.tryAcquire(100, MILLISECONDS)); stopwatch.sleepMillis(100); assertTrue(limiter.tryAcquire(100, MILLISECONDS)); } public void testTryAcquire_overflow() { RateLimiter limiter = RateLimiter.create(5.0, stopwatch); assertTrue(limiter.tryAcquire(0, MICROSECONDS)); stopwatch.sleepMillis(100); assertTrue(limiter.tryAcquire(Long.MAX_VALUE, MICROSECONDS)); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 21.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/BadWordSettingsTest.java
Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Sun Nov 23 13:04:17 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertSame; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.anyBoolean; import static org.mockito.ArgumentMatchers.anyInt; import static org.mockito.ArgumentMatchers.eq;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
// Then assertTrue(encryptionEnabled, "Should delegate encryption setting"); assertFalse(signingPreferred, "Should delegate signing preferred setting"); assertTrue(signingEnforced, "Should delegate signing enforced setting"); assertTrue(ipcSigningEnforced, "Should delegate IPC signing enforced setting"); assertTrue(firstExtendedSecurityCall, "First call should return true");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0)