Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 212 for Cock (0.08 sec)

  1. android/guava-testlib/src/com/google/common/util/concurrent/testing/MockFutureListener.java

    import com.google.common.util.concurrent.ListenableFuture;
    import java.util.concurrent.CountDownLatch;
    import java.util.concurrent.ExecutionException;
    import junit.framework.Assert;
    
    /**
     * A simple mock implementation of {@code Runnable} that can be used for testing ListenableFutures.
     *
     * @author Nishant Thakkar
     * @since 10.0
     */
    @GwtIncompatible
    public class MockFutureListener implements Runnable {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri May 12 18:12:42 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainBeforeHook.java

            processDBFluteSystem();
        }
    
        protected void processDBFluteSystem() {
            DBFluteSystem.unlock();
            DBFluteSystem.setFinalTimeZoneProvider(createFinalTimeZoneProvider());
            DBFluteSystem.lock();
        }
    
        protected DfFinalTimeZoneProvider createFinalTimeZoneProvider() {
            return new DfFinalTimeZoneProvider() {
                protected final TimeZone provided = FessUserTimeZoneProcessProvider.centralTimeZone;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/eventbus/StringCatcher.java

    import java.util.ArrayList;
    import java.util.List;
    import junit.framework.Assert;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A simple EventSubscriber mock that records Strings.
     *
     * <p>For testing fun, also includes a landmine method that EventBus tests are required not
     * to call ({@link #methodWithoutAnnotation(String)}).
     *
     * @author Cliff Biffle
     */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

    import org.testcontainers.junit.jupiter.Testcontainers
    
    @Testcontainers
    @Isolated
    class BasicLoomTest {
      @JvmField
      @RegisterExtension
      val platform = PlatformRule()
    
      // Use mock server so we are strictly testing OkHttp client only in this test.
      // We should test MockWebServer later.
      @Container
      val mockServer: MockServerContainer = MockServerContainer(MOCKSERVER_IMAGE)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.7K bytes
    - Viewed (1)
  5. 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)
  6. 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)
  7. 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)
  8. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            originalJobHelper = ComponentUtil.hasComponent("jobHelper") ? ComponentUtil.getJobHelper() : null;
    
            // Register mock helpers
            ComponentUtil.register(new SystemHelper() {
                @Override
                public String getLogFilePath() {
                    return tempDir.getAbsolutePath();
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

     */
    
    package mockwebserver3
    
    import java.io.IOException
    import okhttp3.Handshake
    import okhttp3.Headers
    import okhttp3.HttpUrl
    import okio.ByteString
    
    /** An HTTP request that came into the mock web server. */
    public class RecordedRequest(
      /**
       * The index of the socket connection that carried this request. If two recorded requests share a
       * connection index, they also shared a socket connection.
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/SearchHelperTest.java

            assertNotNull(compressed);
            assertTrue(compressed.length > 0);
        }
    
        // Helper methods for creating mock objects
        private SearchRequestParams createMockSearchRequestParams() {
            return new MockSearchRequestParams();
        }
    
        // Mock classes
        private static class MockFessConfig extends FessConfig.SimpleImpl {
            private static final long serialVersionUID = 1L;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 18.9K bytes
    - Viewed (0)
Back to top