/external/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 | 59 assertArrayEquals([0, 1], a); 61 assertArrayEquals([0, 1, 2], a); 63 assertArrayEquals([0, 1, 2, 3], a); 65 assertArrayEquals([0, 1, 2, 3, 4], a); 67 assertArrayEquals([0, 1, 2, 3, 4, 5], a); 69 assertArrayEquals([0, 1, 2, 3, 4, 5, 6], a); 71 assertArrayEquals([0, 1, 2, 3, 4, 5, 6, 7], a); 73 assertArrayEquals([0, 1, 2, 3, 4, 5, 6, 7, 8], a); 75 assertArrayEquals([0, 1, 2, 3, 4, 5, 6, 7, 8, 9], a); 94 assertArrayEquals(a, b); [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 | array-iteration.js | 42 assertArrayEquals([0], a.filter(function(n) { return n == 0; })); 43 assertArrayEquals([0,1], a); 48 assertArrayEquals([42,42], 53 assertArrayEquals([42,42], 57 assertArrayEquals([43,43,43,43,43], a); 62 assertArrayEquals([], 64 assertArrayEquals([1,1,2,2], a); 110 assertArrayEquals([42,42], result); 117 assertArrayEquals([1,2], a); 125 assertArrayEquals([1,1,2,2], a); [all …]
|
D | arguments.js | 157 assertArrayEquals([0, void 0, void 0, void 0], f6()); 158 assertArrayEquals([1, "x", void 0, void 0], f6(1)); 159 assertArrayEquals([2, "x", "y", void 0], f6(9, 17)); 160 assertArrayEquals([3, "x", "y", 7], f6(3, 5, 7)); 161 assertArrayEquals([4, "x", "y", "c"], f6("a", "b", "c", "d")); 181 assertArrayEquals([0], f1()); 182 assertArrayEquals([1, void 0], f1(3)); 183 assertArrayEquals([2, 5, 5], f1(3, 5)); 184 assertArrayEquals([3, 5, 5, 7], f1(3, 5, 7));
|
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/v8/test/mjsunit/harmony/ |
D | proxies-integrity.js | 47 assertArrayEquals( 49 assertArrayEquals( 51 assertArrayEquals( 53 assertArrayEquals( 55 assertArrayEquals( 57 assertArrayEquals( 75 assertArrayEquals( 77 assertArrayEquals( 79 assertArrayEquals( 81 assertArrayEquals( [all …]
|
D | reflect-enumerate.js | 43 assertArrayEquals(["x"], props({x:1}), "x"); 44 assertArrayEquals(["x", "y"], props({x:1, y:2}), "xy"); 45 assertArrayEquals(["x", "y", "zoom"], props({x:1, y:2, zoom:3}), "xyzoom"); 51 assertArrayEquals(["0"], props([1]), "0"); 52 assertArrayEquals(["0", "1"], props([1,2]), "01"); 53 assertArrayEquals(["0", "1", "2"], props([1,2,3]), "012"); 62 assertArrayEquals(a, props(o), "charcodes");
|
/external/v8/test/mjsunit/es6/ |
D | array-copywithin.js | 12 assertArrayEquals([4, 5, 3, 4, 5], [1, 2, 3, 4, 5].copyWithin(0, 3)); 13 assertArrayEquals([1, 4, 5, 4, 5], [1, 2, 3, 4, 5].copyWithin(1, 3)); 14 assertArrayEquals([1, 3, 4, 5, 5], [1, 2, 3, 4, 5].copyWithin(1, 2)); 15 assertArrayEquals([1, 2, 3, 4, 5], [1, 2, 3, 4, 5].copyWithin(2, 2)); 21 assertArrayEquals([1, 2, 3, 4, 5].copyWithin(0, 3, 4), [4, 2, 3, 4, 5]); 22 assertArrayEquals([1, 2, 3, 4, 5].copyWithin(1, 3, 4), [1, 4, 3, 4, 5]); 23 assertArrayEquals([1, 2, 3, 4, 5].copyWithin(1, 2, 4), [1, 3, 4, 4, 5]); 29 assertArrayEquals([4, 5, 3, 4, 5], [1, 2, 3, 4, 5].copyWithin(0, -2)); 30 assertArrayEquals([4, 2, 3, 4, 5], [1, 2, 3, 4, 5].copyWithin(0, -2, -1)); 31 assertArrayEquals([1, 3, 3, 4, 5], [1, 2, 3, 4, 5].copyWithin(-4, -3, -2)); [all …]
|
D | typedarray-copywithin.js | 27 assertArrayEquals([4, 5, 3, 4, 5], 29 assertArrayEquals([1, 4, 5, 4, 5], 31 assertArrayEquals([1, 3, 4, 5, 5], 33 assertArrayEquals([1, 2, 3, 4, 5], 40 assertArrayEquals(new constructor([1, 2, 3, 4, 5]).copyWithin(0, 3, 4), 42 assertArrayEquals(new constructor([1, 2, 3, 4, 5]).copyWithin(1, 3, 4), 44 assertArrayEquals(new constructor([1, 2, 3, 4, 5]).copyWithin(1, 2, 4), 51 assertArrayEquals([4, 5, 3, 4, 5], 53 assertArrayEquals([4, 2, 3, 4, 5], 55 assertArrayEquals([1, 3, 3, 4, 5], [all …]
|
D | array-fill.js | 7 assertArrayEquals([].fill(8), []); 8 assertArrayEquals([0, 0, 0, 0, 0].fill(), [undefined, undefined, undefined, undefined, undefined]); 9 assertArrayEquals([0, 0, 0, 0, 0].fill(8), [8, 8, 8, 8, 8]); 10 assertArrayEquals([0, 0, 0, 0, 0].fill(8, 1), [0, 8, 8, 8, 8]); 11 assertArrayEquals([0, 0, 0, 0, 0].fill(8, 10), [0, 0, 0, 0, 0]); 12 assertArrayEquals([0, 0, 0, 0, 0].fill(8, -5), [8, 8, 8, 8, 8]); 13 assertArrayEquals([0, 0, 0, 0, 0].fill(8, 1, 4), [0, 8, 8, 8, 0]); 14 assertArrayEquals([0, 0, 0, 0, 0].fill(8, 1, -1), [0, 8, 8, 8, 0]); 15 assertArrayEquals([0, 0, 0, 0, 0].fill(8, 1, 42), [0, 8, 8, 8, 8]); 16 assertArrayEquals([0, 0, 0, 0, 0].fill(8, -3, 42), [0, 0, 8, 8, 8]); [all …]
|
D | typedarray-fill.js | 19 assertArrayEquals(new constructor([]).fill(8), []); 20 assertArrayEquals(new constructor([0, 0, 0, 0, 0]).fill(8), [8, 8, 8, 8, 8]); 21 assertArrayEquals(new constructor([0, 0, 0, 0, 0]).fill(8, 1), [0, 8, 8, 8, 8]); 22 assertArrayEquals(new constructor([0, 0, 0, 0, 0]).fill(8, 10), [0, 0, 0, 0, 0]); 23 assertArrayEquals(new constructor([0, 0, 0, 0, 0]).fill(8, -5), [8, 8, 8, 8, 8]); 24 assertArrayEquals(new constructor([0, 0, 0, 0, 0]).fill(8, 1, 4), [0, 8, 8, 8, 0]); 25 assertArrayEquals(new constructor([0, 0, 0, 0, 0]).fill(8, 1, -1), [0, 8, 8, 8, 0]); 26 assertArrayEquals(new constructor([0, 0, 0, 0, 0]).fill(8, 1, 42), [0, 8, 8, 8, 8]); 27 assertArrayEquals(new constructor([0, 0, 0, 0, 0]).fill(8, -3, 42), [0, 0, 8, 8, 8]); 28 assertArrayEquals(new constructor([0, 0, 0, 0, 0]).fill(8, -3, 4), [0, 0, 8, 8, 0]); [all …]
|
D | computed-property-names-classes.js | 24 assertArrayEquals([], Object.keys(C.prototype)); 25 assertArrayEquals(['constructor', 'a', 'b', 'c', 'd'], 42 assertArrayEquals([], Object.keys(C.prototype)); 43 assertArrayEquals(['1', '2', 'constructor', 'a', 'c'], 61 assertArrayEquals([], Object.keys(C.prototype)); 62 assertArrayEquals(['constructor', 'a', 'c'], 64 assertArrayEquals([sym1, sym2], Object.getOwnPropertySymbols(C.prototype)); 80 assertArrayEquals([], Object.keys(C)); 84 assertArrayEquals(['length', 'name', 'prototype', 'a', 'b', 'c', 'd'], 101 assertArrayEquals([], Object.keys(C)); [all …]
|
D | spread-array.js | 10 assertArrayEquals([1, 2], b) 12 assertArrayEquals(['a', 'b', 'c', 'd', 'e', 'f'], 36 assertArrayEquals([1, 2, 3], [...gen('a')]); 37 assertArrayEquals(['x', 1, 2, 3, 'y', 1, 2, 3, 'z'], 44 assertArrayEquals(['x', 1, 2, 3, 'y', 1, 2, 3, 'z'], 46 assertArrayEquals([ 156 assertArrayEquals(['a', 'b', 'c'], f()); 158 assertArrayEquals(['a', 'b', 'c'], f()); 178 assertArrayEquals([0, 1, 2], f());
|
/external/testng/src/main/java/org/testng/internal/junit/ |
D | ArrayAsserts.java | 20 public static void assertArrayEquals(String message, Object[] expecteds, in assertArrayEquals() method in ArrayAsserts 38 public static void assertArrayEquals(Object[] expecteds, Object[] actuals) { in assertArrayEquals() method in ArrayAsserts 39 assertArrayEquals(null, expecteds, actuals); in assertArrayEquals() 54 public static void assertArrayEquals(String message, byte[] expecteds, in assertArrayEquals() method in ArrayAsserts 68 public static void assertArrayEquals(byte[] expecteds, byte[] actuals) { in assertArrayEquals() method in ArrayAsserts 69 assertArrayEquals(null, expecteds, actuals); in assertArrayEquals() 84 public static void assertArrayEquals(String message, char[] expecteds, in assertArrayEquals() method in ArrayAsserts 98 public static void assertArrayEquals(char[] expecteds, char[] actuals) { in assertArrayEquals() method in ArrayAsserts 99 assertArrayEquals(null, expecteds, actuals); in assertArrayEquals() 114 public static void assertArrayEquals(String message, short[] expecteds, in assertArrayEquals() method in ArrayAsserts [all …]
|
/external/vogar/src/org/junit/ |
D | Assert.java | 27 public static void assertArrayEquals(byte[] expecteds, byte[] actuals) { in assertArrayEquals() method in Assert 28 assertArrayEquals("", expecteds, actuals); in assertArrayEquals() 31 public static void assertArrayEquals(String message, byte[] expecteds, byte[] actuals) { in assertArrayEquals() method in Assert 40 public static void assertArrayEquals(char[] expecteds, char[] actuals) { in assertArrayEquals() method in Assert 41 assertArrayEquals("", expecteds, actuals); in assertArrayEquals() 44 public static void assertArrayEquals(String message, char[] expecteds, char[] actuals) { in assertArrayEquals() method in Assert 53 public static void assertArrayEquals(int[] expecteds, int[] actuals) { in assertArrayEquals() method in Assert 54 assertArrayEquals("", expecteds, actuals); in assertArrayEquals() 57 public static void assertArrayEquals(String message, int[] expecteds, int[] actuals) { in assertArrayEquals() method in Assert 66 public static void assertArrayEquals(long[] expecteds, long[] actuals) { in assertArrayEquals() method in Assert [all …]
|
/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/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-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");
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/array/ |
D | PrimitiveArrayTest.java | 54 Assert.assertArrayEquals(bytes, ((ByteArr) wrappers.get(0)).getBytes()); in testValidConstructor() 55 Assert.assertArrayEquals(shorts, ((ShortArr) wrappers.get(1)).getShorts()); in testValidConstructor() 56 Assert.assertArrayEquals(ints, ((IntArr) wrappers.get(2)).getInts()); in testValidConstructor() 57 Assert.assertArrayEquals(longs, ((LongArr) wrappers.get(3)).getLongs()); in testValidConstructor() 58 Assert.assertArrayEquals(floats, ((FloatArr) wrappers.get(4)).getFloats(), 0.001f); in testValidConstructor() 59 Assert.assertArrayEquals(doubles, ((DoubleArr) wrappers.get(5)).getDoubles(), 0.001); in testValidConstructor() 60 Assert.assertArrayEquals(chars, ((CharArr) wrappers.get(6)).getChars()); in testValidConstructor() 61 assertArrayEquals(bools, ((BooleanArr) wrappers.get(7)).getBools()); in testValidConstructor() 68 private void assertArrayEquals(boolean[] expected, boolean[] actuals) { in assertArrayEquals() method in PrimitiveArrayTest 125 Assert.assertArrayEquals(new float[] { 3, 5 }, in testPromotion() [all …]
|
/external/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));
|
/external/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()
|