- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 1,141 for assertTrue (0.07 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
// INITIALIZING < RUNNING < DONE (based on ordinal) assertTrue(CrawlerStatus.INITIALIZING.compareTo(CrawlerStatus.RUNNING) < 0); assertTrue(CrawlerStatus.INITIALIZING.compareTo(CrawlerStatus.DONE) < 0); assertTrue(CrawlerStatus.RUNNING.compareTo(CrawlerStatus.DONE) < 0); // Reverse comparisons assertTrue(CrawlerStatus.RUNNING.compareTo(CrawlerStatus.INITIALIZING) > 0);Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java
assertNotNull(result); // Verify that generate was called at least once assertTrue(generateCallCount.get() >= 0); } catch (Exception e) { // Expected behavior when components are not fully initialized assertTrue(e.getCause() instanceof NullPointerException || e.getCause() instanceof ContainerNotAvailableException); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
startLatch.countDown(); // Wait for completion assertTrue(endLatch.await(10, TimeUnit.SECONDS), "All threads should complete"); executor.shutdown(); // Then - Session should be in consistent state // The double-check pattern should prevent inconsistent cleanup assertTrue(releaseCount.get() > 0 || acquireCount.get() > 0, "Release and acquire counts should be processed");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java
void testToString() { // Act String result = response.toString(); // Assert assertNotNull(result); assertTrue(result.contains("TransPeekNamedPipeResponse[")); assertTrue(result.endsWith("]")); } @Test @DisplayName("toString should include parent class information") void testToStringIncludesParentInfo() { // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java
package jcifs.smb1.smb1; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.Test; import org.mockito.Mockito; /** * Tests for {@link SmbFilenameFilter}. Since the interface only defines * a single method, the tests simply ensure that the lambda expressionRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/PingResponseTest.java
assertTrue(mockConfig.getApiPingEsFieldSet().contains("active_shards")); assertTrue(mockConfig.getApiPingEsFieldSet().contains("relocating_shards")); assertTrue(mockConfig.getApiPingEsFieldSet().contains("initializing_shards")); assertTrue(mockConfig.getApiPingEsFieldSet().contains("unassigned_shards"));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/OptionalUtilTest.java
OptionalEntity<Boolean> boolOpt = OptionalUtil.ofNullable(true); OptionalEntity<Date> dateOpt = OptionalUtil.ofNullable(new Date()); assertTrue(stringOpt.isPresent()); assertTrue(intOpt.isPresent()); assertTrue(boolOpt.isPresent()); assertTrue(dateOpt.isPresent()); assertEquals("string", stringOpt.get()); assertEquals(Integer.valueOf(42), intOpt.get());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/ResourceTraversalTest.java
import static org.hamcrest.CoreMatchers.is; import static org.hamcrest.CoreMatchers.not; import static org.hamcrest.CoreMatchers.notNullValue; import static org.junit.Assert.assertThat; import static org.junit.Assert.assertTrue; import java.io.File; import java.net.JarURLConnection; import java.net.URL; import java.util.zip.ZipInputStream; import junit.framework.TestCase; import org.codelibs.core.jar.JarFileUtil;
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java
assertTrue(Thread.holdsLock(mutex)); return super.add(o); } @Override public boolean addAll(Collection<? extends E> c) { assertTrue(Thread.holdsLock(mutex)); return super.addAll(c); } @Override public void clear() { assertTrue(Thread.holdsLock(mutex)); super.clear(); } @Override public boolean contains(@Nullable Object o) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
assertNotNull(output); assertTrue(output.contains("00000:")); assertTrue(output.contains("00010:")); // Second line offset // Verify first line contains bytes 0-15 assertTrue(output.contains(" 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F")); // Verify second line contains bytes 16-31 assertTrue(output.contains(" 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F"));Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0)