Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for checkMessage (0.12 sec)

  1. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        checkMessage(expected, "MyOrder.THIRD -> MyOrder.SECOND");
    
        expected = assertThrows(PotentialDeadlockException.class, () -> lock1.lock());
        checkMessage(expected, "MyOrder.THIRD -> MyOrder.FIRST");
    
        lock3.unlock();
        lock2.lock();
    
        expected = assertThrows(PotentialDeadlockException.class, () -> lock1.lock());
        checkMessage(expected, "MyOrder.SECOND -> MyOrder.FIRST");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        checkMessage(expected, "MyOrder.THIRD -> MyOrder.SECOND");
    
        expected = assertThrows(PotentialDeadlockException.class, () -> lock1.lock());
        checkMessage(expected, "MyOrder.THIRD -> MyOrder.FIRST");
    
        lock3.unlock();
        lock2.lock();
    
        expected = assertThrows(PotentialDeadlockException.class, () -> lock1.lock());
        checkMessage(expected, "MyOrder.SECOND -> MyOrder.FIRST");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/VerifyTest.java

        verify(true, "%s", IGNORE_ME);
      }
    
      public void testVerify_complexMessage_failure() {
        VerifyException expected = assertThrows(VerifyException.class, () -> verify(false, FORMAT, 5));
        checkMessage(expected);
      }
    
      private static final String NON_NULL_STRING = "foo";
    
      public void testVerifyNotNull_simple_success() {
        String result = verifyNotNull(NON_NULL_STRING);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/VerifyTest.java

        verify(true, "%s", IGNORE_ME);
      }
    
      public void testVerify_complexMessage_failure() {
        VerifyException expected = assertThrows(VerifyException.class, () -> verify(false, FORMAT, 5));
        checkMessage(expected);
      }
    
      private static final String NON_NULL_STRING = "foo";
    
      public void testVerifyNotNull_simple_success() {
        String result = verifyNotNull(NON_NULL_STRING);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top