Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 85 for ab2345 (0.1 sec)

  1. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            @Test
            @DisplayName("Should handle response with retained payload")
            void testHaveResponseWithRetainedPayload() throws SMBProtocolDecodingException {
                byte[] buffer = { 1, 2, 3, 4, 5 };
                response.setRetainPayload(true);
                response.setDigest(null);
    
                response.haveResponse(buffer, 1, 3);
    
                byte[] payload = response.getRawPayload();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  2. 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)
  3. android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java

          Ordering.<Integer>natural().<Integer>nullsFirst();
    
      private static final List<@Nullable Integer> IN_ORDER_VALUES =
          unmodifiableList(Arrays.<@Nullable Integer>asList(null, 1, 2, 3, 4, 5));
    
      public void testCreateEmptyRangeFails() {
        for (BoundType lboundType : BoundType.values()) {
          for (BoundType uboundType : BoundType.values()) {
            assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

            assertEquals(0, hash.length);
        }
    
        // Test that changing lmCompatibility at runtime doesn't affect already loaded static value
        @ParameterizedTest
        @ValueSource(strings = { "0", "1", "2", "3", "4", "5" })
        void testLmCompatibilityStaticInitialization(String lmCompatibility) {
            // Attempt to change the property (won't affect static final LM_COMPATIBILITY)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java

         *
         * @throws IOException if an I/O error occurs
         */
        @Test
        void testConstructorWithWrongOid() throws IOException {
            byte[] wrongOidToken = createGssApiWrapper(new ASN1ObjectIdentifier("1.2.3.4.5"), new byte[0]);
            assertThrows(PACDecodingException.class, () -> new KerberosToken(wrongOidToken));
        }
    
        /**
         * Test constructor with a malformed Kerberos token (invalid inner structure).
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/entity/SearchRenderDataTest.java

            assertTrue(searchRenderData.getPageNumberList().isEmpty());
    
            // Test with populated list
            List<String> pageNumbers = Arrays.asList("1", "2", "3", "4", "5");
            searchRenderData.setPageNumberList(pageNumbers);
            assertEquals(pageNumbers, searchRenderData.getPageNumberList());
            assertEquals(5, searchRenderData.getPageNumberList().size());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/SamrPolicyHandleTest.java

            // Test case: close() with non-zero retval from MsrpcSamrCloseHandle, should throw SmbException
            String server = "testServer";
            int access = 123;
            int errorRetval = 12345; // Simulate an error code
    
            // Setup for successful constructor
            doNothing().when(mockHandle).sendrecv(any(MsrpcSamrConnect4.class));
    
            // Setup for close to return an error
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeResponseTest.java

        }
    
        @Test
        void testConstructor() {
            assertNotNull(response);
            // Verify that the outputBuffer is stored properly
            byte[] testData = new byte[] { 1, 2, 3, 4, 5 };
            TransCallNamedPipeResponse testResponse = new TransCallNamedPipeResponse(mockConfig, testData);
            assertNotNull(testResponse);
        }
    
        @Test
        void testWriteSetupWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/transport/MessageTest.java

            assertArrayEquals(payload1, message.getRawPayload(), "getRawPayload should return the set payload");
    
            // Set another payload and verify
            byte[] payload2 = new byte[] { 1, 2, 3, 4, 5 };
            message.setRawPayload(payload2);
            assertArrayEquals(payload2, message.getRawPayload(), "getRawPayload should return the updated payload");
    
            // Set null payload and verify
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

                return opnumValue;
            }
    
            @Override
            public void encode_in(NdrBuffer buf) throws NdrException {
                // Simulate encoding some data
                buf.enc_ndr_long(12345);
            }
    
            @Override
            public void decode_out(NdrBuffer buf) throws NdrException {
                // Simulate decoding some data
                buf.dec_ndr_long();
            }
        }
    
        @BeforeEach
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.3K bytes
    - Viewed (0)
Back to top