summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2020-07-04 18:56:48 +0100
committerAndreas Kling <kling@serenityos.org>2020-07-06 23:40:35 +0200
commit461d90d042dc15221fea94fdbd412e77274faac8 (patch)
treec2ef9c5dba5788fcbe29b183798ec3b2818ea4d1 /Userland
parent8ebdf685a64e2a63c48aa5b7674c0b05d98bbc04 (diff)
downloadserenity-461d90d042dc15221fea94fdbd412e77274faac8.zip
LibJS: Convert Array tests to new testing framework
Diffstat (limited to 'Userland')
-rw-r--r--Userland/test-js.cpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/Userland/test-js.cpp b/Userland/test-js.cpp
index 9f329ace8b..2e256c4f53 100644
--- a/Userland/test-js.cpp
+++ b/Userland/test-js.cpp
@@ -43,6 +43,38 @@
// FIXME: Will eventually not be necessary when all tests are converted
Vector<String> tests_to_run = {
+ "builtins/Array/Array.js",
+ "builtins/Array/array-basic.js",
+ "builtins/Array/array-length-setter.js",
+ "builtins/Array/array-shrink-during-find-crash.js",
+ "builtins/Array/array-spread.js",
+ "builtins/Array/Array.isArray.js",
+ "builtins/Array/Array.of.js",
+ "builtins/Array/Array.prototype-generic-functions.js",
+ "builtins/Array/Array.prototype.concat.js",
+ "builtins/Array/Array.prototype.every.js",
+ "builtins/Array/Array.prototype.fill.js",
+ "builtins/Array/Array.prototype.filter.js",
+ "builtins/Array/Array.prototype.find.js",
+ "builtins/Array/Array.prototype.findIndex.js",
+ "builtins/Array/Array.prototype.forEach.js",
+ "builtins/Array/Array.prototype.includes.js",
+ "builtins/Array/Array.prototype.indexOf.js",
+ "builtins/Array/Array.prototype.join.js",
+ "builtins/Array/Array.prototype.lastIndexOf.js",
+ "builtins/Array/Array.prototype.map.js",
+ "builtins/Array/Array.prototype.pop.js",
+ "builtins/Array/Array.prototype.push.js",
+ "builtins/Array/Array.prototype.reduce.js",
+ "builtins/Array/Array.prototype.reduceRight.js",
+ "builtins/Array/Array.prototype.reverse.js",
+ "builtins/Array/Array.prototype.shift.js",
+ "builtins/Array/Array.prototype.slice.js",
+ "builtins/Array/Array.prototype.some.js",
+ "builtins/Array/Array.prototype.splice.js",
+ "builtins/Array/Array.prototype.toLocaleString.js",
+ "builtins/Array/Array.prototype.toString.js",
+ "builtins/Array/Array.prototype.unshift.js",
"builtins/BigInt/BigInt.js",
"builtins/BigInt/bigint-basic.js",
"builtins/BigInt/bigint-number-mix-errors.js",