Home
last modified time | relevance | path

Searched refs:expecteds (Results 1 – 13 of 13) sorted by relevance

/external/testng/src/main/java/org/testng/internal/junit/
DArrayAsserts.java20 public static void assertArrayEquals(String message, Object[] expecteds, in assertArrayEquals() argument
22 internalArrayEquals(message, expecteds, actuals); in assertArrayEquals()
38 public static void assertArrayEquals(Object[] expecteds, Object[] actuals) { in assertArrayEquals() argument
39 assertArrayEquals(null, expecteds, actuals); in assertArrayEquals()
54 public static void assertArrayEquals(String message, byte[] expecteds, in assertArrayEquals() argument
56 internalArrayEquals(message, expecteds, actuals); in assertArrayEquals()
68 public static void assertArrayEquals(byte[] expecteds, byte[] actuals) { in assertArrayEquals() argument
69 assertArrayEquals(null, expecteds, actuals); in assertArrayEquals()
84 public static void assertArrayEquals(String message, char[] expecteds, in assertArrayEquals() argument
86 internalArrayEquals(message, expecteds, actuals); in assertArrayEquals()
[all …]
DComparisonCriteria.java28 public void arrayEquals(String message, Object expecteds, Object actuals) in arrayEquals() argument
30 if (expecteds == actuals) in arrayEquals()
34 int expectedsLength= assertArraysAreSameLength(expecteds, in arrayEquals()
38 Object expected= Array.get(expecteds, i); in arrayEquals()
61 private int assertArraysAreSameLength(Object expecteds, in assertArraysAreSameLength() argument
63 if (expecteds == null) in assertArraysAreSameLength()
68 int expectedsLength= Array.getLength(expecteds); in assertArraysAreSameLength()
/external/junit/src/main/java/org/junit/
DAssert.java281 public static void assertArrayEquals(String message, Object[] expecteds, in assertArrayEquals() argument
283 internalArrayEquals(message, expecteds, actuals); in assertArrayEquals()
297 public static void assertArrayEquals(Object[] expecteds, Object[] actuals) { in assertArrayEquals() argument
298 assertArrayEquals(null, expecteds, actuals); in assertArrayEquals()
312 public static void assertArrayEquals(String message, boolean[] expecteds, in assertArrayEquals() argument
314 internalArrayEquals(message, expecteds, actuals); in assertArrayEquals()
326 public static void assertArrayEquals(boolean[] expecteds, boolean[] actuals) { in assertArrayEquals() argument
327 assertArrayEquals(null, expecteds, actuals); in assertArrayEquals()
339 public static void assertArrayEquals(String message, byte[] expecteds, in assertArrayEquals() argument
341 internalArrayEquals(message, expecteds, actuals); in assertArrayEquals()
[all …]
/external/junit/src/main/java/org/junit/internal/
DComparisonCriteria.java26 public void arrayEquals(String message, Object expecteds, Object actuals) in arrayEquals() argument
28 if (expecteds == actuals in arrayEquals()
29 || Arrays.deepEquals(new Object[] {expecteds}, new Object[] {actuals})) { in arrayEquals()
37 int expectedsLength = assertArraysAreSameLength(expecteds, in arrayEquals()
41 Object expected = Array.get(expecteds, i); in arrayEquals()
65 private int assertArraysAreSameLength(Object expecteds, in assertArraysAreSameLength() argument
67 if (expecteds == null) { in assertArraysAreSameLength()
74 int expectedsLength = Array.getLength(expecteds); in assertArraysAreSameLength()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DTextTrieMapTest.java173 Object[] expecteds = (Object[]) TESTCASES_PARSE[i][1]; in TestCaseSensitive() local
174 checkParse(map, test, expecteds, true); in TestCaseSensitive()
216 Object[] expecteds = (Object[]) TESTCASES_PARSE[i][1]; in TestCaseInsensitive() local
217 checkParse(map, test, expecteds, false); in TestCaseInsensitive()
233 Object[] expecteds = null; in checkParse() local
237 if (expecteds == null) { in checkParse()
238 expecteds = new Object[i+1]; in checkParse()
240 expecteds[i] = rawExpecteds[j]; in checkParse()
243 if (expecteds == null) { in checkParse()
244 expecteds = new Object[0]; in checkParse()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DTextTrieMapTest.java176 Object[] expecteds = (Object[]) TESTCASES_PARSE[i][1]; in TestCaseSensitive() local
177 checkParse(map, test, expecteds, true); in TestCaseSensitive()
219 Object[] expecteds = (Object[]) TESTCASES_PARSE[i][1]; in TestCaseInsensitive() local
220 checkParse(map, test, expecteds, false); in TestCaseInsensitive()
236 Object[] expecteds = null; in checkParse() local
240 if (expecteds == null) { in checkParse()
241 expecteds = new Object[i+1]; in checkParse()
243 expecteds[i] = rawExpecteds[j]; in checkParse()
246 if (expecteds == null) { in checkParse()
247 expecteds = new Object[0]; in checkParse()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DModifierTest.java56 String[][] expecteds = { { "", "XY", "XXYYY", "YY", "XX��XX" }, in testSimpleModifier() local
72 String expected = expecteds[j][i]; in testSimpleModifier()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DModifierTest.java53 String[][] expecteds = { { "", "XY", "XXYYY", "YY", "XX��XX" }, in testSimpleModifier() local
69 String expected = expecteds[j][i]; in testSimpleModifier()
/external/icu/icu4c/source/test/intltest/
Dnumbertest_modifiers.cpp71 static const char16_t *expecteds[][NUM_CASES] = // force auto-format line break in testSimpleModifier() local
93 UnicodeString expected = expecteds[j][i]; in testSimpleModifier()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DCompactDecimalFormatTest.java654 String[] expecteds = {"5,800,000T", "5.800.000 Bln", "5800000T", "58,00,000T"}; in TestLocaleGroupingForLargeNumbers() local
657 String exp = expecteds[i]; in TestLocaleGroupingForLargeNumbers()
DNumberFormatTest.java5677 int[][] expecteds = {
5698 int expected = expecteds[i][j];
5804 String[][][] expecteds = {
5854 String exp = expecteds[i][j][k];
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DCompactDecimalFormatTest.java651 String[] expecteds = {"5,800,000T", "5.800.000 Bln", "5800000T", "58,00,000T"}; in TestLocaleGroupingForLargeNumbers() local
654 String exp = expecteds[i]; in TestLocaleGroupingForLargeNumbers()
DNumberFormatTest.java5674 int[][] expecteds = {
5695 int expected = expecteds[i][j];
5801 String[][][] expecteds = {
5851 String exp = expecteds[i][j][k];