Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for atual (0.02 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

        if (actual instanceof Collection) {
          contained = ((Collection<?>) actual).contains(expected);
        } else {
          for (Object o : actual) {
            if (equal(o, expected)) {
              contained = true;
              break;
            }
          }
        }
    
        if (!contained) {
          fail("Not true that " + actual + " contains " + expected);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        if (actual instanceof Collection) {
          contained = ((Collection<?>) actual).contains(expected);
        } else {
          for (Object o : actual) {
            if (equal(o, expected)) {
              contained = true;
              break;
            }
          }
        }
    
        if (!contained) {
          fail("Not true that " + actual + " contains " + expected);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

      }
    
      private void expectArrayContentsAnyOrder(Object[] expected, Object[] actual) {
        assertEqualIgnoringOrder(asList(expected), asList(actual));
      }
    
      private void expectArrayContentsInOrder(List<E> expected, Object[] actual) {
        assertEquals("toArray() ordered contents: ", expected, asList(actual));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

          fail("size mismatch: " + reportContext(expectedList));
        }
        for (int i = 0; i < expectedList.size(); i++) {
          E expected = expectedList.get(i);
          E actual = getList().get(i);
          if (expected != actual && (expected == null || !expected.equals(actual))) {
            fail("mismatch at index " + i + ": " + reportContext(expectedList));
          }
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ListsTest.java

        assertEquals(0, actual.indexOf(list(1, 3)));
        assertEquals(1, actual.indexOf(list(1, 4)));
        assertEquals(2, actual.indexOf(list(2, 3)));
        assertEquals(3, actual.indexOf(list(2, 4)));
        assertEquals(-1, actual.indexOf(list(3, 1)));
    
        assertEquals(-1, actual.indexOf(list(1)));
        assertEquals(-1, actual.indexOf(list(1, 1, 1)));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ListsTest.java

        assertEquals(0, actual.indexOf(list(1, 3)));
        assertEquals(1, actual.indexOf(list(1, 4)));
        assertEquals(2, actual.indexOf(list(2, 3)));
        assertEquals(3, actual.indexOf(list(2, 4)));
        assertEquals(-1, actual.indexOf(list(3, 1)));
    
        assertEquals(-1, actual.indexOf(list(1)));
        assertEquals(-1, actual.indexOf(list(1, 1, 1)));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

          assertTrue(
              "index " + i + " expected <" + expected + "., actual is exhausted",
              actualIterator.hasNext());
    
          Object actual = actualIterator.next();
          assertEquals("index " + i, expected, actual);
          i++;
        }
        if (actualIterator.hasNext()) {
          fail("index " + i + ", expected is exhausted, actual <" + actualIterator.next() + ">");
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

          assertTrue(
              "index " + i + " expected <" + expected + "., actual is exhausted",
              actualIterator.hasNext());
    
          Object actual = actualIterator.next();
          assertEquals("index " + i, expected, actual);
          i++;
        }
        if (actualIterator.hasNext()) {
          fail("index " + i + ", expected is exhausted, actual <" + actualIterator.next() + ">");
        }
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

          long seed, @Nullable Object expected, @Nullable Object actual) {
        if (!equal(actual, expected)) {
          // fail(), but with the JUnit-supplied message.
          assertEquals("Using seed " + seed, expected, actual);
        }
      }
    
      private static void assertEqualsUsingStartedWith(
          Collection<?> startedWith, @Nullable Object expected, @Nullable Object actual) {
        if (!equal(actual, expected)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

          long seed, @Nullable Object expected, @Nullable Object actual) {
        if (!equal(actual, expected)) {
          // fail(), but with the JUnit-supplied message.
          assertEquals("Using seed " + seed, expected, actual);
        }
      }
    
      private static void assertEqualsUsingStartedWith(
          Collection<?> startedWith, @Nullable Object expected, @Nullable Object actual) {
        if (!equal(actual, expected)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
Back to top