Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 122 for test_0 (0.2 sec)

  1. android/guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

    /**
     * Tests for {@link ForwardingWrapperTester}. Live in a different package to detect reflection
     * access issues, if any.
     *
     * @author Ben Yu
     */
    public class ForwardingWrapperTesterTest extends TestCase {
    
      private final ForwardingWrapperTester tester = new ForwardingWrapperTester();
    
      public void testGoodForwarder() {
        tester.testForwarding(
            Arithmetic.class,
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/JoinerTest.java

      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Joiner.class);
        tester.testInstanceMethods(Joiner.on(","), NullPointerTester.Visibility.PACKAGE);
        tester.testInstanceMethods(Joiner.on(",").skipNulls(), NullPointerTester.Visibility.PACKAGE);
        tester.testInstanceMethods(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(InterfaceDefaultMethodChecksNull.create());
        try {
          tester.testAllPublicInstanceMethods(InterfaceDefaultMethodFailsToCheckNull.create());
        } catch (AssertionError expected) {
          return;
        }
        fail();
      }
    
      public void testDontAcceptIae() {
        NullPointerTester tester = new NullPointerTester();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableSortedMap.class);
        tester.testAllPublicInstanceMethods(ImmutableSortedMap.<String, Integer>naturalOrder());
        tester.testAllPublicInstanceMethods(ImmutableSortedMap.of());
        tester.testAllPublicInstanceMethods(ImmutableSortedMap.of("one", 1));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableListMultimap.class);
        tester.ignore(ImmutableListMultimap.class.getMethod("get", Object.class));
        tester.testAllPublicInstanceMethods(ImmutableListMultimap.of());
        tester.testAllPublicInstanceMethods(ImmutableListMultimap.of("a", 1));
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

      public void testNulls() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(ImmutableSetMultimap.class);
        tester.ignore(ImmutableSetMultimap.class.getMethod("get", Object.class));
        tester.testAllPublicInstanceMethods(ImmutableSetMultimap.of());
        tester.testAllPublicInstanceMethods(ImmutableSetMultimap.of("a", 1));
      }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/PredicatesTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testOr_serializationNoArgs() {
        checkSerialization(Predicates.or());
      }
    
      public void testOr_applyOneArg() {
        assertEvalsToTrue(Predicates.or(TRUE));
        assertEvalsToFalse(Predicates.or(FALSE));
      }
    
      public void testOr_equalityOneArg() {
        new EqualsTester()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 32.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

              .build();
    
      public void testNulls() {
        NullPointerTester tester =
            new NullPointerTester().setDefault(String.class, "HmacMD5").setDefault(Key.class, MD5_KEY);
        tester.testAllPublicConstructors(MacHashFunction.class);
        tester.testAllPublicInstanceMethods(new MacHashFunction("HmacMD5", MD5_KEY, "toString"));
      }
    
      public void testHashing() throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

            .roundUnnecessaryShouldThrow()
            .test();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.setDefault(BigInteger.class, ONE);
        tester.setDefault(int.class, 1);
        tester.setDefault(long.class, 1L);
        tester.testAllPublicStaticMethods(BigIntegerMath.class);
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/BigIntegerMathTest.java

            .roundUnnecessaryShouldThrow()
            .test();
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointers() {
        NullPointerTester tester = new NullPointerTester();
        tester.setDefault(BigInteger.class, ONE);
        tester.setDefault(int.class, 1);
        tester.setDefault(long.class, 1L);
        tester.testAllPublicStaticMethods(BigIntegerMath.class);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 28.2K bytes
    - Viewed (0)
Back to top