Search Options

Results per page
Sort
Preferred Languages
Advance

Results 721 - 730 of 1,844 for test2 (0.07 sec)

  1. guava-tests/test/com/google/common/util/concurrent/TestExceptions.java

     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import com.google.common.annotations.GwtCompatible;
    
    /** Exception classes for use in tests. */
    @GwtCompatible
    final class TestExceptions {
      static class SomeError extends Error {}
    
      static class SomeCheckedException extends Exception {}
    
      static class SomeOtherCheckedException extends Exception {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/HeadersChallengesTest.kt

    import assertk.assertions.isNull
    import okhttp3.internal.http.parseChallenges
    import org.junit.jupiter.api.Disabled
    import org.junit.jupiter.api.Test
    
    class HeadersChallengesTest {
      /** See https://github.com/square/okhttp/issues/2780.  */
      @Test fun testDigestChallengeWithStrictRfc2617Header() {
        val headers =
          Headers.Builder()
            .add(
              "WWW-Authenticate",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/math/BigDecimalMathTest.java

            .test();
      }
    
      public void testRoundToDouble_smallPositive() {
        new RoundToDoubleTester(BigDecimal.valueOf(16)).setExpectation(16.0, values()).test();
      }
    
      public void testRoundToDouble_maxPreciselyRepresentable() {
        new RoundToDoubleTester(BigDecimal.valueOf(1L << 53))
            .setExpectation(Math.pow(2, 53), values())
            .test();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/MapTestSuiteBuilder.java

    import java.util.HashSet;
    import java.util.List;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.Set;
    import junit.framework.TestSuite;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a Map implementation.
     *
     * @author George van den Driessche
     */
    @GwtIncompatible
    public class MapTestSuiteBuilder<K, V>
        extends PerCollectionSizeTestSuiteBuilder<
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CacheTest.kt

      }
    
      /**
       * Test that response caching is consistent with the RI and the spec.
       * http://www.w3.org/Protocols/rfc2616/rfc2616-sec13.html#sec13.4
       */
      @Test
      fun responseCachingByResponseCode() {
        // Test each documented HTTP/1.1 code, plus the first unused value in each range.
        // http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
    
        // We can't test 100 because it's not really a response.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/impl/UrlFilterImplTest.java

            assertTrue(urlFilter.match("http://example.com/a"));
            assertFalse(urlFilter.match("http://test.com/"));
            assertFalse(urlFilter.match("http://test.com/a"));
    
        }
    
        public void test_match_include_case2() {
            urlFilter.addInclude("http://example.com/.*");
            urlFilter.addInclude("http://test.com/.*");
    
            final String sessionId = "id1";
            urlFilter.init(sessionId);
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_remote_function_test.cc

    }
    TEST(CAPI, RemoteExecuteSilentCopiesLocalAsyncFuncOrdering) {
      // A remote input may be not ready when we start running a function. Test that
      // the function execution should wait until the remote input is ready.
      TestRemoteExecuteSilentCopiesFunc(/*async=*/true, /*remote=*/false,
                                        /*heavy_load_on_streaming_rpc=*/true);
    }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Dec 11 22:56:03 UTC 2020
    - 3.6K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

            assertTrue(c2.compareTo(c1) > 0, "expected " + v2 + " > " + v1);
        }
    
        @Test
        void testVersionsQualifier() {
            checkVersionsOrder(VERSIONS_QUALIFIER);
        }
    
        @Test
        void testVersionsNumber() {
            checkVersionsOrder(VERSIONS_NUMBER);
        }
    
        @Test
        void testVersionsEqual() {
            newComparable("1.0-alpha");
            checkVersionsEqual("1", "1");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/JodExtractorTest.java

            super.tearDown();
        }
    
        public void test_getText_ooow() {
            InputStream in = ResourceUtil.getResourceAsStream("extractor/ooo/test.odt");
            Map<String, String> params = new HashMap<String, String>();
            params.put("resourceName", "test.odt");
            ExtractData extractData = jodExtractor.getText(in, params);
            String content = extractData.getContent();
            CloseableUtil.closeQuietly(in);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/promotion/BasePublishGradleDistribution.kt

            **/build/distributions/*.zip => promote-build-distributions
            **/build/website-checkout/data/releases.xml
            **/build/git-checkout/build/reports/integTest/** => distribution-tests
            **/smoke-tests/build/reports/tests/** => post-smoke-tests
            **/build/version-info.properties => version-info.properties
            """.trimIndent()
    
            dependencies {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Feb 07 17:05:02 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top