Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for thatReturn (0.04 sec)

  1. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

     * }
     * </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>
     *
     * @author Ben Yu
     * @since 14.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

     * }
     * </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>
     *
     * @author Ben Yu
     * @since 14.0
     */
    @GwtIncompatible
    @J2ktIncompatible
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

          tester.forAllPublicStaticMethods(BadNullsFactory.class).thatReturn(Object.class).testNulls();
        } catch (AssertionError expected) {
          return;
        }
        fail();
      }
    
      public void testNullsOnReturnValues_returnTypeFiltered() throws Exception {
        try {
          tester
              .forAllPublicStaticMethods(BadNullsFactory.class)
              .thatReturn(Iterable.class)
              .testNulls();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/IterablesTest.java

      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testIterables_nullCheck() throws Exception {
        new ClassSanityTester()
            .forAllPublicStaticMethods(Iterables.class)
            .thatReturn(Iterable.class)
            .testNulls();
      }
    
      private static void verifyMergeSorted(
          Iterable<Iterable<Integer>> iterables, Iterable<Integer> unsortedExpected) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IterablesTest.java

      @J2ktIncompatible
      @GwtIncompatible // reflection
      public void testIterables_nullCheck() throws Exception {
        new ClassSanityTester()
            .forAllPublicStaticMethods(Iterables.class)
            .thatReturn(Iterable.class)
            .testNulls();
      }
    
      private static void verifyMergeSorted(
          Iterable<Iterable<Integer>> iterables, Iterable<Integer> unsortedExpected) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
Back to top