- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 3,275 for Test (0.04 sec)
-
src/test/java/org/codelibs/curl/CurlExceptionTest.java
import static org.junit.Assert.assertTrue; import java.io.IOException; import org.junit.Test; /** * Test class for CurlException. * Tests exception creation, message handling, and cause propagation. */ public class CurlExceptionTest { @Test public void testConstructorWithMessage() { String message = "Test error message"; CurlException exception = new CurlException(message);
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/DfsResolverTest.java
when(mockContext.getConfig()).thenReturn(mockConfig); } // Test for isTrustedDomain method @Test void testIsTrustedDomain_DfsDisabled() throws CIFSException { when(mockConfig.isDfsDisabled()).thenReturn(true); assertFalse(dfsResolver.isTrustedDomain(mockContext, "anyDomain")); } @Test void testIsTrustedDomain_NoUserDomain() throws CIFSException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java
import javax.security.auth.login.LoginException; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockedConstruction; import org.mockito.Mockito; import org.mockito.MockitoAnnotations; /** * Test class for KerberosCredentials. */ class KerberosCredentialsTest { @Mock private LoginContext loginContext; @Mock
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java
class ConstructorTests { @Test @DisplayName("Should create response with configuration") void testConstructor() { Smb2EchoResponse response = new Smb2EchoResponse(mockConfig); assertNotNull(response); assertEquals(mockConfig, response.getConfig()); } @Test @DisplayName("Should extend ServerMessageBlock2Response")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import jcifs.smb.SmbFile; class Trans2FindFirst2ResponseTest { private Trans2FindFirst2Response response; @BeforeEach void setUp() { response = new Trans2FindFirst2Response(); } // Test cases for SmbFindFileBothDirectoryInfo inner class @Test void testSmbFindFileBothDirectoryInfo_Getters() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/RequestParameterTest.java
} public void test_toString_withSpecialCharacters() { // Test toString with special characters String name = "special[]param"; String[] values = { "[value]", ",comma,", "quote\"test" }; RequestParameter param = new RequestParameter(name, values); String expected = "[special[]param, [[value], ,comma,, quote\"test]]"; assertEquals(expected, param.toString()); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
clientListener.assertClosed(1000, "") serverListener.assertClosed(1000, "") } @Test fun wsScheme() { assumeNotWindows() websocketScheme("ws") } @Test fun wsUppercaseScheme() { websocketScheme("WS") } @Test fun wssScheme() { webServer.useHttps(handshakeCertificates.sslSocketFactory()) client = client
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 35.5K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
} /** * Test a successful NTLM authentication handshake. * This is a simplified test that verifies the basic flow without full NTLM protocol simulation. * @throws IOException * @throws SecurityException */ @Test void testSuccessfulHandshake() throws IOException, SecurityException { // This test is simplified to verify basic handshake behavior
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
private SmbPipeHandle mockSmbPipeHandle; @Mock private BufferCache mockBufferCache; private static final String TEST_URL = "ncacn_np:server[\\pipe\\test]"; private static final String TEST_SERVER = "server"; private static final String TEST_ENDPOINT = "\\pipe\\test"; @BeforeEach void setUp() throws IOException { // Setup mock behavior with lenient stubbing to avoid UnnecessaryStubbingException
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TransTransactNamedPipeResponseTest.java
*/ @Test void testToString() { String result = response.toString(); assertNotNull(result, "toString() should not return null."); } // Helper method to access the super.toString() for verification, // as we cannot call it directly from the test. // This requires a package-private or public method in the class under test,
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.3K bytes - Viewed (0)