- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for testConstantValues (0.44 sec)
-
src/test/java/jcifs/NetbiosAddressTest.java
* This test focuses on verifying constants and basic functionality. */ @ExtendWith(MockitoExtension.class) class NetbiosAddressTest { @Test void testConstantValues() { // Test that constants are properly defined assertEquals("*\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000", NbtAddress.ANY_HOSTS_NAME);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacConstantsTest.java
/** * Tests that the constant values in the PacConstants interface match their expected values. * This prevents accidental modification of these critical constants. */ @Test void testConstantValues() { // Verify the PAC version assertEquals(0, PacConstants.PAC_VERSION, "PAC_VERSION should be 0"); // Verify PAC buffer types
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/internal/smb2/nego/EncryptionNegotiateContextTest.java
} } @Nested @DisplayName("Constant Value Tests") class ConstantValueTests { @Test @DisplayName("Should have correct constant values") void testConstantValues() { assertEquals(0x2, EncryptionNegotiateContext.NEGO_CTX_ENC_TYPE); assertEquals(0x1, EncryptionNegotiateContext.CIPHER_AES128_CCM);
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/smb2/nego/PreauthIntegrityNegotiateContextTest.java
} } @Nested @DisplayName("Constant Value Tests") class ConstantValueTests { @Test @DisplayName("Should have correct constant values") void testConstantValues() { assertEquals(0x1, PreauthIntegrityNegotiateContext.NEGO_CTX_PREAUTH_TYPE); assertEquals(0x1, PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512); } } @Nested
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0)