- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 99 for test_main (0.04 sec)
-
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/main/resources/mail/testmail.dfmail
Shinsuke Sugaya <******@****.***> 1455285178 +0900
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Feb 12 13:52:58 UTC 2016 - 146 bytes - Viewed (0) -
src/cmd/addr2line/addr2line_test.go
package main import ( "bufio" "bytes" "internal/testenv" "os" "path/filepath" "runtime" "strings" "testing" ) // TestMain executes the test binary as the addr2line command if // GO_ADDR2LINETEST_IS_ADDR2LINE is set, and runs the tests otherwise. func TestMain(m *testing.M) { if os.Getenv("GO_ADDR2LINETEST_IS_ADDR2LINE") != "" { main() os.Exit(0) }
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Sep 06 13:23:48 UTC 2024 - 3.2K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmServletTest.java
ntlmServlet = new TestNtlmServlet(); // Mock ServletConfig to provide initialization parameters Map<String, String> initParams = new HashMap<>(); initParams.put("jcifs.smb.client.domain", "TEST_DOMAIN"); initParams.put("jcifs.http.domainController", "dc.test.domain"); initParams.put("jcifs.http.enableBasic", "true"); initParams.put("jcifs.http.insecureBasic", "true");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SimpleMemoryManagementTest.java
* Test basic session lifecycle management */ @Test @Timeout(5) public void testSessionLifecycle() throws Exception { SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport); // Test initial state - session starts with usage count > 0 due to transport.acquire() assertTrue(session.isInUse(), "New session should be in use due to transport acquisition");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
* @throws CIFSException */ @Test void testGetOEMDomainName() throws CIFSException { when(smbTreeHandle.getOEMDomainName()).thenReturn("TEST_DOMAIN"); assertEquals("TEST_DOMAIN", smbTreeHandle.getOEMDomainName(), "OEM domain name should be TEST_DOMAIN"); } /** * Test for getOEMDomainName() method throwing CIFSException. * @throws CIFSException */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
assertEquals(2, Type2Message.readUShort(targetInfo, 0)); // Type 0x0002 assertEquals(TEST_DOMAIN.getBytes(Type2Message.UNI_ENCODING).length, Type2Message.readUShort(targetInfo, 2)); // Length assertEquals(TEST_DOMAIN, new String(Arrays.copyOfRange(targetInfo, 4, 4 + TEST_DOMAIN.getBytes(Type2Message.UNI_ENCODING).length), Type2Message.UNI_ENCODING));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpFilterTest.java
Properties props = new Properties(); props.setProperty("jcifs.smb.client.domain", "TEST_DOMAIN"); CIFSContext context = new BaseContext(new PropertyConfiguration(props)); NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication(context, "TEST_DOMAIN", "user", "pass"); when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(auth);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 12.8K bytes - Viewed (0) -
internal/dsync/dsync_test.go
testDrwMutexUnlockCallTimeout = 250 * time.Millisecond testDrwMutexForceUnlockCallTimeout = 250 * time.Millisecond testDrwMutexRefreshInterval = 100 * time.Millisecond ) // TestMain initializes the testing framework func TestMain(m *testing.M) { startLockServers() // Initialize locker clients for dsync. var clnts []NetLocker for i := range nodes { clnts = append(clnts, newClient(nodes[i].URL)) }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 10.8K bytes - Viewed (0)