Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 4,281 for should (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                    assertEquals((byte) 0xFF, buffer[startIndex + SOURCE_KEY_SIZE + 4 + i],
                            "Reserved byte at position " + i + " should remain unchanged");
                }
            }
    
            @Test
            @DisplayName("Should encode single chunk data correctly")
            void testEncodeSingleChunk() {
                // Given
                SrvCopychunk chunk = new SrvCopychunk(1024, 2048, 4096);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/SmbTreeHandleTest.java

        void testGetConfig() {
            when(smbTreeHandle.getConfig()).thenReturn(mockConfig);
            Configuration config = smbTreeHandle.getConfig();
            assertNotNull(config, "Configuration should not be null");
            assertEquals(mockConfig, config, "Should return the mock Configuration object");
        }
    
        /**
         * Test for close() method.
         * Verifies that the close method can be called without throwing an exception.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrConnect2Test.java

            // Then
            assertTrue(msrpcSamrConnect2 instanceof samr.SamrConnect2, "Should be an instance of samr.SamrConnect2");
            assertTrue(msrpcSamrConnect2 instanceof DcerpcMessage, "Should be an instance of DcerpcMessage");
        }
    
        @Test
        @DisplayName("Should have correct opnum from parent class")
        void shouldHaveCorrectOpnum() {
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertTrue(s.startsWith("Trans2FindNext2["), "toString should start with class name");
            assertTrue(s.contains(",sid=" + sid), "toString should include sid in decimal");
            assertTrue(s.contains(",searchCount=" + Trans2FindFirst2.LIST_SIZE), "toString should include searchCount using LIST_SIZE");
            assertTrue(s.contains(",informationLevel=0x104"), "toString should include information level 0x104");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/lease/LeaseManagerTest.java

                // key3 should definitely exist (just created)
                assertNotNull(limitedManager.getLease(key3));
    
                // key1 should have been evicted (oldest)
                assertNull(limitedManager.getLease(key1));
    
                // key2 should still exist (not the oldest)
                assertNotNull(limitedManager.getLease(key2));
            } finally {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_configure_swagger_ui/test_tutorial002.py

            "not used parameters should not be included"
        )
        assert '"syntaxHighlight": {"theme": "obsidian"}' in response.text, (
            "parameters with middle dots should be included in a JSON compatible way"
        )
        assert '"dom_id": "#swagger-ui"' in response.text, (
            "default configs should be preserved"
        )
        assert "presets: [" in response.text, "default configs should be preserved"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ArchiveExtractorErrorHandlingTest.java

            try {
                final ExtractData result = tarExtractor.getText(invalidStream, null);
                // If no exception is thrown, result should be empty or minimal
                assertNotNull("Result should not be null", result);
                assertNotNull("Content should not be null", result.getContent());
                // Empty or minimal content is acceptable for invalid archives
            } catch (final ExtractException e) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

            }
    
            @Test
            @DisplayName("Should get share")
            void testGetShare() {
                assertNull(referralData.getShare());
            }
    
            @Test
            @DisplayName("Should get path")
            void testGetPath() {
                assertNull(referralData.getPath());
            }
    
            @Test
            @DisplayName("Should get expiration")
            void testGetExpiration() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

            // NameOffset field (2 bytes) - should be 16 (after header)
            assertEquals(16, SMBUtil.readInt2(buffer, 4));
    
            // NameLength field (2 bytes) - should be 4 for "RqLs"
            assertEquals(4, SMBUtil.readInt2(buffer, 6));
    
            // Reserved field (2 bytes) - should be 0
            assertEquals(0, SMBUtil.readInt2(buffer, 8));
    
            // DataOffset field (2 bytes) - should be 24 (16 header + 4 name + 4 padding)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/CryptoTest.java

            // Then
            assertNotNull(result);
            assertTrue(result.length > 0, "HMAC-T64 should produce non-empty result");
        }
    
        @Test
        @DisplayName("Should perform RC4 encryption/decryption")
        void testRC4() throws Exception {
            // Given
            byte[] key = "testkey123456789".getBytes(); // 16 bytes
            byte[] plaintext = "This is a test message for RC4".getBytes();
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
Back to top