- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 2,760 for 2test (0.03 sec)
-
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) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
import static org.mockito.Mockito.when; import java.util.Arrays; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; import org.mockito.Mock;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 23.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
@Test @DisplayName("getLastWriteTime should return initial value of 0") void testGetLastWriteTime() { assertEquals(0, response.getLastWriteTime()); } @Test @DisplayName("getChangeTime should return initial value of 0") void testGetChangeTime() { assertEquals(0, response.getChangeTime()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/sso/SsoManagerTest.java
} }; String logoutUrl = ssoManager.logout(null); assertEquals(expectedLogoutUrl, logoutUrl); } // Test getAuthenticator() method public void test_getAuthenticator_whenComponentExists() { currentSsoType = "test"; ComponentUtil.register(testAuthenticator, "testAuthenticator"); ssoManager = new SsoManager() { @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/MultiChannelIntegrationTest.java
assertEquals(ChannelState.FAILED, channel.getState()); } @Test void testLoadBalancingStrategies() throws Exception { // Test different load balancing strategies ChannelLoadBalancer loadBalancer = new ChannelLoadBalancer(channelManager); // Test setting different strategies
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 8.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/api/WebApiManagerTest.java
assertFalse(manager.matches(request)); } public void test_matches_withNullRequest() { // Test null request handling WebApiManager manager = new TestWebApiManager("/api"); assertFalse(manager.matches(null)); } public void test_matches_withEmptyPath() { // Test empty path matching WebApiManager manager = new TestWebApiManager("");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 26.6K bytes - Viewed (0) -
cmd/os-readdir_test.go
} } } // Represents data type for all the test results. type result struct { dir string entries []string } // Test to read empty directory. func setupTestReadDirEmpty(t *testing.T) (testResults []result) { // Add empty entry slice for this test directory. testResults = append(testResults, result{t.TempDir(), []string{}}) return testResults } // Test to read non-empty directory with only files.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImplTest.java
} public void test_store_withValidData() { // Prepare test data DataStoreParams paramMap = new DataStoreParams(); Map<String, Object> dataMap = new HashMap<>(); dataMap.put("url", "http://example.com/test"); dataMap.put("title", "Test Document"); // Execute indexUpdateCallback.store(paramMap, dataMap); // Verify
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java
} // Test for LsarClose @Test void testLsarCloseConstructorAndGetOpnum() { rpc.policy_handle mockHandle = mock(rpc.policy_handle.class); lsarpc.LsarClose lsarClose = new lsarpc.LsarClose(mockHandle); assertEquals(mockHandle, lsarClose.handle); assertEquals(0x00, lsarClose.getOpnum()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 60.8K bytes - Viewed (0)