- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for testable (1.23 sec)
-
src/test/java/jcifs/config/BaseConfigurationTest.java
testConfig.disallowCompound = customDisallow; testConfig.initDefaults(); assertEquals(customDisallow, testConfig.disallowCompound); } /** * Testable subclass that exposes the default constructor */ private static class TestableBaseConfiguration extends BaseConfiguration { TestableBaseConfiguration() throws CIFSException { super(true);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java
// Initial state assertNull(testRule.getRuleId()); // Set rule ID testRule.setRuleId("testRule1"); assertEquals("testRule1", testRule.getRuleId()); // Change rule ID testRule.setRuleId("changedRule"); assertEquals("changedRule", testRule.getRuleId()); // Set null rule ID testRule.setRuleId(null);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 21.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java
} /** * Test rule order preservation */ public void test_ruleOrderPreservation() { TestRule rule1 = new TestRule("rule1", false); TestRule rule2 = new TestRule("rule2", true); TestRule rule3 = new TestRule("rule3", false); TestRule rule4 = new TestRule("rule4", true); ruleManager.addRule(rule1); ruleManager.addRule(rule2); ruleManager.addRule(rule3);Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 23.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java
TestResponseProcessor sharedProcessor = new TestResponseProcessor("shared"); TestRule rule1 = new TestRule("rule1", sharedProcessor, true); TestRule rule2 = new TestRule("rule2", sharedProcessor, false); TestRule rule3 = new TestRule("rule3", sharedProcessor, true); // Same processor instance assertSame(sharedProcessor, rule1.getResponseProcessor());
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 22.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java
} @Test @DisplayName("Test decode with replaceIfExists true") void testDecodeWithReplaceIfExistsTrue() throws SMBProtocolDecodingException { String originalFileName = "testfile.txt"; byte[] nameBytes = originalFileName.getBytes(StandardCharsets.UTF_16LE); byte[] buffer = new byte[100]; buffer[0] = 1; // replaceIfExists = true // Skip 7 reserved bytes (1-7)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java
byte[] buffer = createValidNotificationBuffer("testfile.txt", FileNotifyInformation.FILE_ACTION_ADDED); FileNotifyInformationImpl info = new FileNotifyInformationImpl(buffer, 0, buffer.length); assertNotNull(info); assertEquals(FileNotifyInformation.FILE_ACTION_ADDED, info.getAction()); assertEquals("testfile.txt", info.getFileName()); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbTreeTest.java
tree.connectionState = 2; // Connected state tree.tid = 123; // Create real request and response objects since they're not interfaces ServerMessageBlock request = new SmbComOpenAndX("testfile.txt", 0x01, 0, null); ServerMessageBlock response = new SmbComOpenAndXResponse(); // Execute send tree.send(request, response); // Verify session.send was called and tid was setRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java
// Protocol ID is a constant in transform header, not settable // This test is not applicable - the protocol ID is always TRANSFORM_PROTOCOL_ID assertTrue(true); } @Test @DisplayName("Should handle invalid protocol ID length") void testInvalidProtocolIdLength() { // Protocol ID is a constant in transform header, not settable // Testing invalid protocol ID during decode insteadRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
void testGetName() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = createValidBuffer("testfile.txt", "TEST~1.TXT", true); // Decode fileBothDirectoryInfo.decode(buffer, 0, buffer.length); // Verify assertEquals("testfile.txt", fileBothDirectoryInfo.getName()); } @Test @DisplayName("Test getType returns TYPE_FILESYSTEM")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
SmbFile dir = new SmbFile("smb://server/share/testdir/", context); SmbFile testFile = new SmbFile("smb://server/share/testdir/newfile.txt", context); // Get initial listing (establishes cache) SmbFile[] initialFiles = dir.listFiles(); // Create new file testFile.createNewFile(); // Wait for change notification Thread.sleep(2000);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0)