/external/chromium_org/v8/test/mjsunit/ |
D | 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 …]
|
D | 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 …]
|
D | 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 …]
|
D | 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 …]
|
D | arguments.js | 155 assertArrayEquals([0, void 0, void 0, void 0], f6()); 156 assertArrayEquals([1, "x", void 0, void 0], f6(1)); 157 assertArrayEquals([2, "x", "y", void 0], f6(9, 17)); 158 assertArrayEquals([3, "x", "y", 7], f6(3, 5, 7)); 159 assertArrayEquals([4, "x", "y", "c"], f6("a", "b", "c", "d")); 179 assertArrayEquals([0], f1()); 180 assertArrayEquals([1, void 0], f1(3)); 181 assertArrayEquals([2, 5, 5], f1(3, 5)); 182 assertArrayEquals([3, 5, 5, 7], f1(3, 5, 7));
|
D | for-in.js | 38 assertArrayEquals(["x"], props({x:1}), "x"); 39 assertArrayEquals(["x", "y"], props({x:1, y:2}), "xy"); 40 assertArrayEquals(["x", "y", "zoom"], props({x:1, y:2, zoom:3}), "xyzoom"); 46 assertArrayEquals(["0"], props([1]), "0"); 47 assertArrayEquals(["0", "1"], props([1,2]), "01"); 48 assertArrayEquals(["0", "1", "2"], props([1,2,3]), "012"); 57 assertArrayEquals(a, props(o), "charcodes");
|
D | array-sort.js | 39 assertArrayEquals([ 200, 45, 7 ], a); 42 assertArrayEquals([ 7, 45, 200 ], a); 47 assertArrayEquals([-123,-1234,-12345,-123456], a); 52 assertArrayEquals([-123,-1234,-12345,-123456,0,0,123,1234,12345,123456], a); 56 assertArrayEquals([1000000000, 9], a); 58 assertArrayEquals([1, 1000000000], a); 60 assertArrayEquals([0, 1000000000], a); 64 assertArrayEquals([123, 1230], a); 66 assertArrayEquals([123, 1231], a); 71 …assertArrayEquals([-1000000000, -10000000000, -1000000001, 1000000000, 10000000000, 1000000001], a… [all …]
|
/external/chromium_org/v8/test/mjsunit/harmony/ |
D | array-fill.js | 9 assertArrayEquals([].fill(8), []); 10 assertArrayEquals([0, 0, 0, 0, 0].fill(), [undefined, undefined, undefined, undefined, undefined]); 11 assertArrayEquals([0, 0, 0, 0, 0].fill(8), [8, 8, 8, 8, 8]); 12 assertArrayEquals([0, 0, 0, 0, 0].fill(8, 1), [0, 8, 8, 8, 8]); 13 assertArrayEquals([0, 0, 0, 0, 0].fill(8, 10), [0, 0, 0, 0, 0]); 14 assertArrayEquals([0, 0, 0, 0, 0].fill(8, -5), [8, 8, 8, 8, 8]); 15 assertArrayEquals([0, 0, 0, 0, 0].fill(8, 1, 4), [0, 8, 8, 8, 0]); 16 assertArrayEquals([0, 0, 0, 0, 0].fill(8, 1, -1), [0, 8, 8, 8, 0]); 17 assertArrayEquals([0, 0, 0, 0, 0].fill(8, 1, 42), [0, 8, 8, 8, 8]); 18 assertArrayEquals([0, 0, 0, 0, 0].fill(8, -3, 42), [0, 0, 8, 8, 8]); [all …]
|
D | block-for.js | 42 assertArrayEquals(["x"], props({x:1})); 43 assertArrayEquals(["x", "y"], props({x:1, y:2})); 44 assertArrayEquals(["x", "y", "zoom"], props({x:1, y:2, zoom:3})); 50 assertArrayEquals(["0"], props([1])); 51 assertArrayEquals(["0", "1"], props([1,2])); 52 assertArrayEquals(["0", "1", "2"], props([1,2,3])); 63 assertArrayEquals(a, props(o));
|
/external/junit/src/org/junit/ |
D | Assert.java | 166 public static void assertArrayEquals(String message, Object[] expecteds, in assertArrayEquals() method in Assert 184 public static void assertArrayEquals(Object[] expecteds, Object[] actuals) { in assertArrayEquals() method in Assert 185 assertArrayEquals(null, expecteds, actuals); in assertArrayEquals() 200 public static void assertArrayEquals(String message, byte[] expecteds, in assertArrayEquals() method in Assert 214 public static void assertArrayEquals(byte[] expecteds, byte[] actuals) { in assertArrayEquals() method in Assert 215 assertArrayEquals(null, expecteds, actuals); in assertArrayEquals() 230 public static void assertArrayEquals(String message, char[] expecteds, in assertArrayEquals() method in Assert 244 public static void assertArrayEquals(char[] expecteds, char[] actuals) { in assertArrayEquals() method in Assert 245 assertArrayEquals(null, expecteds, actuals); in assertArrayEquals() 260 public static void assertArrayEquals(String message, short[] expecteds, in assertArrayEquals() method in Assert [all …]
|
/external/chromium_org/v8/test/mjsunit/regress/ |
D | 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));
|
D | regress-176.js | 30 assertArrayEquals(["f", undefined], 33 assertArrayEquals(["f", undefined], 36 assertArrayEquals(["fo", "f"], 39 assertArrayEquals(["fo", "f"], 42 assertArrayEquals(["fo", "f"], 45 assertArrayEquals(["fo", "f"], 48 assertArrayEquals(["f", undefined],
|
D | 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'));
|
D | regress-crbug-181422.js | 28 assertArrayEquals(["\u00a0"], "ab\u00a0cd".match(/\s/)); 29 assertArrayEquals(["a", "b", "c", "d"], "ab\u00a0cd".match(/\S/g)); 31 assertArrayEquals(["\u00a0"], "\u2604b\u00a0cd".match(/\s/)); 32 assertArrayEquals(["\u2604", "b", "c", "d"], "\u2604b\u00a0cd".match(/\S/g));
|
D | regress-334.js | 56 assertArrayEquals(["baz", "bif"], enumerable(object), "enum0"); 67 assertArrayEquals(["baz", "bif"], enumerable(object), "enum1"); 71 assertArrayEquals(["baz", "bif"], enumerable(object), "enum2"); 81 assertArrayEquals(["bar", "baz", "bif"], enumerable(object), "enum3"); 85 assertArrayEquals(["bar", "baz"], enumerable(object), "enum4"); 89 assertArrayEquals(["bar", "baz"], enumerable(object), "enum5");
|
D | regress-crbug-171715.js | 47 assertArrayEquals(["a", "b", "c"], 53 assertArrayEquals(["a", "b", "c"], 61 assertArrayEquals(["x", "y", "z"], 63 assertArrayEquals(["a", "b", "c"],
|
D | regress-inlining-function-literal-context.js | 50 assertArrayEquals([1], foo()); 51 assertArrayEquals([1], foo()); 53 assertArrayEquals([1], foo());
|
/external/chromium-trace/trace-viewer/src/tracing/tracks/ |
D | slice_group_track_test.js | 28 assertArrayEquals([sA, sB], subRows[0]); 44 assertArrayEquals([sA], subRows[0]); 45 assertArrayEquals([sB], subRows[1]); 61 assertArrayEquals([sB], subRows[0]); 62 assertArrayEquals([sA], subRows[1]); 77 assertArrayEquals([sA, sB], subRows[0]); 91 assertArrayEquals([sA], subRows[0]); 92 assertArrayEquals([sB], subRows[1]); 111 assertArrayEquals([sA, sB], subRows[0]); 132 assertArrayEquals([sA], subRows[0]); [all …]
|
/external/chromium_org/v8/test/mjsunit/compiler/ |
D | 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));
|
D | complex-for-in.js | 35 assertArrayEquals(['x','y'], TestNamed({x:0, y:1})); 36 assertArrayEquals(['0','1'], TestNamed([1,2])); 49 assertArrayEquals(['x','y'], TestKeyed({x:0, y:1})); 50 assertArrayEquals(['0','1'], TestKeyed([1,2]));
|
/external/chromium_org/v8/test/mjsunit/tools/ |
D | splaytree.js | 42 assertArrayEquals([], tree.exportValues()); 44 assertArrayEquals(['value'], tree.exportValues()); 46 assertArrayEquals(['value'], tree.exportValues()); 84 assertArrayEquals([50, 30, 60, 10, 40, 90, 20, 70, 100, 15, 80], 87 assertArrayEquals([50, 30, 60, 10, 40, 90, 20, 70, 100, 15, 80], 90 assertArrayEquals([80, 60, 90, 50, 70, 100, 30, 10, 40, 20, 15], 99 assertArrayEquals(['left', 'root'], tree.exportValues()); 101 assertArrayEquals(['right', 'root', 'left'], tree.exportValues()); 165 assertArrayEquals([], tree.exportValues());
|
/external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/ |
D | SinkTester.java | 84 private static void assertArrayEquals(byte[] expected, byte[] actual) { in assertArrayEquals() method in SinkTester 99 assertArrayEquals(expected, getBytes()); in sinkTestNoWriting() 112 assertArrayEquals(expected, getBytes()); in sinkTestWriteZeroBytes() 124 assertArrayEquals(expected, getBytes()); in sinkTestWriteByteByByte() 146 assertArrayEquals(expected, getBytes()); in sinkTestWriteArray() 177 assertArrayEquals(expected, getBytes()); in sinkTestWriteOffset() 188 assertArrayEquals(expected, getBytes()); in sinkTestWriteLargeArray() 204 assertArrayEquals(expectedBytes, getBytes()); in sinkTestWriteAfterClose()
|
D | CharSinkTester.java | 83 private static void assertArrayEquals(char[] expected, char[] actual) { in assertArrayEquals() method in CharSinkTester 98 assertArrayEquals(expected, getChars()); in sinkTestNoWriting() 111 assertArrayEquals(expected, getChars()); in sinkTestWriteZeroChars() 123 assertArrayEquals(expected, getChars()); in sinkTestWriteCharByChar() 136 assertArrayEquals(expected, getChars()); in sinkTestWriteArray() 162 assertArrayEquals(expected, getChars()); in sinkTestWriteOffset() 176 assertArrayEquals(expected, getChars()); in sinkTestWriteLargeArray() 192 assertArrayEquals(expectedChars, getChars()); in sinkTestWriteAfterClose()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | ListToArrayTester.java | 39 assertArrayEquals("toArray() order should match list", in testToArray_noArg() 46 assertArrayEquals("toArray(tooSmall) order should match list", in testToArray_tooSmall() 52 assertArrayEquals("toArray(largeEnough) order should match list", in testToArray_largeEnough() 56 private static void assertArrayEquals(String message, Object[] expected, in assertArrayEquals() method in ListToArrayTester
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | BundleTest.java | 259 Assert.assertArrayEquals(new String[] { "a" }, bundle.getStringArray("foo")); in testStringArray() 298 assertArrayEquals(arr, bundle.getBooleanArray("foo")); in testBooleanArray() 307 Assert.assertArrayEquals(arr, bundle.getByteArray("foo")); in testByteArray() 316 Assert.assertArrayEquals(arr, bundle.getCharArray("foo")); in testCharArray() 325 assertArrayEquals(arr, bundle.getDoubleArray("foo")); in testDoubleArray() 334 Assert.assertArrayEquals(arr, bundle.getIntArray("foo")); in testIntArray() 343 Assert.assertArrayEquals(arr, bundle.getLongArray("foo")); in testLongArray() 352 Assert.assertArrayEquals(arr, bundle.getShortArray("foo")); in testShortArray() 363 Assert.assertArrayEquals(arr, bundle.getParcelableArray("foo")); in testParcelableArray() 375 private void assertArrayEquals(double[] expected, double[] actual) { in assertArrayEquals() method in BundleTest [all …]
|