Home
last modified time | relevance | path

Searched refs:emptyArray (Results 1 – 6 of 6) sorted by relevance

/external/hamcrest/hamcrest-library/src/test/java/org/hamcrest/collection/
DIsArrayWithSizeTest.java7 import static org.hamcrest.collection.IsArrayWithSize.emptyArray;
28 assertMatches("correct size", emptyArray(), new Object[] {}); in testEmptyArray()
29 assertDoesNotMatch("incorrect size", emptyArray(), new Object[] {1}); in testEmptyArray()
34 assertDescription("an empty array", emptyArray()); in testHasAReadableDescription()
/external/guava/guava-tests/test/com/google/common/collect/
DOrderingTest.java878 T[] emptyArray = Platform.newArray(strictlyOrderedElements, 0);
882 Scenario<T> starter = new Scenario<T>((Ordering) ordering, list, emptyArray);
907 final T[] emptyArray;
909 Scenario(Ordering<T> ordering, List<T> strictlyOrderedList, T[] emptyArray) {
912 this.emptyArray = emptyArray;
935 T[] rest = shuffledList.subList(3, shuffledList.size()).toArray(emptyArray);
983 return new Scenario<T>(scenario.ordering.reverse(), newList, scenario.emptyArray);
995 return new Scenario<T>(scenario.ordering.nullsFirst(), newList, scenario.emptyArray);
1007 return new Scenario<T>(scenario.ordering.nullsLast(), newList, scenario.emptyArray);
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DOrderingTest.java844 T[] emptyArray = Platform.newArray(strictlyOrderedElements, 0);
848 Scenario<T> starter = new Scenario<T>((Ordering) ordering, list, emptyArray);
873 final T[] emptyArray;
875 Scenario(Ordering<T> ordering, List<T> strictlyOrderedList, T[] emptyArray) {
878 this.emptyArray = emptyArray;
901 T[] rest = shuffledList.subList(3, shuffledList.size()).toArray(emptyArray);
949 return new Scenario<T>(scenario.ordering.reverse(), newList, scenario.emptyArray);
961 return new Scenario<T>(scenario.ordering.nullsFirst(), newList, scenario.emptyArray);
973 return new Scenario<T>(scenario.ordering.nullsLast(), newList, scenario.emptyArray);
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/collection/
DIsArrayWithSize.java55 public static <E> Matcher<E[]> emptyArray() { in emptyArray() method in IsArrayWithSize
/external/jsoncpp/src/test_lib_json/
Dmain.cpp1336 Json::Value emptyArray(Json::arrayValue); in JSONTEST_FIXTURE() local
1347 JSONTEST_ASSERT_PRED(checkIsLess(emptyArray, l1aArray)); in JSONTEST_FIXTURE()
1348 JSONTEST_ASSERT_PRED(checkIsLess(emptyArray, l2aArray)); in JSONTEST_FIXTURE()
1351 JSONTEST_ASSERT_PRED(checkIsEqual(emptyArray, Json::Value(emptyArray))); in JSONTEST_FIXTURE()
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/
DMatchers.java734 public static <E> org.hamcrest.Matcher<E[]> emptyArray() { in emptyArray() method in Matchers
735 return org.hamcrest.collection.IsArrayWithSize.<E>emptyArray(); in emptyArray()