Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for 1234567890123456 (0.05 sec)

  1. src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java

        }
    
        /**
         * Test getTimestamp method with a positive timestamp.
         */
        @Test
        public void testGetTimestampPositive() {
            long expectedTimestamp = 123456789012345L;
            byte[] rawBytes = new byte[8];
            SMBUtil.writeInt8(expectedTimestamp, rawBytes, 0);
            AvTimestamp avTimestamp = new AvTimestamp(rawBytes);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/ndr/NdrHyperTest.java

            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void testConstructorAndGetValue() {
            // Test that the constructor correctly initializes the value
            long expectedValue = 123456789012345L;
            NdrHyper ndrHyper = new NdrHyper(expectedValue);
            assertEquals(expectedValue, ndrHyper.value, "Constructor should set the correct value.");
        }
    
        @Test
        void testEncode() throws NdrException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/NameTest.java

            assertTrue(result.contains("<20>"));
            assertFalse(result.contains("."));
        }
    
        @Test
        void writeWireFormat_withMaxLengthName_shouldHandleCorrectly() {
            String maxName = "123456789012345"; // 15 characters
            Name name = new Name(mockConfig, maxName, 0x20, null);
            byte[] dst = new byte[100];
    
            int length = name.writeWireFormat(dst, 0);
    
            // Should encode all 15 characters
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top