- Sort Score
- Result 10 results
- Languages All
Results 561 - 570 of 2,907 for 2test (0.03 sec)
-
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
remoteInterface = new NetworkInterfaceInfo(remoteAddr, 1000); channelInfo = new ChannelInfo("test-channel", mockTransport, localInterface, remoteInterface); } @Test void testConstructor() { assertEquals("test-channel", channelInfo.getChannelId()); assertEquals(mockTransport, channelInfo.getTransport());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/exception/SUnsupportedOperationExceptionTest.java
import static org.junit.Assert.assertThat; import org.junit.Test; /** * @author wyukawa * */ public class SUnsupportedOperationExceptionTest { /** * Test method for * {@link org.codelibs.core.exception.ClUnsupportedOperationException#SUnsupportedOperationException()} * . */ @Test public void testSUnsupportedOperationException() {Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2.9K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNull; import org.junit.jupiter.api.Test; class AvChannelBindingsTest { /** * Test that the constructor correctly initializes with a valid channel binding hash. */ @Test void testConstructorWithValidHash() { byte[] testHash = { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/AddressTest.kt
import okhttp3.internal.http.RecordingProxySelector import org.junit.jupiter.api.AfterEach import org.junit.jupiter.api.Test class AddressTest { private val factory = TestValueFactory().apply { uriHost = "example.com" uriPort = 80 } @AfterEach fun tearDown() { factory.close() } @Test fun equalsAndHashcode() { val a = factory.newAddress() val b = factory.newAddress()Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/text/TokenizerTest.java
*/ package org.codelibs.core.text; import static org.hamcrest.CoreMatchers.is; import static org.junit.Assert.assertThat; import org.junit.Test; /** * @author higa * */ public class TokenizerTest { /** * @throws Exception */ @Test public void testEOF() throws Exception { final Tokenizer tokenizer = new Tokenizer("");Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java
assertEquals("test\\?query", escaped2); // Test escaping both String query3 = "test*query?end"; String escaped3 = SuggestUtil.escapeWildcardQuery(query3); assertEquals("test\\*query\\?end", escaped3); // Test with no wildcards String query4 = "test query"; String escaped4 = SuggestUtil.escapeWildcardQuery(query4); assertEquals("test query", escaped4);
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Mon Sep 01 13:33:03 UTC 2025 - 18.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/filter/CorsFilterTest.java
} // Test with whitespace-only Origin header public void test_doFilter_whitespaceOriginHeader() throws IOException, ServletException { mockRequest.setHeader("Origin", " "); corsFilter.doFilter(mockRequest, mockResponse, mockFilterChain); assertTrue(mockFilterChain.wasDoFilterCalled()); assertFalse(corsHandlerFactory.wasGetCalled()); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/script/ScriptEngineTest.java
private ScriptEngine scriptEngine; @Override public void setUp() throws Exception { super.setUp(); // Create a test implementation of ScriptEngine scriptEngine = new TestScriptEngine(); } // Test evaluate method with valid template and parameters public void test_evaluate_withValidTemplateAndParams() { String template = "Hello ${name}";Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java
private sid_t mockSidT; private MsrpcLookupSids lookupSids; private jcifs.SID[] testSids; @BeforeEach void setUp() { // Setup is minimal - mocks are configured per test as needed } @Test void constructor_shouldInitializeWithValidParameters() { // Arrange jcifs.SID mockSid1 = mock(jcifs.SID.class); jcifs.SID mockSid2 = mock(jcifs.SID.class);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeTest.java
assertTrue(result.contains("pipeName=null")); } @ParameterizedTest @NullAndEmptySource @ValueSource(strings = { "\\PIPE\\test", "testpipe", "\\\\server\\pipe\\test", " ", "pipe with spaces" }) @DisplayName("toString should handle various pipe names") void testToStringWithVariousPipeNames(String pipeName) { // Arrange
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.4K bytes - Viewed (0)