Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testElement_empty (0.28 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/QueueElementTester.java

    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class QueueElementTester<E> extends AbstractQueueTester<E> {
      @CollectionSize.Require(ZERO)
      public void testElement_empty() {
        try {
          getQueue().element();
          fail("emptyQueue.element() should throw");
        } catch (NoSuchElementException expected) {
        }
        expectUnchanged();
      }
    
      @CollectionSize.Require(ONE)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/QueueElementTester.java

    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    public class QueueElementTester<E> extends AbstractQueueTester<E> {
      @CollectionSize.Require(ZERO)
      public void testElement_empty() {
        try {
          getQueue().element();
          fail("emptyQueue.element() should throw");
        } catch (NoSuchElementException expected) {
        }
        expectUnchanged();
      }
    
      @CollectionSize.Require(ONE)
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.3K bytes
    - Viewed (0)
Back to top