Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for assertEqualIgnoringOrder (0.19 sec)

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

     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.testing.Helpers.assertEqualIgnoringOrder;
    import static com.google.common.collect.testing.Helpers.assertEqualInOrder;
    import static com.google.common.collect.testing.Platform.format;
    import static java.util.Arrays.asList;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionStreamTester.java

       * that corresponds to the expected elements.
       */
    
      @CollectionFeature.Require(absent = KNOWN_ORDER)
      public void testStreamToArrayUnknownOrder() {
        Helpers.assertEqualIgnoringOrder(getSampleElements(), asList(collection.stream().toArray()));
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testStreamToArrayKnownOrder() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultimapEntriesTester.java

     * the License.
     */
    
    package com.google.common.collect.testing.google;
    
    import static com.google.common.collect.testing.Helpers.assertContains;
    import static com.google.common.collect.testing.Helpers.assertEqualIgnoringOrder;
    import static com.google.common.collect.testing.Helpers.mapEntry;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ITERATOR_REMOVE;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapAsMapTester.java

    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;
    import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ITERATOR_REMOVE;
    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. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

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

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.Helpers.assertEqualIgnoringOrder;
    import static com.google.common.collect.testing.Helpers.copyToList;
    import static java.util.Arrays.asList;
    import static java.util.Collections.unmodifiableList;
    
    import com.google.common.annotations.GwtCompatible;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect.testing;
    
    import static com.google.common.collect.testing.Helpers.assertEqualIgnoringOrder;
    import static com.google.common.collect.testing.Helpers.copyToList;
    import static com.google.common.collect.testing.Helpers.copyToSet;
    import static java.lang.System.arraycopy;
    import static java.util.Arrays.asList;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/Helpers.java

                  + actual);
        }
      }
    
      public static void assertContentsInOrder(Iterable<?> actual, Object... expected) {
        assertEqualInOrder(asList(expected), actual);
      }
    
      public static void assertEqualIgnoringOrder(Iterable<?> expected, Iterable<?> actual) {
        List<?> exp = copyToList(expected);
        List<?> act = copyToList(actual);
        String actString = act.toString();
    
    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