/external/chromium_org/v8/test/mjsunit/third_party/ |
array-splice-webkit.js | 34 assertArrayEquals(['a','b','c','d'], arr); 35 assertArrayEquals(['c','d'], arr.splice(2)); 36 assertArrayEquals(['a','b'], arr); 37 assertArrayEquals(['a','b'], arr.splice(0)); 38 assertArrayEquals([], arr) 42 assertArrayEquals(['a','b','c','d'], arr); 43 assertArrayEquals(['a','b','c','d'], arr.splice(undefined)) 44 assertArrayEquals([], arr); 47 assertArrayEquals(['a','b','c','d'], arr.splice(null)) 48 assertArrayEquals([], arr) [all...] |
/external/v8/test/mjsunit/third_party/ |
array-splice-webkit.js | 34 assertArrayEquals(['a','b','c','d'], arr); 35 assertArrayEquals(['c','d'], arr.splice(2)); 36 assertArrayEquals(['a','b'], arr); 37 assertArrayEquals(['a','b'], arr.splice(0)); 38 assertArrayEquals([], arr) 42 assertArrayEquals(['a','b','c','d'], arr); 43 assertArrayEquals(['a','b','c','d'], arr.splice(undefined)) 44 assertArrayEquals([], arr); 47 assertArrayEquals(['a','b','c','d'], arr.splice(null)) 48 assertArrayEquals([], arr) [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
CsvUtilsTests.java | 130 private static <T> void assertArrayEquals(final T[] expected, final T[] actual) { 153 assertArrayEquals(new String[]{""}, CsvUtils.split("")); 154 assertArrayEquals(new String[]{" "}, CsvUtils.split(" ")); 155 assertArrayEquals(new String[]{"text"}, CsvUtils.split("text")); 156 assertArrayEquals(new String[]{" a b "}, CsvUtils.split(" a b ")); 158 assertArrayEquals(new String[]{"", ""}, CsvUtils.split(",")); 159 assertArrayEquals(new String[]{"", "", ""}, CsvUtils.split(",,")); 160 assertArrayEquals(new String[]{" ", " "}, CsvUtils.split(" , ")); 161 assertArrayEquals(new String[]{" ", " ", " "}, CsvUtils.split(" , , ")); 162 assertArrayEquals(new String[]{"a", "b"}, CsvUtils.split("a,b")) [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
ListToArrayTester.java | 39 assertArrayEquals("toArray() order should match list", 46 assertArrayEquals("toArray(tooSmall) order should match list", 52 assertArrayEquals("toArray(largeEnough) order should match list", 56 private static void assertArrayEquals(String message, Object[] expected,
|
/external/chromium_org/v8/test/mjsunit/ |
string-split.js | 30 assertArrayEquals(expected, result); 33 assertArrayEquals(["a", "b"], "ab".split(/a*?/)); 35 assertArrayEquals(["", "b"], "ab".split(/a*/)); 37 assertArrayEquals(["a"], "ab".split(/a*?/, 1)); 39 assertArrayEquals([""], "ab".split(/a*/, 1)); 41 assertArrayEquals(["as","fas","fas","f"], "asdfasdfasdf".split("d")); 43 assertArrayEquals(["as","fas","fas","f"], "asdfasdfasdf".split("d", -1)); 45 assertArrayEquals(["as", "fas"], "asdfasdfasdf".split("d", 2)); 47 assertArrayEquals([], "asdfasdfasdf".split("d", 0)); 49 assertArrayEquals(["as","fas","fas",""], "asdfasdfasd".split("d")) [all...] |
array-constructor.js | 60 assertArrayEquals([0, 1], a); 62 assertArrayEquals([0, 1, 2], a); 64 assertArrayEquals([0, 1, 2, 3], a); 66 assertArrayEquals([0, 1, 2, 3, 4], a); 68 assertArrayEquals([0, 1, 2, 3, 4, 5], a); 70 assertArrayEquals([0, 1, 2, 3, 4, 5, 6], a); 72 assertArrayEquals([0, 1, 2, 3, 4, 5, 6, 7], a); 74 assertArrayEquals([0, 1, 2, 3, 4, 5, 6, 7, 8], a); 76 assertArrayEquals([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], a); 95 assertArrayEquals(a, b) [all...] |
simple-constructor.js | 59 assertArrayEquals(["x"], props(o1_1), "3"); 60 assertArrayEquals(["x"], props(o1_2), "4"); 64 assertArrayEquals(["x"], props(o2_1)); 65 assertArrayEquals(["x"], props(o2_2)); 69 assertArrayEquals(["x", "y", "z"], props(o3_1)); 70 assertArrayEquals(["x", "y", "z"], props(o3_2)); 74 assertArrayEquals(["x", "y", "z"], props(o4_0_1)); 75 assertArrayEquals(["x", "y", "z"], props(o4_0_2)); 79 assertArrayEquals(["x", "y"], props(o4_1_1)); 80 assertArrayEquals(["x", "y"], props(o4_1_2)) [all...] |
array-iteration.js | 42 assertArrayEquals([0], a.filter(function(n) { return n == 0; })); 43 assertArrayEquals([0,1], a); 48 assertArrayEquals([42,42], a.filter(function(n) { return this.value == n }, o)) 52 assertArrayEquals([42,42], a.filter(function(n, index, array) { array[index] = 43; return 42 == n; })); 53 assertArrayEquals([43,43,43,43,43], a); 58 assertArrayEquals([], a.filter(function(n, index, array) { array.push(n+1); return n == 2; })); 59 assertArrayEquals([1,1,2,2], a); 88 assertArrayEquals([42,42], result); 95 assertArrayEquals([1,2], a); 103 assertArrayEquals([1,1,2,2], a) [all...] |
/external/junit/src/org/junit/ |
Assert.java | 166 public static void assertArrayEquals(String message, Object[] expecteds, 184 public static void assertArrayEquals(Object[] expecteds, Object[] actuals) { 185 assertArrayEquals(null, expecteds, actuals); 200 public static void assertArrayEquals(String message, byte[] expecteds, 214 public static void assertArrayEquals(byte[] expecteds, byte[] actuals) { 215 assertArrayEquals(null, expecteds, actuals); 230 public static void assertArrayEquals(String message, char[] expecteds, 244 public static void assertArrayEquals(char[] expecteds, char[] actuals) { 245 assertArrayEquals(null, expecteds, actuals); 260 public static void assertArrayEquals(String message, short[] expecteds [all...] |
/external/v8/test/mjsunit/ |
array-constructor.js | 60 assertArrayEquals([0, 1], a); 62 assertArrayEquals([0, 1, 2], a); 64 assertArrayEquals([0, 1, 2, 3], a); 66 assertArrayEquals([0, 1, 2, 3, 4], a); 68 assertArrayEquals([0, 1, 2, 3, 4, 5], a); 70 assertArrayEquals([0, 1, 2, 3, 4, 5, 6], a); 72 assertArrayEquals([0, 1, 2, 3, 4, 5, 6, 7], a); 74 assertArrayEquals([0, 1, 2, 3, 4, 5, 6, 7, 8], a); 76 assertArrayEquals([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], a); 95 assertArrayEquals(a, b) [all...] |
simple-constructor.js | 59 assertArrayEquals(["x"], props(o1_1), "3"); 60 assertArrayEquals(["x"], props(o1_2), "4"); 64 assertArrayEquals(["x"], props(o2_1)); 65 assertArrayEquals(["x"], props(o2_2)); 69 assertArrayEquals(["x", "y", "z"], props(o3_1)); 70 assertArrayEquals(["x", "y", "z"], props(o3_2)); 74 assertArrayEquals(["x", "y", "z"], props(o4_0_1)); 75 assertArrayEquals(["x", "y", "z"], props(o4_0_2)); 79 assertArrayEquals(["x", "y"], props(o4_1_1)); 80 assertArrayEquals(["x", "y"], props(o4_1_2)) [all...] |
string-split.js | 30 assertArrayEquals(expected, result); 33 assertArrayEquals(["a", "b"], "ab".split(/a*?/)); 35 assertArrayEquals(["", "b"], "ab".split(/a*/)); 37 assertArrayEquals(["a"], "ab".split(/a*?/, 1)); 39 assertArrayEquals([""], "ab".split(/a*/, 1)); 41 assertArrayEquals(["as","fas","fas","f"], "asdfasdfasdf".split("d")); 43 assertArrayEquals(["as","fas","fas","f"], "asdfasdfasdf".split("d", -1)); 45 assertArrayEquals(["as", "fas"], "asdfasdfasdf".split("d", 2)); 47 assertArrayEquals([], "asdfasdfasdf".split("d", 0)); 49 assertArrayEquals(["as","fas","fas",""], "asdfasdfasd".split("d")) [all...] |
array-iteration.js | 42 assertArrayEquals([0], a.filter(function(n) { return n == 0; })); 43 assertArrayEquals(a, a); 48 assertArrayEquals([42,42], a.filter(function(n) { return this.value == n }, o)) 52 assertArrayEquals([42,42], a.filter(function(n, index, array) { array[index] = 43; return 42 == n; })); 53 assertArrayEquals([43,43,43,43,43], a); 58 assertArrayEquals([], a.filter(function(n, index, array) { array.push(n+1); return n == 2; })); 59 assertArrayEquals([1,1,2,2], a); 88 assertArrayEquals([42,42], result); 95 assertArrayEquals([1,2], a); 103 assertArrayEquals([1,1,2,2], a) [all...] |
/cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/testtype/ |
WrappedGTestResultParserTest.java | 77 private void assertArrayEquals(String[] expected, String[] result) throws Exception { 95 assertArrayEquals(EXPECTED_OUTPUT1, mParser.parseInstrumentation(INPUT1)); 103 assertArrayEquals(EXPECTED_OUTPUT2, mParser.parseInstrumentation(INPUT2));
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
AsmAnalyzerTest.java | 20 import static org.junit.Assert.assertArrayEquals; 77 assertArrayEquals(new String[] { 96 assertArrayEquals(new String[] {"mock_android/data/dataFile"}, 114 assertArrayEquals(new String[] { "mock_android.view.ViewGroup$LayoutParams" }, 116 assertArrayEquals(new ClassReader[] { cr }, found.values().toArray()); 132 assertArrayEquals(new String[] { }, 138 assertArrayEquals(new String[] { 147 assertArrayEquals(new String[] { 158 assertArrayEquals(new String[] { 167 assertArrayEquals(new String[] [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SimpleElementTest.java | 36 private static void assertArrayEquals(Object[] expected, Object[] actual) { 124 assertArrayEquals( 131 assertArrayEquals( 139 assertArrayEquals( 149 assertArrayEquals( 159 assertArrayEquals( 182 assertArrayEquals( 198 assertArrayEquals( 224 assertArrayEquals( 229 assertArrayEquals( [all...] |
/external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/ |
CharSinkTester.java | 82 private static void assertArrayEquals(char[] expected, char[] actual) { 97 assertArrayEquals(expected, getChars()); 110 assertArrayEquals(expected, getChars()); 122 assertArrayEquals(expected, getChars()); 135 assertArrayEquals(expected, getChars()); 161 assertArrayEquals(expected, getChars()); 175 assertArrayEquals(expected, getChars()); 191 assertArrayEquals(expectedChars, getChars());
|
SinkTester.java | 83 private static void assertArrayEquals(byte[] expected, byte[] actual) { 98 assertArrayEquals(expected, getBytes()); 111 assertArrayEquals(expected, getBytes()); 123 assertArrayEquals(expected, getBytes()); 145 assertArrayEquals(expected, getBytes()); 176 assertArrayEquals(expected, getBytes()); 187 assertArrayEquals(expected, getBytes()); 203 assertArrayEquals(expectedBytes, getBytes());
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
Base64Test.java | 11 import static org.junit.Assert.assertArrayEquals; 30 assertArrayEquals(result, base64Decoded.getBytes());
|
TextUtilsTest.java | 57 assertArrayEquals(TextUtils.split("abc", ","), new String[]{"abc"}); 60 assertArrayEquals(TextUtils.split("abc,def", ","), new String[]{"abc", "def"}); 63 assertArrayEquals(TextUtils.split("abc, def", ","), new String[]{"abc", " def"});
|
/external/chromium_org/v8/test/mjsunit/compiler/ |
regress-funarguments.js | 75 assertArrayEquals([0, "g"], o.g(0, "g")); 76 assertArrayEquals([1, "f"], o.g(1, "g")); 77 assertArrayEquals([0, "h"], hej(0)); 78 assertArrayEquals([1, "f"], hej(1)); 83 assertArrayEquals([0, "f"], o.g(0, "g")); 84 assertArrayEquals([1, "g"], o.g(1, "g")); 85 assertArrayEquals([0, "f"], hej(0)); 86 assertArrayEquals([1, "h"], hej(1));
|
/external/v8/test/mjsunit/compiler/ |
regress-funarguments.js | 75 assertArrayEquals([0, "g"], o.g(0, "g")); 76 assertArrayEquals([1, "f"], o.g(1, "g")); 77 assertArrayEquals([0, "h"], hej(0)); 78 assertArrayEquals([1, "f"], hej(1)); 83 assertArrayEquals([0, "f"], o.g(0, "g")); 84 assertArrayEquals([1, "g"], o.g(1, "g")); 85 assertArrayEquals([0, "f"], hej(0)); 86 assertArrayEquals([1, "h"], hej(1));
|
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-crbug-3867.js | 52 assertArrayEquals(["a1", "a2", "a3"], props(new A())); 53 assertArrayEquals(["b3", "b2", "b1"], props(new B())); 54 assertArrayEquals(["c3", "c1", "c2"], props(new C())); 55 assertArrayEquals(["s1", "s2", "s3"], props({s1: 0, s2: 0, s3: 0})); 56 assertArrayEquals(["s3", "s2", "s1"], props({s3: 0, s2: 0, s1: 0})); 57 assertArrayEquals(["s3", "s1", "s2"], props({s3: 0, s1: 0, s2: 0})); 62 assertArrayEquals(["a1", "a2", "a3", "a0", "a4"], props(a)); 67 assertArrayEquals(["b3", "b2", "b1", "b4", "b0"], props(b)); 72 assertArrayEquals(["s1", "s2", "s3", "s0", "s4"], props(o1)); 77 assertArrayEquals(["s3", "s2", "s1", "s4", "s0"], props(o2)) [all...] |
regress-2568.js | 31 assertArrayEquals([2, 2], pluck1([[0, 0], [0, 0]], 'length')); 32 assertArrayEquals([1, 3], pluck1([[1, 2], [3, 4]], '0')); 37 assertArrayEquals([2, 2], pluck2(["ab", "cd"], 'length')); 38 assertArrayEquals(["a", "c"], pluck2(["ab", "cd"], '0')); 45 assertArrayEquals([g, g], pluck3([f, f], 'prototype')); 46 assertArrayEquals([undefined, undefined], pluck3([f, f], '0'));
|
/external/v8/test/mjsunit/regress/ |
regress-crbug-3867.js | 52 assertArrayEquals(["a1", "a2", "a3"], props(new A())); 53 assertArrayEquals(["b3", "b2", "b1"], props(new B())); 54 assertArrayEquals(["c3", "c1", "c2"], props(new C())); 55 assertArrayEquals(["s1", "s2", "s3"], props({s1: 0, s2: 0, s3: 0})); 56 assertArrayEquals(["s3", "s2", "s1"], props({s3: 0, s2: 0, s1: 0})); 57 assertArrayEquals(["s3", "s1", "s2"], props({s3: 0, s1: 0, s2: 0})); 62 assertArrayEquals(["a1", "a2", "a3", "a0", "a4"], props(a)); 67 assertArrayEquals(["b3", "b2", "b1", "b4", "b0"], props(b)); 72 assertArrayEquals(["s1", "s2", "s3", "s0", "s4"], props(o1)); 77 assertArrayEquals(["s3", "s2", "s1", "s4", "s0"], props(o2)) [all...] |