Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for verifyNotNull (0.16 sec)

  1. guava-tests/test/com/google/common/base/VerifyTest.java

      public void testVerifyNotNull_simple_success() {
        String result = verifyNotNull(NON_NULL_STRING);
        assertSame(NON_NULL_STRING, result);
      }
    
      public void testVerifyNotNull_simple_failure() {
        assertThrows(VerifyException.class, () -> verifyNotNull(null));
      }
    
      public void testVerifyNotNull_complexMessage_success() {
        String result = verifyNotNull(NON_NULL_STRING, "%s", IGNORE_ME);
        assertSame(NON_NULL_STRING, result);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/VerifyTest.java

      public void testVerifyNotNull_simple_success() {
        String result = verifyNotNull(NON_NULL_STRING);
        assertSame(NON_NULL_STRING, result);
      }
    
      public void testVerifyNotNull_simple_failure() {
        assertThrows(VerifyException.class, () -> verifyNotNull(null));
      }
    
      public void testVerifyNotNull_complexMessage_success() {
        String result = verifyNotNull(NON_NULL_STRING, "%s", IGNORE_ME);
        assertSame(NON_NULL_STRING, result);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Verify.java

        }
      }
    
      /*
       * For a discussion of the signature of verifyNotNull, see the discussion above
       * Preconditions.checkNotNull.
       *
       * (verifyNotNull has many fewer "problem" callers, so we could try to be stricter. On the other
       * hand, verifyNotNull arguably has more reason to accept nullable arguments in the first
       * place....)
       */
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Verify.java

        }
      }
    
      /*
       * For a discussion of the signature of verifyNotNull, see the discussion above
       * Preconditions.checkNotNull.
       *
       * (verifyNotNull has many fewer "problem" callers, so we could try to be stricter. On the other
       * hand, verifyNotNull arguably has more reason to accept nullable arguments in the first
       * place....)
       */
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon May 17 14:07:47 UTC 2021
    - 18.5K bytes
    - Viewed (0)
Back to top