- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 2,907 for Shouldn (0.07 sec)
-
guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java
public void testAbsent() { assertEquals( "Map.merge(absent, value, function) should return value", v3(), getMap() .merge( k3(), v3(), (oldV, newV) -> { throw new AssertionFailedError( "Should not call merge function if key was absent"); })); expectAdded(e3()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralResponseBufferTest.java
// Should throw exception for unsupported version assertThrows(Exception.class, () -> { buffer.decode(testBuffer, 0, testBuffer.length); }); } } @Nested @DisplayName("ToString Tests") class ToStringTests { @Test @DisplayName("Should return string representation with no referrals")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
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/smb2/ServerMessageBlock2RequestTest.java
@Test @DisplayName("Should create request with configuration only") void testConstructorWithConfig() { TestServerMessageBlock2Request request = new TestServerMessageBlock2Request(mockConfig); assertNotNull(request); assertEquals(mockConfig, request.getConfig()); } @Test @DisplayName("Should create request with configuration and command")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
SessionServicePacket.writeInt2(0xABCD, dst, 4); assertEquals((byte) 0xFF, dst[2]); // Should be unchanged assertEquals((byte) 0xFF, dst[3]); // Should be unchanged assertEquals((byte) 0xAB, dst[4]); assertEquals((byte) 0xCD, dst[5]); } @Test @DisplayName("writeInt4 should correctly write 32-bit integer") void testWriteInt4() { byte[] dst = new byte[8];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
tests/scanner_valuer_test.go
t.Fatalf("No error should happened when create scanner valuer struct, but got %v", err) } var result ScannerValuerStruct if err := DB.Find(&result, "id = ?", data.ID).Error; err != nil { t.Fatalf("no error should happen when query scanner, valuer struct, but got %v", err) } if result.ExampleStructPtr.Val != "value2" {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 07 07:02:07 UTC 2023 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaProviderFactoryTest.java
assertNotNull(provider, "Auto provider selection should return a provider"); assertTrue(provider.isAvailable(), "Returned provider should be available"); } @Test public void testCreateProviderTcp() { RdmaProvider provider = RdmaProviderFactory.createProvider("tcp"); assertNotNull(provider, "TCP provider should always be available");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 3.4K bytes - Viewed (0) -
src/test/java/jcifs/RuntimeCIFSExceptionTest.java
} @Test @DisplayName("Should preserve stack trace") void testStackTracePreservation() { // When RuntimeCIFSException exception = new RuntimeCIFSException("Test exception"); // Then assertNotNull(exception.getStackTrace()); assertTrue(exception.getStackTrace().length > 0); // Should contain this test method in stack trace
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
}; // Act & Assert: test with different file names assertTrue(filter.accept(mockDir, "document.txt"), "Should accept .txt files in the correct path"); assertFalse(filter.accept(mockDir, "image.png"), "Should reject non-.txt files"); assertFalse(filter.accept(mockDir, null), "Should reject null names"); // Verify getPath was called three times (once for each accept call)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
assertNotNull(lock); } @Test @DisplayName("Should create lock with zero offset and length") void testConstructorWithZeroValues() { lock = new Smb2Lock(0L, 0L, 0); assertNotNull(lock); } @Test @DisplayName("Should create lock with maximum values") void testConstructorWithMaxValues() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0)