- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for clearProperty (0.64 sec)
-
src/test/java/jcifs/context/SingletonContextTest.java
} // Clear system properties that might affect the test System.clearProperty("jcifs.properties"); System.clearProperty("java.protocol.handler.pkgs"); // Clear jcifs-specific properties to prevent test interference System.clearProperty("jcifs.smb.client.nativeOs"); System.clearProperty("jcifs.smb.client.nativeLanMan"); } @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
} finally { // Cleanup if (originalValue != null) { System.setProperty("jcifs.smb.client.domain", originalValue); } else { System.clearProperty("jcifs.smb.client.domain"); } } }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/smb1/smb1/NtlmPasswordAuthenticationTest.java
// Restore original property if (originalLmCompatibility != null) { jcifs.smb1.Config.setProperty("jcifs.smb1.smb.lmCompatibility", originalLmCompatibility); } else { System.clearProperty("jcifs.smb1.smb.lmCompatibility"); } } // Test constructor with domain, username, and password @Test void testConstructorWithDomainUsernamePassword() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
src/test/java/jcifs/http/HandlerTest.java
// This test verifies that when the system property is null, the handler // falls back to using default handlers without throwing NullPointerException. System.clearProperty("java.protocol.handler.pkgs"); setupMockProtocolHandlers(); URL url = new URL("http://example.com/resource"); URLConnection connection = handler.openConnection(url);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.1K bytes - Viewed (0)