Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 85 for ab2345 (0.03 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java

        private SmbComSetInformationResponse response;
    
        @BeforeEach
        void setUp() {
            // Setup mock configuration to avoid NPE
            when(mockConfig.getPid()).thenReturn(12345);
    
            response = new SmbComSetInformationResponse(mockConfig);
        }
    
        @Test
        @DisplayName("Constructor accepts valid config")
        void constructorValid() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            public int getWordCount() {
                return wordCount;
            }
        }
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            when(mockConfig.getPid()).thenReturn(12345);
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Test constructor with config only")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.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/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)
  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. 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)
  7. 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)
  8. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationResponseTest.java

            setFieldValue(response, "fileSize", 12345);
    
            String result = response.toString();
    
            assertNotNull(result);
            assertTrue(result.contains("SmbComQueryInformationResponse"));
            assertTrue(result.contains("fileAttributes=0x"));
            assertTrue(result.contains("lastWriteTime="));
            assertTrue(result.contains("fileSize=12345"));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  9. 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)
  10. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            final RoleQueryHelper roleQueryHelper = new RoleQueryHelper();
            roleQueryHelper.maxAge = 0;
    
            Set<String> roleSet = new HashSet<>();
            String value = "12345\nrole1,role2";
    
            roleQueryHelper.parseRoleSet(value, false, roleSet);
    
            assertEquals(2, roleSet.size());
            assertTrue(roleSet.contains("role1"));
            assertTrue(roleSet.contains("role2"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.5K bytes
    - Viewed (0)
Back to top