- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for testConstantValues (0.14 seconds)
-
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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.9K bytes - Click Count (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 typesCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2K bytes - Click Count (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);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (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); } } @NestedCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 34K bytes - Click Count (0)