- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for testStringConstructor (0.27 sec)
-
src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java
} /** * Verify that the string-ctor sets status to {@code NT_STATUS_UNSUCCESSFUL}. */ @Test @DisplayName("String constructor sets NT_STATUS_UNSUCCESSFUL status") void testStringConstructor() { SmbException ex = new SmbException("custom message"); assertEquals("custom message", ex.getMessage()); assertEquals(NtStatus.NT_STATUS_UNSUCCESSFUL, ex.getNtStatus()); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/SIDTest.java
/** * Test constructor with a valid SID string. * * @throws SmbException if the SID string is invalid */ @Test void testStringConstructor() throws SmbException { SID sid = new SID(adminSidString); assertEquals(1, sid.revision); assertEquals(2, sid.sub_authority_count); assertEquals(5, sid.identifier_authority[5]);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0)