- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 2,154 for _shouldn (0.03 sec)
-
src/test/java/jcifs/dcerpc/DcerpcBindTest.java
assertNotNull(bindWithParams, "Constructor should create instance"); assertEquals(0, bindWithParams.getOpnum(), "Opnum should be 0"); assertEquals(11, bindWithParams.getPtype(), "Ptype should be 11 for bind message"); assertEquals(DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG, bindWithParams.getFlags(), "Flags should be set for first and last fragment");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
// Then assertNotNull(signingKey, "Signing key should not be null"); assertEquals(16, signingKey.length, "Signing key should be 16 bytes"); assertFalse(Arrays.equals(sessionKey, signingKey), "Signing key should be different from session key"); } @Test @DisplayName("Should derive signing key for SMB 3.1.1 dialect") void testDeriveSigningKey_SMB311() { // GivenRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
} @Test @DisplayName("Should handle null root cause") void testConstructorWithNullRootCause() { TransportException exception = new TransportException((Throwable) null); assertNotNull(exception); assertNull(exception.getRootCause()); } @Test @DisplayName("Should handle null message with root cause")Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
// Then assertTrue(smb2Only, "Should delegate SMB2 only negotiation"); assertFalse(secureNegotiate, "Should delegate secure negotiate requirement"); assertTrue(ntlmTargetName, "Should delegate NTLM target name setting"); assertFalse(port139Failover, "Should delegate port 139 failover setting"); assertTrue(dfsStrictView, "Should delegate DFS strict view setting");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
assertNotNull(str, "toString should not return null"); assertTrue(str.contains("SmbComTreeConnectAndXResponse"), "Should contain class name"); assertTrue(str.contains("supportSearchBits=true"), "Should contain search bits flag"); assertTrue(str.contains("shareIsInDfs=true"), "Should contain DFS flag"); assertTrue(str.contains("service=IPC"), "Should contain service");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/BufferCacheTest.java
assertEquals(1024, buffer1.length, "Buffer should have expected size"); assertEquals(1024, buffer2.length, "Buffer should have expected size"); assertNotSame(buffer1, buffer2, "Different calls should return different buffers initially"); } @Test @DisplayName("releaseBuffer and getBuffer should implement buffer reuse") void testBufferReuse() { // Given
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/NtlmFlagsTest.java
} @Test void testNtlmNegotiateOem() { assertEquals(0x00000002, NtlmFlags.NTLMSSP_NEGOTIATE_OEM, "NTLMSSP_NEGOTIATE_OEM should be 0x00000002"); } @Test void testNtlmRequestTarget() { assertEquals(0x00000004, NtlmFlags.NTLMSSP_REQUEST_TARGET, "NTLMSSP_REQUEST_TARGET should be 0x00000004"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/EmptyIteratorTest.java
void testHasNextAlwaysReturnsFalse() { // When & Then assertFalse(emptyIterator.hasNext(), "hasNext should return false"); assertFalse(emptyIterator.hasNext(), "hasNext should consistently return false"); assertFalse(emptyIterator.hasNext(), "hasNext should always return false on repeated calls"); } @Test @DisplayName("next should return null")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/util/StringsTest.java
// Then assertNotNull(uniBytes, "UNI bytes should not be null"); assertNotNull(asciiBytes, "ASCII bytes should not be null"); assertNotNull(oemBytes, "OEM bytes should not be null"); assertEquals(0, uniBytes.length, "UNI bytes should be empty"); assertEquals(0, asciiBytes.length, "ASCII bytes should be empty");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
assertTrue(methodNames.contains("getConfig"), "Should contain getConfig method"); assertTrue(methodNames.contains("unwrap"), "Should contain unwrap method"); assertTrue(methodNames.contains("getContext"), "Should contain getContext method"); } @Test @DisplayName("Should be a public interface")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0)