Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testMessageNoException (0.09 sec)

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

          assertThat(expected).hasMessageThat().contains("[null]");
          foundProblem = true;
        }
        assertTrue("Should report error when different exception is thrown", foundProblem);
      }
    
      public void testMessageNoException() throws Exception {
        Method method = OneArg.class.getMethod("staticOneArgShouldThrowNpeButDoesnt", String.class);
        boolean foundProblem = false;
        try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 47.7K bytes
    - Viewed (0)
Back to top