- Sort Score
- Result 10 results
- Languages All
Results 1321 - 1330 of 1,466 for assertEquals (0.06 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java
public void test_getExecuteType() { assertEquals(Constants.EXECUTE_TYPE_THUMBNAIL, thumbnailJob.getExecuteType()); } // Test numOfThreads setter public void test_numOfThreads() { assertEquals(1, thumbnailJob.numOfThreads); GenerateThumbnailJob result = thumbnailJob.numOfThreads(4); assertSame(thumbnailJob, result); assertEquals(4, thumbnailJob.numOfThreads); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java
// Execute and expect IOException try { webApiFilter.doFilter(request, response, chain); fail("Expected IOException"); } catch (IOException e) { assertEquals("Test IOException", e.getMessage()); } catch (ServletException e) { fail("Unexpected ServletException: " + e.getMessage()); } }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
completed.assertCompletionExpected(); assertEquals(Thread.State.TERMINATED, thread.getState()); } void joinSuccessfully(long timeoutMillis) { Uninterruptibles.joinUninterruptibly(thread, timeoutMillis, MILLISECONDS); completed.assertCompletionExpected(); assertEquals(Thread.State.TERMINATED, thread.getState()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 31.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/SplitterTest.java
assertThat(letters).containsExactly("a", "b", "c").inOrder(); } public void testToString() { assertEquals("[]", COMMA_SPLITTER.split("").toString()); assertEquals("[a, b, c]", COMMA_SPLITTER.split("a,b,c").toString()); assertEquals("[yam, bam, jam, ham]", Splitter.on(", ").split("yam, bam, jam, ham").toString()); } public void testCharacterSimpleSplitWithNoDelimiter() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/BiMapEntrySetTester.java
@MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO) public void testSetValue_valueAbsent() { for (Entry<K, V> entry : getMap().entrySet()) { if (entry.getKey().equals(k0())) { assertEquals("entry.setValue() should return the old value", v0(), entry.setValue(v3())); } } expectReplacement(entry(k0(), v3())); } @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(SEVERAL)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java
public void assertSuccess(Object expectedData) throws Throwable { // Verify that the listener executed in a reasonable amount of time. Assert.assertTrue(countDownLatch.await(1L, SECONDS)); try { Assert.assertEquals(expectedData, future.get()); } catch (ExecutionException e) { throw e.getCause(); } } /** * Verify that the listener completes in a reasonable amount of time, and Asserts that the future
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri May 12 18:12:42 UTC 2023 - 3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CloserTest.java
} assertTrue(c1.isClosed()); assertTrue(c2.isClosed()); ImmutableSet<Throwable> suppressed = ImmutableSet.copyOf(thrownException.getSuppressed()); assertEquals(2, suppressed.size()); assertEquals(ImmutableSet.of(c1Exception, c2Exception), suppressed); } public void testNullCloseable() throws IOException { Closer closer = Closer.create(); closer.register(null);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 11.8K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java
import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import static org.codehaus.plexus.testing.PlexusExtension.getTestFile; 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.assertNotSame;
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 12.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ThemeHelperTest.java
String themeName = themeHelper.getThemeName(artifact); assertEquals("simple", themeName); } public void test_getThemeName_multiPart() { Artifact artifact = new Artifact("fess-theme-elegant-modern", "1.0.0"); String themeName = themeHelper.getThemeName(artifact); assertEquals("elegant-modern", themeName); } public void test_getThemeName_emptyName() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.5K bytes - Viewed (0)