- Sort Score
- Num 10 results
- Language All
Results 991 - 1000 of 1,693 for assertEquals (0.06 seconds)
-
android/guava-tests/test/com/google/common/base/ConverterTest.java
private static final ImmutableList<Long> LONGS = ImmutableList.of(123L, 456L); public void testConverter() { assertEquals(LONG_VAL, STR_TO_LONG.convert(STR_VAL)); assertThat(STR_TO_LONG.reverse().convert(LONG_VAL)).isEqualTo(STR_VAL); Iterable<Long> convertedValues = STR_TO_LONG.convertAll(STRINGS); assertEquals(LONGS, ImmutableList.copyOf(convertedValues)); } public void testConvertAllIsView() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 18 18:06:14 GMT 2026 - 8.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
assertEquals(context.getMaxCacheAge(), decodedContext.getMaxCacheAge()); assertEquals(context.isNotificationEnabled(), decodedContext.isNotificationEnabled()); assertEquals(context.getNotificationFilter(), decodedContext.getNotificationFilter()); assertArrayEquals(context.getLeaseKey().getKey(), decodedContext.getLeaseKey().getKey()); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 14.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
HashCode hashcode1 = hashFunction.hashInt(value); HashCode hashcode2 = hashFunction.hashInt(value); Assert.assertEquals(hashcode1, hashcode2); // idempotent Assert.assertEquals(hashFunction.bits(), hashcode1.bits()); Assert.assertEquals(hashFunction.bits(), hashcode1.asBytes().length * 8); hashcodes.add(hashcode1); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 18:19:59 GMT 2025 - 25.6K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.2K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java
MavenProject project0 = getProject(pom0); MavenProject project1 = getProject(pom1); assertEquals(project1.getScm().getUrl(), project0.getScm().getUrl() + "/modules/p1"); assertEquals(project1.getScm().getConnection(), project0.getScm().getConnection() + "/modules/p1"); assertEquals( project1.getScm().getDeveloperConnection(), project0.getScm().getDeveloperConnection() + "/modules/p1"); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Mar 30 23:08:36 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
for (byte value : b) { assertEquals(0, value, "Released buffer must be zeroed"); } // Next get should return the same instance from cache byte[] reused = impl.getBuffer(); assertSame(b, reused, "Buffer should be reused from cache"); // And it should still be zeroed for (byte value : reused) { assertEquals(0, value, "Reused buffer must be zeroed"); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.5K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/AllocInfoTest.java
void testGettersHappyPath() { when(mockAllocInfo.getCapacity()).thenReturn(1000L); when(mockAllocInfo.getFree()).thenReturn(400L); assertEquals(1000L, mockAllocInfo.getCapacity(), "capacity should match stubbed value"); assertEquals(400L, mockAllocInfo.getFree(), "free space should match stubbed value"); verify(mockAllocInfo, times(1)).getCapacity(); verify(mockAllocInfo, times(1)).getFree();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
assertExecutionException(future, ex); assertEquals(5, runnable.count); assertEquals(0, delegate.getQueue().size()); runnable = new ThrowingRunnable(5, ex); future = service.scheduleWithFixedDelay(runnable, 1, 1, MILLISECONDS); assertExecutionException(future, ex); assertEquals(5, runnable.count); assertEquals(0, delegate.getQueue().size()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/api/engine/SearchEngineApiManagerTest.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/org/codelibs/fess/auth/chain/CommandChainTest.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)