- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for TestDomain (0.07 sec)
-
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
*/ @Test public void testConcurrentTreeOperationsThreadSafe() throws Exception { // Given SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport); int threadCount = 10; int opsPerThread = 100; ExecutorService executor = Executors.newFixedThreadPool(threadCount); CountDownLatch startLatch = new CountDownLatch(1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type3MessageTest.java
// Create a machine ID (32 bytes) byte[] machineId = new byte[32]; mockRandom.nextBytes(machineId); lenient().when(mockConfig.getDefaultDomain()).thenReturn("TESTDOMAIN"); lenient().when(mockConfig.isUseUnicode()).thenReturn(true); lenient().when(mockConfig.getOemEncoding()).thenReturn("UTF-8"); lenient().when(mockConfig.getRandom()).thenReturn(mockRandom);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.3K bytes - Viewed (0) -
src/test/java/jcifs/config/PropertyConfigurationTest.java
props.setProperty("jcifs.smb.client.username", "testuser"); props.setProperty("jcifs.smb.client.password", "testpass"); props.setProperty("jcifs.smb.client.domain", "testdomain"); props.setProperty("jcifs.netbios.hostname", "testhost"); props.setProperty("jcifs.netbios.scope", ""); props.setProperty("jcifs.smb.client.connTimeout", "35000");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
// Warm up JVM to reduce JIT compilation effects for (int i = 0; i < 100; i++) { NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("testdomain", "testuser", "password123"); NtlmPasswordAuthenticator auth2 = new NtlmPasswordAuthenticator("testdomain", "testuser", "password124"); auth1.equals(auth2); } } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type1MessageTest.java
} @Test @DisplayName("Should create Type 1 message with domain and workstation") void testType1MessageWithDomainAndWorkstation() { // Given String domain = "TESTDOMAIN"; String workstation = "TESTWS"; int flags = NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE | NtlmFlags.NTLMSSP_NEGOTIATE_OEM_DOMAIN_SUPPLIED | NtlmFlags.NTLMSSP_NEGOTIATE_OEM_WORKSTATION_SUPPLIED;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java
} @Test @DisplayName("Test constructor with mock configuration") void testConstructorWithMockConfig() { String domain = "TESTDOMAIN"; int serverTypes = 0x00000801; netServerEnum2 = new NetServerEnum2(mockConfig, domain, serverTypes); assertNotNull(netServerEnum2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/NetServerEnumIteratorTest.java
when(parent.getLocator()).thenReturn(locator); when(treeHandle.getConfig()).thenReturn(config); when(treeHandle.acquire()).thenReturn(treeHandle); when(treeHandle.getOEMDomainName()).thenReturn("TESTDOMAIN"); } @Test @DisplayName("Constructor should throw SmbException for non-workgroup type with host") void testConstructor_NonWorkgroupType_ThrowsException() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/RequestWithPathTest.java
} @Test @DisplayName("Test setFullUNCPath with all parameters") void testSetFullUNCPath() { // Test with mock String domain = "TESTDOMAIN"; String server = "testserver"; String fullPath = "\\\\testserver\\share\\test"; doNothing().when(requestWithPath).setFullUNCPath(domain, server, fullPath);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
*/ class PacLogonInfoTest { private static final long TEST_FILETIME = 130640000000000000L; private static final String TEST_USERNAME = "testuser"; private static final String TEST_DOMAIN = "TESTDOMAIN"; private static final String TEST_SERVER = "SERVER01"; private SID domainSid; private SID userSid; @BeforeEach void setUp() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/CriticalPerformanceTest.java
Mockito.when(mockTransport.acquire()).thenReturn(mockTransport); SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport); int threadCount = 10; int operationsPerThread = 200; ExecutorService executor = Executors.newFixedThreadPool(threadCount);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 15.3K bytes - Viewed (0)