- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 402 for testDfs (0.74 sec)
-
src/test/java/jcifs/smb1/smb1/DfsTest.java
private Dfs dfs; private TestDfs testDfs; private MockedStatic<LogStream> logStreamMockedStatic; private MockedStatic<UniAddress> uniAddressMockedStatic; private MockedStatic<SmbTransport> smbTransportMockedStatic; private MockedStatic<Config> configMockedStatic; // Test subclass to control DISABLED flag private static class TestDfs extends Dfs { private boolean disabled;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeImplTest.java
SmbTreeImpl tree3 = new SmbTreeImpl(session, "COMM", "COMM"); assertEquals(SmbConstants.TYPE_COMM, tree3.getTreeType()); } // Test case for DFS related methods @Test void testDfs() throws SmbException { SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:"); assertFalse(tree.isDfs()); assertFalse(tree.isInDomainDfs()); tree.markDomainDfs();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JodExtractorTest.java
assertTrue(content.contains("ใในใ")); } public void test_getText_ooow_as() { InputStream in = ResourceUtil.getResourceAsStream("extractor/ooo/test_as.odt"); Map<String, String> params = new HashMap<String, String>(); params.put("resourceName", "test_as.odt"); ExtractData extractData = jodExtractor.getText(in, params); String content = extractData.getContent(); CloseableUtil.closeQuietly(in);
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/util/CryptoTest.java
assertArrayEquals(plaintext, decrypted); assertNotEquals(new String(plaintext), new String(encrypted)); } @Test @DisplayName("Should perform DES encryption/decryption") void testDES() throws Exception { // Given byte[] key = "testkey1".getBytes(); // 8 bytes for DES byte[] plaintext = "12345678".getBytes(); // 8 bytes (DES block size) // 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) -
src/test/java/jcifs/context/AbstractCIFSContextTest.java
return null; // Not relevant for AbstractCIFSContext tests } @Override public SidResolver getSIDResolver() { return null; // Not relevant for AbstractCIFSContext tests } @Override public DfsResolver getDfs() { return null; // Not relevant for AbstractCIFSContext tests } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.Test; /** * Unit tests for the Trans2QueryPathInformation class. */ class Trans2QueryPathInformationTest { /** * Tests the constructor of Trans2QueryPathInformation. */ @Test void testConstructor() { // Given String filename = "testFile.txt";Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0) -
docs/SMB3_IMPLEMENTATION_PLAN.md
D --> E[RDMA Support] C --> F[Witness Protocol] D --> F ``` ## Testing Strategy ### Unit Tests - Individual component testing for each feature - Mock-based testing for protocol interactions - State machine validation ### Integration Tests - Feature interaction testing - Network failure simulation - Performance benchmarkingRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 10.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java
} /** * Tests the constructor of {@link TransTransactNamedPipeResponse}. */ @Test void testConstructor() { // The constructor is called in setUp(), so we just verify the result. assertNotNull(response, "The response object should not be null."); } /** * Tests the writeSetupWireFormat method. */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java
import org.mockito.junit.jupiter.MockitoExtension; import jcifs.Configuration; /** * Tests for {@link SmbComSetInformationResponse}. * * Tests focus on the wire format methods which all return 0, * and the toString method implementation. */ @ExtendWith(MockitoExtension.class) @DisplayName("SmbComSetInformationResponse tests") public class SmbComSetInformationResponseTest { @Mock private Configuration mockConfig;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/https/HandlerTest.java
/** * Test suite for jcifs.https.Handler class. * Tests HTTPS URL stream handler functionality with NTLM authentication support. */ @DisplayName("HTTPS Handler Tests") class HandlerTest { private Handler handler; @BeforeEach void setUp() { handler = new Handler(null); } @Nested @DisplayName("Constructor Tests") class ConstructorTests { @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.6K bytes - Viewed (0)