- Sort Score
- Num 10 results
- Language All
Results 561 - 570 of 653 for mocks (0.04 seconds)
-
src/test/java/org/codelibs/fess/entity/QueryContextTest.java
private QueryContext queryContext; @Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); // Set up FessConfig mock ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() { private static final long serialVersionUID = 1L; @Override public String getIndexFieldUrl() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java
assertEquals("framework.debug", FessEnv.FRAMEWORK_DEBUG); assertEquals("time.adjust.time.millis", FessEnv.TIME_ADJUST_TIME_MILLIS); assertEquals("mail.send.mock", FessEnv.MAIL_SEND_MOCK); assertEquals("mail.smtp.server.main.host.and.port", FessEnv.MAIL_SMTP_SERVER_MAIN_HOST_AND_PORT); assertEquals("mail.subject.test.prefix", FessEnv.MAIL_SUBJECT_TEST_PREFIX);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 15.6K bytes - Click Count (0) -
README.md
for new features. As such you might find your needs outgrow MockWebServer and you may which to use a more full featured testing library such as [MockServer](https://www.mock-server.com/). GraalVM Native Image -------------------- Building your native images with [GraalVM] should work automatically. See the okcurl module for an example build. ```shell
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Oct 30 21:39:59 GMT 2025 - 9.5K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Stopwatch.java
* that is already in the desired state. * * <p>When testing code that uses this class, use {@link #createUnstarted(Ticker)} or {@link * #createStarted(Ticker)} to supply a fake or mock ticker. This allows you to simulate any valid * behavior of the stopwatch. * * <p><b>Note:</b> This class is not thread-safe. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Oct 08 18:55:33 GMT 2025 - 9.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java
import java.util.concurrent.ExecutionException; import java.util.concurrent.Executor; import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeoutException; import java.util.concurrent.locks.AbstractQueuedSynchronizer; import org.jspecify.annotations.NullUnmarked; import org.jspecify.annotations.Nullable; /** Utilities for the AbstractFutureBenchmarks */ @NullUnmarked @GwtIncompatible @J2ktIncompatible
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 13.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/api/chat/ChatApiManagerTest.java
final String[] result = chatApiManager.parseExtraQueries(request); assertEquals(1, result.length); assertEquals("filetype:HTML OR filetype:WORD", result[0]); } /** * Simple mock HttpServletRequest for testing. */ private static class MockHttpServletRequest extends jakarta.servlet.http.HttpServletRequestWrapper { private String servletPath; private String method = "POST";
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 14 01:39:16 GMT 2026 - 35K bytes - Click Count (0) -
internal/grid/manager.go
type Manager struct { // ID is an instance ID, that will change whenever the server restarts. // This allows remotes to keep track of whether state is preserved. ID uuid.UUID // Immutable after creation, so no locks. targets map[string]*Connection // serverside handlers. handlers handlers // local host name. local string // authToken is a function that will validate a token. authToken ValidateTokenFnCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Nov 12 20:41:41 GMT 2024 - 10.8K bytes - Click Count (0) -
cmd/namespace-lock.go
func (di *distLockInstance) RUnlock(lc LockContext) { if lc.cancel != nil { lc.cancel() } di.rwMutex.RUnlock(lc.ctx) } // localLockInstance - frontend/top-level interface for namespace locks. type localLockInstance struct { ns *nsLockMap volume string paths []string opsID string } // NewNSLock - returns a lock instance for a given volume and
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 9.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/BuildPlanExecutor.java
import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ExecutionException; import java.util.concurrent.Executors; import java.util.concurrent.locks.ReadWriteLock; import java.util.concurrent.locks.ReentrantReadWriteLock; import java.util.stream.Collectors; import java.util.stream.Stream; import org.apache.maven.api.Lifecycle; import org.apache.maven.api.MonotonicClock;
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 55.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/ldap/LdapUserTest.java
testEnv.put("test.key", "test.value"); ldapUser = new LdapUser(testEnv, "testuser"); ComponentUtil.register(new SystemHelper(), "systemHelper"); // Register a mock LdapManager to avoid NPE ComponentUtil.register(new LdapManager() { // Override methods that are called in tests }, "ldapManager"); } @Override
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16.9K bytes - Click Count (0)