Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for assertContentsInOrder (0.65 sec)

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

     * limitations under the License.
     */
    
    package com.google.common.collect.testing.testers;
    
    import static com.google.common.collect.testing.Helpers.assertContentsInOrder;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE;
    import static com.google.common.collect.testing.features.CollectionSize.ONE;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

      }
    
      public void testAssertContentsInOrder() {
        List<?> list = asList("a", "b", "c");
        assertContentsInOrder(list, "a", "b", "c");
    
        try {
          assertContentsInOrder(list, "a", "b");
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    
        try {
          assertContentsInOrder(list, "a", "b", "c", "d");
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/collect/testing/HelpersTest.java

      }
    
      public void testAssertContentsInOrder() {
        List<?> list = asList("a", "b", "c");
        assertContentsInOrder(list, "a", "b", "c");
    
        try {
          assertContentsInOrder(list, "a", "b");
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    
        try {
          assertContentsInOrder(list, "a", "b", "c", "d");
          throw new Error();
        } catch (AssertionFailedError expected) {
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java

    import static com.google.common.collect.Iterables.getOnlyElement;
    import static com.google.common.collect.testing.Helpers.assertContentsAnyOrder;
    import static com.google.common.collect.testing.Helpers.assertContentsInOrder;
    import static com.google.common.collect.testing.Helpers.assertEqualIgnoringOrder;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java

    import static com.google.common.collect.Iterables.getOnlyElement;
    import static com.google.common.collect.testing.Helpers.assertContentsAnyOrder;
    import static com.google.common.collect.testing.Helpers.assertContentsInOrder;
    import static com.google.common.collect.testing.Helpers.assertEqualIgnoringOrder;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapRemoveTester.java

     * the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.testing.Helpers.assertContentsInOrder;
    import static com.google.common.collect.testing.Helpers.copyToList;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.collect.testing.features.CollectionSize.SEVERAL;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

                  + "expected = "
                  + expected
                  + ", actual = "
                  + actual);
        }
      }
    
      public static void assertContentsInOrder(Iterable<?> actual, Object... expected) {
        assertEqualInOrder(asList(expected), actual);
      }
    
      public static void assertEqualIgnoringOrder(Iterable<?> expected, Iterable<?> actual) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/Helpers.java

                  + "expected = "
                  + expected
                  + ", actual = "
                  + actual);
        }
      }
    
      public static void assertContentsInOrder(Iterable<?> actual, Object... expected) {
        assertEqualInOrder(asList(expected), actual);
      }
    
      public static void assertEqualIgnoringOrder(Iterable<?> expected, Iterable<?> actual) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top