Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testMethodParameter (0.23 sec)

  1. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        for (String methodName : STATIC_ONE_ARG_METHODS_SHOULD_PASS) {
          Method method = OneArg.class.getMethod(methodName, String.class);
          try {
            new NullPointerTester().testMethodParameter(new OneArg(), method, 0);
          } catch (AssertionFailedError unexpected) {
            fail("Should not have flagged method " + methodName);
          }
        }
      }
    
    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)
  2. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

       */
      public void testMethod(@Nullable Object instance, Method method) {
        Class<?>[] types = method.getParameterTypes();
        for (int nullIndex = 0; nullIndex < types.length; nullIndex++) {
          testMethodParameter(instance, method, nullIndex);
        }
      }
    
      /**
       * Verifies that {@code ctor} produces a {@link NullPointerException} or {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 22.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/NullPointerTester.java

       */
      public void testMethod(@Nullable Object instance, Method method) {
        Class<?>[] types = method.getParameterTypes();
        for (int nullIndex = 0; nullIndex < types.length; nullIndex++) {
          testMethodParameter(instance, method, nullIndex);
        }
      }
    
      /**
       * Verifies that {@code ctor} produces a {@link NullPointerException} or {@link
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 23.3K bytes
    - Viewed (0)
Back to top