- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for testdomain (0.05 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
String mixedCaseDomain = "TestDomain"; String mixedCaseUser = "TestUser"; // When Type3Message type3 = new Type3Message(createMockContext(), type2, null, "password", mixedCaseDomain, mixedCaseUser, "WORKSTATION", 0); // Then assertEquals(mixedCaseDomain, type3.getDomain()); assertEquals(mixedCaseUser, type3.getUser()); }
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 getDomain returns correct domain") void testGetDomain() { // Test with mock String expectedDomain = "WORKGROUP"; when(requestWithPath.getDomain()).thenReturn(expectedDomain); assertEquals(expectedDomain, requestWithPath.getDomain()); verify(requestWithPath, times(1)).getDomain(); // Test with implementation
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/internal/dfs/DfsReferralDataImplTest.java
class PropertyTests { @Test @DisplayName("Should get and set domain") void testDomain() { assertNull(referralData.getDomain()); referralData.setDomain("EXAMPLE.COM"); assertEquals("EXAMPLE.COM", referralData.getDomain()); } @Test @DisplayName("Should get and set link") void testLink() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0)