Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for testConstantValues (0.24 seconds)

  1. 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)
  2. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2K bytes
    - Click Count (0)
Back to Top