Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 97 for ab2345 (0.04 sec)

  1. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

        }
    
        @Test
        @DisplayName("Test createCancel method returns SmbComNtCancel")
        void testCreateCancel() {
            // Set a MID for the transaction
            transaction.setMid(12345);
    
            // Create cancel request
            CommonServerMessageBlockRequest cancelRequest = transaction.createCancel();
    
            // Verify it returns an SmbComNtCancel instance
            assertNotNull(cancelRequest);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java

        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        void constructor_shouldInitializeValueCorrectly() {
            // Test case 1: Positive value
            int positiveValue = 12345;
            NdrLong ndrLongPositive = new NdrLong(positiveValue);
            assertEquals(positiveValue, ndrLongPositive.value, "Constructor should correctly initialize with a positive value.");
    
            // Test case 2: Negative value
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java

            setTreeIdMethod.setAccessible(true);
            setTreeIdMethod.invoke(response, 12345);
    
            // When
            int tid = response.getTid();
    
            // Then
            assertEquals(12345, tid);
        }
    
        @Test
        @DisplayName("Should validate TID correctly")
        void testIsValidTid() throws Exception {
            // Test invalid TID (-1)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/av/AvFlagsTest.java

            assertEquals(minFlags, minAvFlags.getFlags(), "Flags should match Integer.MIN_VALUE");
    
            // Test with a negative integer
            int negativeFlags = -12345;
            AvFlags negAvFlags = new AvFlags(negativeFlags);
            assertNotNull(negAvFlags, "AvFlags object should not be null for negative flags");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        testRotate(new double[] {1, 2, 3, 4}, -5, new double[] {2, 3, 4, 1});
        testRotate(new double[] {1, 2, 3, 4}, -1, new double[] {2, 3, 4, 1});
        testRotate(new double[] {1, 2, 3, 4}, 0, new double[] {1, 2, 3, 4});
        testRotate(new double[] {1, 2, 3, 4}, 1, new double[] {4, 1, 2, 3});
        testRotate(new double[] {1, 2, 3, 4}, 5, new double[] {4, 1, 2, 3});
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

        }
    
        /**
         * Test writeBytesWireFormat writes data correctly
         */
        @Test
        public void testWriteBytesWireFormat() {
            // Arrange
            byte[] data = { 1, 2, 3, 4, 5 };
            SmbComWrite write = new SmbComWrite();
            write.setParam(0, 0L, 0, data, 1, 3); // Write bytes 2,3,4
            byte[] dst = new byte[10];
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/PacMacTest.java

            byte[] expanded = PacMac.expandNFold(data, outlen);
            assertNotNull(expanded);
            assertEquals(outlen, expanded.length);
    
            // Test vectors from RFC 3961 Appendix A.1
            // 64-fold("012345")
            verifyNfold("012345", 8,
                    new byte[] { (byte) 0xbe, (byte) 0x07, (byte) 0x26, (byte) 0x31, (byte) 0x27, (byte) 0x6b, (byte) 0x19, (byte) 0x55 });
    
            // 56-fold("password")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

        }
    
        public void test_numberKeyObject() {
            Integer key = 12345;
            crawlerStatsHelper.begin(key);
            crawlerStatsHelper.record(key, "test_action");
            crawlerStatsHelper.done(key);
    
            String[] values = localLogMsg.get().split("\t");
            assertEquals(4, values.length);
            assertEquals("url:12345", values[0]);
            assertTrue(values[1].startsWith("time:"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 15K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/IntsTest.java

        testRotate(new int[] {1, 2, 3, 4}, -5, new int[] {2, 3, 4, 1});
        testRotate(new int[] {1, 2, 3, 4}, -1, new int[] {2, 3, 4, 1});
        testRotate(new int[] {1, 2, 3, 4}, 0, new int[] {1, 2, 3, 4});
        testRotate(new int[] {1, 2, 3, 4}, 1, new int[] {4, 1, 2, 3});
        testRotate(new int[] {1, 2, 3, 4}, 5, new int[] {4, 1, 2, 3});
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

            }
    
            @Test
            @DisplayName("Should get and set raw payload")
            void testRawPayload() {
                assertNull(testMessage.getRawPayload());
                byte[] payload = new byte[] { 1, 2, 3, 4, 5 };
                testMessage.setRawPayload(payload);
                assertArrayEquals(payload, testMessage.getRawPayload());
            }
        }
    
        @Nested
        @DisplayName("Error Data Tests")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
Back to top