Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 1,022 for Unit (0.02 sec)

  1. src/test/java/org/codelibs/fess/crawler/util/FieldConfigsTest.java

     */
    package org.codelibs.fess.crawler.util;
    
    import java.util.Collections;
    import java.util.Map;
    
    import org.apache.groovy.util.Maps;
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class FieldConfigsTest extends UnitFessTestCase {
        public void test_empty() {
            final FieldConfigs fieldConfigs = new FieldConfigs(Collections.emptyMap());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 04 06:20:49 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/validation/UriTypeValidatorTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.validation;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    
    public class UriTypeValidatorTest extends UnitFessTestCase {
        public void test_check_ok() {
            String[] protocols;
            String values;
    
            protocols = new String[] { "http:" };
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/concurrent/Task.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.concurrent
    
    /**
     * A unit of work that can be executed one or more times.
     *
     * Recurrence
     * ----------
     *
     * Tasks control their recurrence schedule. The [runOnce] function returns -1L to signify that the
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/tasks/PackageListGenerator.kt

            private
            fun openJarFile(file: Path): ZipInputStream {
                return ZipInputStream(Files.newInputStream(file))
            }
        }
    
        /**
         * Implementation code that can be unit-tested.
         *
         * <p>Visible for testing.</p>
         */
        class Implementation(private val excludes: List<String>, private val includes: List<String>) {
            fun collectPackages(files: Iterable<Path>): Trie {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Oct 11 19:14:16 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/ResponseJvmTest.kt

            }
          }
        return source.buffer().asResponseBody(null, -1)
      }
    
      private fun newResponse(
        responseBody: ResponseBody,
        code: Int = 200,
        fn: Response.Builder.() -> Unit = {},
      ): Response {
        return Response.Builder()
          .request(
            Request.Builder()
              .url("https://example.com/")
              .build(),
          )
          .protocol(Protocol.HTTP_1_1)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/VerifyTest.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    
    /** Unit test for {@link com.google.common.base.Verify}. */
    @GwtCompatible(emulated = true)
    public class VerifyTest extends TestCase {
      public void testVerify_simple_success() {
        verify(true);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Futures.java

       *
       * <p>The delegate future is interrupted and cancelled if it times out.
       *
       * @param delegate The future to delegate to.
       * @param time when to time out the future
       * @param unit the time unit of the time parameter
       * @param scheduledExecutor The executor service to enforce the timeout.
       * @since 19.0
       */
      @J2ktIncompatible
      @GwtIncompatible // java.util.concurrent.ScheduledExecutorService
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/AbstractLoadingCacheTest.java

    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link AbstractLoadingCache}.
     *
     * @author Charles Fry
     */
    public class AbstractLoadingCacheTest extends TestCase {
    
      public void testGetUnchecked_checked() {
        final Exception cause = new Exception();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/LinkedHashMultisetTest.java

    import com.google.common.collect.testing.google.TestStringMultisetGenerator;
    import java.util.List;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Unit test for {@link LinkedHashMultiset}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class LinkedHashMultisetTest extends TestCase {
    
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/FuturesGetChecked.java

          Future<V> future, Class<X> exceptionClass, long timeout, TimeUnit unit) throws X {
        // TODO(cpovirk): benchmark a version of this method that accepts a GetCheckedTypeValidator
        bestGetCheckedTypeValidator().validateClass(exceptionClass);
        try {
          return future.get(timeout, unit);
        } catch (InterruptedException e) {
          currentThread().interrupt();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:40:56 UTC 2024
    - 11.9K bytes
    - Viewed (0)
Back to top