- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 784 for mock (0.03 sec)
-
src/test/java/org/codelibs/fess/indexer/IndexUpdaterTest.java
// Do nothing in test } } private static class TestClickLogBhv extends ClickLogBhv { // Mock implementation } private static class TestFavoriteLogBhv extends FavoriteLogBhv { // Mock implementation } private static class TestIngestFactory extends IngestFactory { private boolean throwException = false;Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 33K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java
assertTrue(labelTypeHelper instanceof AbstractConfigHelper); } public void test_load_returnValue() { int result = labelTypeHelper.load(); assertEquals(2, result); // Based on mock data } public void test_getMatchedLabelValueSet_multipleMatches() { // Load some test data first labelTypeHelper.load();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 12.4K bytes - Viewed (0) -
futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java
* SettableFuture} or one of the methods in the {@link Futures#immediateFuture Futures.immediate*} * family. <b>Avoid</b> creating a mock or stub {@code Future}. Mock and stub implementations are * fragile because they assume that only certain methods will be called and because they often * implement subtleties of the API improperly. *Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/TestLockingTest.java
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.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; /** * JUnit 5 tests for {@link TestLocking}. * Tests command line argument parsing and basic field initialization.Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.9K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ListenableFuture.java
* SettableFuture} or one of the methods in the {@link Futures#immediateFuture Futures.immediate*} * family. <b>Avoid</b> creating a mock or stub {@code Future}. Mock and stub implementations are * fragile because they assume that only certain methods will be called and because they often * implement subtleties of the API improperly. *Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 8K bytes - Viewed (0) -
okhttp/src/jvmTest/resources/web-platform-test-urltestdata.txt
///test s:file p:/test file://test s:file h:test p:/ file://localhost s:file h:localhost p:/ file://localhost/ s:file h:localhost p:/ file://localhost/test s:file h:localhost p:/test test s:file p:/tmp/mock/test file:test s:file p:/tmp/mock/test # Based on http://trac.webkit.org/browser/trunk/LayoutTests/fast/url/script-tests/path.js http://example.com/././foo about:blank s:http h:example.com p:/foo
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 14.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CrawlingInfoHelperTest.java
assertEquals("new_value1", crawlingInfoHelper.infoMap.get("key1")); } public void test_store_create() { final String sessionId = "test-session-123"; // Mock CrawlingInfoService ComponentUtil.register(new CrawlingInfoService() { private CrawlingInfo storedInfo; private List<CrawlingInfoParam> storedParams; @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 26.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java
import org.junit.jupiter.api.Test; import org.mockito.Mock; import org.mockito.MockitoAnnotations; import jcifs.Configuration; import jcifs.SmbConstants; import jcifs.internal.SMBProtocolDecodingException; import jcifs.internal.util.SMBUtil; import jcifs.util.Strings; /** * Test class for FileBothDirectoryInfo */ class FileBothDirectoryInfoTest { @Mock private Configuration mockConfig;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java
@Override protected long getCurrentTime() { return System.currentTimeMillis(); } }; roleQueryHelper.init(); // Mock request with cached USER_ROLES Set<String> cachedRoles = new HashSet<>(); cachedRoles.add("cached_role"); getMockRequest().setAttribute("userRoles", cachedRoles);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 28.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java
assertSame(dataStore2, dataStoreFactory.getDataStore("store")); } // Test getDataStoreNames with caching public void test_getDataStoreNames_caching() { // Mock the loadDataStoreNameList to control behavior final int[] loadCount = { 0 }; DataStoreFactory testFactory = new DataStoreFactory() { @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.8K bytes - Viewed (0)