- Sort Score
- Result 10 results
- Languages All
Results 391 - 400 of 2,760 for 2test (0.03 sec)
-
src/test/java/jcifs/smb/SmbTransportPoolImplTest.java
when(config.getLogonShare()).thenReturn("IPC$"); // Default address values when(address.getHostName()).thenReturn("test.host"); when(address.getHostAddress()).thenReturn("192.168.1.100"); } @Test @DisplayName("Should distinguish between pooled and non-pooled connections") void testPooledVsNonPooledConnections() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 19.2K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/admin/searchlist/admin_searchlist.jsp
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Sep 24 13:09:22 UTC 2020 - 20K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/DataStoreTest.java
} @Override public void stop() { // Do nothing } }; // Create test data DataConfig config = new DataConfig(); config.setName("test-config"); DataStoreParams params = new DataStoreParams(); params.put("key1", "value1"); params.put("key2", "value2");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import org.junit.jupiter.api.Test; import jcifs.Configuration; class AvSingleHostTest { /** * Test constructor AvSingleHost(byte[] raw). * Should correctly parse the raw bytes. */ @Test void testAvSingleHostRawConstructor() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacUnicodeStringTest.java
import static org.junit.jupiter.api.Assertions.assertThrows; import org.junit.jupiter.api.Test; /** * Tests for the {@link PacUnicodeString} class. */ class PacUnicodeStringTest { /** * Tests the constructor and getter methods. */ @Test void testConstructorAndGetters() { // Create a new instance with some test data short length = 10; short maxLength = 20;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.7K bytes - Viewed (0) -
cmd/generic-handlers_test.go
} return header } func TestIsHTTPHeaderSizeTooLarge(t *testing.T) { for i, test := range isHTTPHeaderSizeTooLargeTests { if res := isHTTPHeaderSizeTooLarge(test.header); res != test.shouldFail { t.Errorf("Test %d: Expected %v got %v", i, res, test.shouldFail) } } } var containsReservedMetadataTests = []struct { header http.Header shouldFail bool }{
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/context/BaseContextTest.java
assertTrue(resource.getLocator().getURL().toString().contains("server/share/file.txt"), "Resource should contain URL path"); } @Test @DisplayName("get method should handle various URL formats successfully") void testGetSmbResourceWithValidURLs() throws CIFSException { // Test that these URLs can be created successfully String[] validUrls = { "smb://server/", "smb://server/share/", "smb://server/share/file.txt" };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java
final Pattern pattern = Pattern.compile("test"); final Matcher matcher = pattern.matcher("test"); final BiFunction<String, Matcher, String> pathMatcher = pathMappingHelper.createPathMatcher(matcher, "function:encodeUrl"); String result = pathMatcher.apply("http://example.com/test path", matcher); assertEquals("http://example.com/test+path", result); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 14.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportInternalTest.java
// Arbitrary behavior mapping for test purposes return (h && !u) || (!h && u); }); boolean result = transport.disconnect(hard, inuse); assertEquals(expected, result); verify(transport, times(1)).disconnect(hard, inuse); } // Error case: disconnect throws IOException @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.1K bytes - Viewed (0)