- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 2,377 for _shouldn (0.04 sec)
-
src/test/java/jcifs/pac/kerberos/KerberosConstantsTest.java
assertEquals("5", KerberosConstants.KERBEROS_VERSION, "KERBEROS_VERSION should have the correct value."); assertEquals(23, KerberosConstants.RC4_ENC_TYPE, "RC4_ENC_TYPE should have the correct value."); assertEquals("HmacMD5", KerberosConstants.HMAC_ALGORITHM, "HMAC_ALGORITHM should have the correct value."); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java
// Then assertTrue(msrpcSamrConnect2 instanceof samr.SamrConnect2, "Should be an instance of samr.SamrConnect2"); assertTrue(msrpcSamrConnect2 instanceof DcerpcMessage, "Should be an instance of DcerpcMessage"); } @Test @DisplayName("Should have correct opnum from parent class") void shouldHaveCorrectOpnum() { // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/spnego/SpnegoExceptionTest.java
@Test @DisplayName("Should create SpnegoException with default constructor") void testDefaultConstructor() { // When SpnegoException ex = new SpnegoException(); // Then assertNotNull(ex, "Exception should be created"); assertNull(ex.getMessage(), "Default message should be null"); assertNull(ex.getCause(), "Default cause should be null");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacConstantsTest.java
assertEquals(0xB, PacConstants.CONSTRAINT_DELEGATIION_TYPE, "CONSTRAINT_DELEGATIION_TYPE should be 0xB"); assertEquals(0xC, PacConstants.CLIENT_UPN_TYPE, "CLIENT_UPN_TYPE should be 0xC"); assertEquals(0xD, PacConstants.CLIENT_CLAIMS_TYPE, "CLIENT_CLAIMS_TYPE should be 0xD"); assertEquals(0xE, PacConstants.DEVICE_INFO_TYPE, "DEVICE_INFO_TYPE should be 0xE");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/jcifs/smb1/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.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
} @Test @DisplayName("Should initialize with SMB2_READ command") void testCommandInitialization() { Smb2ReadRequest readRequest = new Smb2ReadRequest(mockConfig, testFileId, outputBuffer, 0); // Command is set in parent constructor assertNotNull(readRequest); } @Test @DisplayName("Should accept null file ID in constructor")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java
assertNotNull(authorizations, "The authorizations list should not be null."); assertEquals(2, authorizations.size(), "The authorizations list should contain two elements."); assertTrue(authorizations.contains(mockAuthData1), "The list should contain the first mocked auth data."); assertTrue(authorizations.contains(mockAuthData2), "The list should contain the second mocked auth data."); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java
assertNotNull(dfsRootEnum, "The MsrpcDfsRootEnum object should not be null."); // The server name is stored in a protected field without a public getter, so we cannot directly test it. // We can test the public fields that are set. assertEquals(200, dfsRootEnum.level, "The level should be initialized to 200."); assertNotNull(dfsRootEnum.info, "The info struct should not be null.");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeResponseTest.java
// Arrange & Act TransWaitNamedPipeResponse resp = new TransWaitNamedPipeResponse(); // Assert assertNotNull(resp, "Instance should not be null"); } /** * All wire‑format methods should return zero regardless of inputs. */ @Nested @DisplayName("Wire format method behaviour") class WireFormatMethods { @ParameterizedTest
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java
assertNotNull(region, "Send region should not be null"); assertTrue(region.getSize() >= 1024, "Region should be at least requested size"); assertTrue(region.hasAccess(RdmaAccess.LOCAL_READ), "Should have local read access"); assertTrue(region.hasAccess(RdmaAccess.REMOTE_READ), "Should have remote read access"); // Verify provider was called
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.1K bytes - Viewed (0)