Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 122 for testMod (0.03 sec)

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

                    CollectionSize.ANY)
                .createTestSuite());
        suite.addTestSuite(HashMultimapTest.class);
        return suite;
      }
    
      /*
       * The behavior of toString() is tested by TreeMultimap, which shares a
       * lot of code with HashMultimap and has deterministic iteration order.
       */
      public void testCreate() {
        HashMultimap<String, Integer> multimap = HashMultimap.create();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/HashMultisetTest.java

        assertEquals(2, copy.size());
        assertSame(copy, copy.iterator().next().member);
      }
    
      /*
       * The behavior of toString() and iteration is tested by LinkedHashMultiset,
       * which shares a lot of code with HashMultiset and has deterministic
       * iteration order.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

     * public class Books {
     *   public static Book hardcover(String title) {...}
     *   public static Book paperback(String title) {...}
     * }
     * </pre>
     *
     * <p>And all the created {@code Book} instances can be tested with:
     *
     * <pre>
     * new ClassSanityTester()
     *     .forAllPublicStaticMethods(Books.class)
     *     .thatReturn(Book.class)
     *     .testEquals(); // or testNulls(), testSerializable() etc.
     * </pre>
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

                CollectionFeature.KNOWN_ORDER,
                CollectionFeature.RESTRICTS_ELEMENTS,
                CollectionSize.ANY)
            // don't skip collection tests since checkedQueue() is not tested by TestsForListsInJavaUtil
            .suppressing(suppressForCheckedQueue())
            .createTestSuite();
      }
    
      public Test testsForArrayDeque() {
        return QueueTestSuiteBuilder.using(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

        }
    
        // Test getThumbnailFile with existing file
        public void test_getThumbnailFile_exists() throws IOException {
            Map<String, Object> docMap = new HashMap<>();
            docMap.put("_id", "testdoc");
    
            String filename = thumbnailManager.getImageFilename(docMap);
            File thumbnailFile = new File(tempDir, filename);
            thumbnailFile.getParentFile().mkdirs();
            thumbnailFile.createNewFile();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests for {@link FluentFuture}. The tests cover only the basics for the API. The actual logic is
     * tested in {@link FuturesTest}.
     */
    @NullMarked
    @GwtCompatible
    public class FluentFutureTest extends TestCase {
      @SuppressWarnings({"deprecation", "InlineMeInliner"}) // test of a deprecated method
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

    import okhttp3.internal.http.RealInterceptorChain
    import okhttp3.internal.http.RecordingProxySelector
    import okhttp3.tls.HandshakeCertificates
    import okhttp3.tls.internal.TlsUtil.localhost
    
    /**
     * OkHttp is usually tested with functional tests: these use public APIs to confirm behavior against
     * MockWebServer. In cases where logic is particularly tricky, we use unit tests. This class makes
     * it easy to get sample values to use in such tests.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/entity/PingResponseTest.java

            // we'll test the class behavior through unit tests that verify the logic
            // The actual integration with ClusterHealthResponse is tested in integration tests
    
            // Test that the constructor and getters work with proper setup
            FessConfig mockConfig = new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  9. 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)
  10. guava-tests/test/com/google/common/collect/AbstractTableReadTest.java

        assertEquals(expected, table.hashCode());
      }
    
      public void testToStringSize1() {
        table = create("foo", 1, 'a');
        assertEquals("{foo={1=a}}", table.toString());
      }
    
      public void testRow() {
        table = create("foo", 1, 'a', "bar", 1, 'b', "foo", 3, 'c');
        assertEquals(ImmutableMap.of(1, 'a', 3, 'c'), table.row("foo"));
      }
    
      // This test assumes that the implementation does not support null keys.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.6K bytes
    - Viewed (0)
Back to top