Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testVerifyGetsCalled (1.7 sec)

  1. android/guava-testlib/test/com/google/common/collect/testing/IteratorTesterTest.java

        }
    
        @Override
        protected void verify(List<Integer> elements) {
          numCallsToVerify++;
          super.verify(elements);
        }
      }
    
      public void testVerifyGetsCalled() {
        TesterThatCountsCalls tester = new TesterThatCountsCalls();
    
        tester.test();
    
        assertEquals(
            "Should have verified once per stimulus executed",
            tester.numCallsToVerify,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          Iterable<E> expectedElements,
          KnownOrder knownOrder,
          int startIndex) {
        // periodically we should manually try (steps * 3 / 2) here; all tests but
        // one should still pass (testVerifyGetsCalled()).
        stimuli = (Stimulus<E, ? super I>[]) new Stimulus<?, ?>[steps];
        if (!elementsToInsertIterable.iterator().hasNext()) {
          throw new IllegalArgumentException();
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

          Iterable<E> expectedElements,
          KnownOrder knownOrder,
          int startIndex) {
        // periodically we should manually try (steps * 3 / 2) here; all tests but
        // one should still pass (testVerifyGetsCalled()).
        stimuli = (Stimulus<E, ? super I>[]) new Stimulus<?, ?>[steps];
        if (!elementsToInsertIterable.iterator().hasNext()) {
          throw new IllegalArgumentException();
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 21.4K bytes
    - Viewed (0)
Back to top