Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 120 for 012345 (2.41 sec)

  1. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

        }
    
        @Test
        @DisplayName("Should handle parsing invalid message bytes")
        void testInvalidMessageBytes() {
            // Given
            byte[] invalidBytes = { 1, 2, 3, 4, 5 }; // Too short and invalid
    
            // When/Then
            assertThrows(IOException.class, () -> {
                new Type1Message(invalidBytes);
            });
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/UniAddressTest.java

            }
    
            @Test
            void shouldReturnInetAddressHostAddressWhenWrappedIsInetAddress() {
                when(mockInetAddress.getHostAddress()).thenReturn("1.2.3.4");
                UniAddress uniAddress = new UniAddress(mockInetAddress);
                assertEquals("1.2.3.4", uniAddress.getHostAddress());
            }
    
            @Test
            void shouldReturnNbtAddressHostAddressWhenWrappedIsNbtAddress() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbRandomAccessFileTest.java

                b[off + 1] = 0x34;
                return 2;
            }).when(raf).read(any(byte[].class), anyInt(), eq(2));
            assertEquals(0x1234, raf.readUnsignedShort());
            assertEquals((short) 0x1234, raf.readShort());
            assertEquals((char) 0x1234, raf.readChar());
        }
    
        @Test
        @DisplayName("readInt/Long/Float/Double: big-endian decoding")
        void read_multiByteVariants() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  4. src/main/config/openapi/openapi-user.yaml

                        example: 20
                      page_numbers:
                        type: array
                        items:
                          type: string
                        example: ["1", "2", "3", "4", "5"]
                      partial:
                        type: boolean
                        example: false
                      search_query:
                        type: string
                        example: "(Fess OR n2sm)"
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu May 09 06:31:27 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

            @DisplayName("Should maintain data integrity through encode/decode cycle")
            void testEncodeDecodeCycle() throws SMBProtocolDecodingException {
                // Arrange
                int[] hashAlgos = new int[] { 1, 2, 3, 4, 5 };
                byte[] salt = "TestSaltValue123".getBytes();
                PreauthIntegrityNegotiateContext originalContext = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt);
    
                // Act
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/NameTest.java

            Name sourceName = new Name(mockConfig, "SourceName", 0x1C, "source.scope");
            sourceName.srcHashCode = 12345;
    
            Name name = new Name(mockConfig, sourceName);
    
            assertEquals("SOURCENAME", name.name);
            assertEquals(0x1C, name.hexCode);
            assertEquals("source.scope", name.scope);
            assertEquals(12345, name.srcHashCode);
        }
    
        @Test
        void getName_shouldReturnName() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

            void testConstructorAndOpnum() {
                // When: Creating open alias message
                samr.SamrOpenAlias message = new samr.SamrOpenAlias(mockPolicyHandle, 123, 456, mockPolicyHandle);
    
                // Then: Should have correct values
                assertEquals(0x1b, message.getOpnum());
                assertEquals(mockPolicyHandle, message.domain_handle);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            ndrBuffer.enc_ndr_short(0x1234);
            assertEquals(4, ndrBuffer.getIndex()); // Aligned from 1 to 2, then advanced by 2
            assertEquals(4, ndrBuffer.getLength());
            assertEquals((byte) 0x34, buffer[2]);
            assertEquals((byte) 0x12, buffer[3]);
    
            ndrBuffer.setIndex(2);
            val = ndrBuffer.dec_ndr_short();
            assertEquals(0x1234, val);
            assertEquals(4, ndrBuffer.getIndex());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/TreeConnectResponseTest.java

            @DisplayName("Should return tree ID")
            void testGetTid() {
                // Given
                when(mockResponse.getTid()).thenReturn(12345);
    
                // When
                int tid = mockResponse.getTid();
    
                // Then
                assertEquals(12345, tid, "Should return the configured tree ID");
                verify(mockResponse).getTid();
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/transport/ResponseTest.java

            assertEquals(-1, mockResponse.getErrorCode());
    
            // Verify the method was called
            verify(mockResponse, times(1)).getErrorCode();
        }
    
        @Test
        void testSetMid() {
            long mid = 12345L;
            mockResponse.setMid(mid);
    
            // Verify that the method was called with the correct argument
            verify(mockResponse, times(1)).setMid(mid);
        }
    
        @Test
        void testGetMid() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top