Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 107 for testAdd (0.62 sec)

  1. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

            .addEqualityGroup(EnumBiMap.create(ImmutableMap.of(Currency.FRANC, Country.CANADA)))
            .testEquals();
      }
    
      /* Remaining behavior tested by AbstractBiMapTest. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/UrlComponentEncodingTester.kt

        FORBIDDEN,
    
        /** Hostnames that contain this character are encoded with punycode.  */
        PUNYCODE,
    
        /** This code point is special and should not be tested.  */
        SKIP,
    
        ;
    
        open fun encode(codePoint: Int): String = throw UnsupportedOperationException()
      }
    
      enum class Component {
        USER {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

            .addEqualityGroup(EnumBiMap.create(ImmutableMap.of(Currency.FRANC, Country.CANADA)))
            .testEquals();
      }
    
      /* Remaining behavior tested by AbstractBiMapTest. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

    @GwtIncompatible
    @J2ktIncompatible
    @NullMarked
    public final class ForwardingWrapperTester {
    
      private boolean testsEquals = false;
    
      /**
       * Asks for {@link Object#equals} and {@link Object#hashCode} to be tested. That is, forwarding
       * wrappers of equal instances should be equal.
       */
      @CanIgnoreReturnValue
      public ForwardingWrapperTester includingEquals() {
        this.testsEquals = true;
        return this;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

         * declare any methods in this enum, converting assertFailsToDecode into a static method that is
         * implemented with a `switch`. I haven't tested that.)
         */
        @GwtIncompatible // decodingStream(Reader)
        DECODING_STREAM {
          @Override
          void assertFailsToDecode(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

          for (int i = 0; i < expected.length; i++) {
            assertEquals(expected[i], got[i]);
          }
        }
      }
    
      // Assumes that AbstractNonStreamingHashFunction works properly (must be tested elsewhere!)
      private static class Control extends AbstractNonStreamingHashFunction {
        @Override
        public HashCode hashBytes(byte[] input, int off, int len) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

            assertEquals("test with tabs", escaped);
            assertFalse(escaped.contains("\t"));
        }
    
        public void test_statsKeyObjectWithoutUrl() {
            StatsKeyObject key = new StatsKeyObject("test_id");
            crawlerStatsHelper.begin(key);
            crawlerStatsHelper.record(key, "action");
            crawlerStatsHelper.done(key);
    
            String[] values = localLogMsg.get().split("\t");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 15K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

            // Execute
            String result = pingSearchEngineJob.execute();
    
            // Assert
            assertEquals("Status of test-cluster is changed to RED.", result);
            // Note: Notification sending is tested but we don't verify the mock since it uses complex callback mechanism
        }
    
        // Test state change with empty notification addresses
        public void test_execute_stateChangeEmptyNotificationAddresses() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      // The Maps returned by Maps.filterEntries(), Maps.filterKeys(), and
      // Maps.filterValues() are not tested with removeIf() since Maps are not
      // Iterable.  Those returned by Iterators.filter() and Iterables.filter()
      // are not tested because they are unmodifiable.
    
      public void testConsumingIterable() {
        // Test data
        List<String> list = new ArrayList<>(asList("a", "b"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt

      fun fromJavaNetUrlUnsupportedScheme() {
        // java.net.MalformedURLException: unknown protocol: mailto
        platform.assumeNotAndroid()
    
        // Accessing an URL protocol that was not enabled. The URL protocol mailto is not tested and
        // might not work as expected. It can be enabled by adding the --enable-url-protocols=mailto
        // option to the native-image command.
        platform.assumeNotGraalVMImage()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top