- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 3,508 for should (0.03 sec)
-
src/test/java/jcifs/internal/SmbNegotiationTest.java
testResponseBuffer = new byte[] { 0x05, 0x06, 0x07, 0x08 }; negotiation = new SmbNegotiation(mockRequest, mockResponse, testRequestBuffer, testResponseBuffer); } @Test @DisplayName("Constructor should properly initialize all fields") void testConstructor() { // Verify all fields are properly initialized assertNotNull(negotiation); assertSame(mockRequest, negotiation.getRequest());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProviderTest.java
assertNotNull(region, "Memory region should not be null"); assertEquals(buffer, region.getBuffer(), "Buffer should match"); assertEquals(1024, region.getSize(), "Size should match buffer size"); assertTrue(region.hasAccess(RdmaAccess.LOCAL_READ), "Should have local read access"); assertTrue(region.hasAccess(RdmaAccess.LOCAL_WRITE), "Should have local write access");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
// The offset should point to the location after the fixed structure (relative to header start) int expectedOffset = Smb2Constants.SMB2_HEADER_LENGTH + 24; while ((expectedOffset % 8) != 0) { expectedOffset++; // Account for pad8 } assertEquals(expectedOffset, securityBufferOffset); } @Test @DisplayName("Should handle large token correctly")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/config/MultiChannelConfigurationTest.java
assertTrue(config.isUseMultiChannel(), "Multi-channel should be enabled by default"); assertEquals(4, config.getMaxChannels(), "Default max channels should be 4"); assertEquals(1, config.getChannelBindingPolicy(), "Default binding policy should be preferred"); assertEquals("adaptive", config.getLoadBalancingStrategy(), "Default strategy should be adaptive");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
assertEquals(1, t.numThreads, "Default numThreads should be 1"); assertEquals(1, t.numIter, "Default numIter should be 1"); assertEquals(100L, t.delay, "Default delay should be 100"); assertNull(t.url, "URL should be null by default"); assertEquals(0, t.numComplete, "numComplete should start at 0"); assertEquals(0L, t.ltime, "ltime should start at 0"); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/NotificationHelperTest.java
} }); MockSMailPostingDiscloser discloser = new MockSMailPostingDiscloser(); // Should return early without doing anything try { notificationHelper.sendToSlack(null, discloser); } catch (Exception e) { fail("sendToSlack() should not throw an exception with blank URLs: " + e.getMessage()); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 19.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
} @Test @DisplayName("Should create instance with null ciphers") void testConstructorWithNullCiphers() { EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, null); assertNotNull(context); assertNull(context.getCiphers()); } @Test @DisplayName("Should create instance with empty ciphers array")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java
} @Test @DisplayName("Should initialize DfsReferralResponseBuffer") void testDfsResponseBufferInitialization() { assertNotNull(response.getDfsResponse()); assertTrue(response.getDfsResponse() instanceof DfsReferralResponseBuffer); } @Test @DisplayName("Should throw NullPointerException with null configuration")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
class SamrCloseHandleTests { @Test @DisplayName("Should construct with correct opnum") void testConstructorAndOpnum() { // When: Creating close handle message samr.SamrCloseHandle message = new samr.SamrCloseHandle(mockPolicyHandle); // Then: Should have correct opnum and handle assertEquals(0x01, message.getOpnum());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtStatusTest.java
} @Test @DisplayName("Should identify success status") void testSuccessStatusIdentification() { // Given int successStatus = NtStatus.NT_STATUS_SUCCESS; // When/Then assertEquals(0x00000000, successStatus); // Success status should be zero assertTrue(successStatus == 0); } @Test @DisplayName("Should identify error status codes")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0)