summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndré Bargull <andre.bargull@gmail.com>2015-08-11 17:51:42 +0200
committerAndré Bargull <andre.bargull@gmail.com>2015-08-11 17:51:42 +0200
commit8d358cbd072c904b91474ac29aa21836f8d5b0a7 (patch)
tree465b8457bdfe71a7911a688c5e76994dec4e611f /test
parent9cc4016866ecfba39bd07b4d9fbaf461749b1b54 (diff)
downloadqtdeclarative-testsuites-8d358cbd072c904b91474ac29aa21836f8d5b0a7.tar.gz
Replace runTestCase with assert helpers [test/built-ins/Object/is{Frozen, Extensible, Sealed}]
Diffstat (limited to 'test')
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-0-1.js9
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-0-2.js8
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-0-3.js8
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-1-1.js5
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-1-2.js5
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-1-3.js5
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-1-4.js5
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-1.js5
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-2-10.js9
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-2-11.js9
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-2-12.js9
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-2-13.js9
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-2-14.js9
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-2-15.js9
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-2-16.js9
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-2-17.js9
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-2-18.js9
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-2-19.js9
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-2-2.js9
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-2-20.js9
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-2-21.js9
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-2-22.js8
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-2-23.js7
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-2-24.js7
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-2-25.js8
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-2-26.js8
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-2-27.js8
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-2-29.js11
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-2-3.js9
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-2-4.js9
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-2-5.js9
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-2-6.js9
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-2-7.js9
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-2-8.js9
-rw-r--r--test/built-ins/Object/isExtensible/15.2.3.13-2-9.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-0-1.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-0-2.js8
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-1-1.js5
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-1-2.js5
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-1-3.js5
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-1-4.js5
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-1-5.js7
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-1-6.js7
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-1-7.js7
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-1.js5
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-2-1.js8
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-2-2.js8
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-2-a-1.js7
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-2-a-11.js8
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-2-a-12.js7
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-2-a-13.js7
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-2-a-14.js7
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-2-a-2.js8
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-2-a-3.js8
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-2-a-4.js8
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-2-a-5.js8
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-2-a-6.js8
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-2-a-7.js8
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-2-a-8.js8
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-2-b-i-1.js7
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-2-c-1.js7
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-2-c-2.js7
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-3-10.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-3-11.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-3-12.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-3-13.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-3-14.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-3-15.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-3-16.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-3-17.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-3-18.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-3-19.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-3-2.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-3-20.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-3-21.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-3-22.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-3-23.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-3-24.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-3-25.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-3-26.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-3-27.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-3-28.js7
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-3-3.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-3-4.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-3-5.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-3-6.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-3-7.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-3-8.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-3-9.js9
-rw-r--r--test/built-ins/Object/isFrozen/15.2.3.12-4-1.js6
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-0-1.js9
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-0-2.js8
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-1.js5
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-4-10.js9
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-4-11.js9
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-4-12.js9
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-4-13.js9
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-4-14.js9
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-4-15.js9
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-4-16.js9
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-4-17.js9
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-4-18.js9
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-4-19.js9
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-4-2.js9
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-4-20.js9
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-4-21.js9
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-4-22.js9
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-4-23.js9
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-4-24.js9
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-4-25.js9
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-4-26.js9
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-4-27.js9
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-4-3.js9
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-4-4.js9
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-4-5.js9
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-4-6.js9
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-4-7.js9
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-4-8.js9
-rw-r--r--test/built-ins/Object/isSealed/15.2.3.11-4-9.js9
119 files changed, 196 insertions, 786 deletions
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-0-1.js b/test/built-ins/Object/isExtensible/15.2.3.13-0-1.js
index b051a2f41..61dbcf81c 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-0-1.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-0-1.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.13-0-1
description: Object.isExtensible must exist as a function
-includes: [runTestCase.js]
---*/
-function testcase() {
var f = Object.isExtensible ;
- if (typeof(f) === "function") {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(typeof(f), "function", 'typeof(f)');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-0-2.js b/test/built-ins/Object/isExtensible/15.2.3.13-0-2.js
index 5094b8ac1..fccc77068 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-0-2.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-0-2.js
@@ -4,12 +4,6 @@
/*---
es5id: 15.2.3.13-0-2
description: Object.isExtensible must exist as a function taking 1 parameter
-includes: [runTestCase.js]
---*/
-function testcase() {
- if (Object.isExtensible.length === 1) {
- return true;
- }
- }
-runTestCase(testcase);
+assert.sameValue(Object.isExtensible.length, 1, 'Object.isExtensible.length');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-0-3.js b/test/built-ins/Object/isExtensible/15.2.3.13-0-3.js
index 93501dcdc..0f11a3a79 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-0-3.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-0-3.js
@@ -9,14 +9,8 @@ es5id: 15.2.3.13-0-3
description: >
Object.isExtensible is true for objects created using the Object
constructor
-includes: [runTestCase.js]
---*/
-function testcase() {
var o = new Object();
- if (Object.isExtensible(o) === true) {
- return true;
- }
- }
-runTestCase(testcase);
+assert.sameValue(Object.isExtensible(o), true, 'Object.isExtensible(o)');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-1-1.js b/test/built-ins/Object/isExtensible/15.2.3.13-1-1.js
index 1b19c4c4d..eda4c0622 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-1-1.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-1-1.js
@@ -4,11 +4,6 @@
/*---
es5id: 15.2.3.13-1-1
description: Object.isExtensible does not throw TypeError if 'O' is undefined
-includes: [runTestCase.js]
---*/
-function testcase() {
Object.isExtensible(undefined);
- return true;
-}
-runTestCase(testcase);
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-1-2.js b/test/built-ins/Object/isExtensible/15.2.3.13-1-2.js
index 696e2045c..e57ddd177 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-1-2.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-1-2.js
@@ -4,11 +4,6 @@
/*---
es5id: 15.2.3.13-1-2
description: Object.isExtensible does not throw TypeError if 'O' is null
-includes: [runTestCase.js]
---*/
-function testcase() {
Object.isExtensible(null);
- return true;
-}
-runTestCase(testcase);
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-1-3.js b/test/built-ins/Object/isExtensible/15.2.3.13-1-3.js
index 84e532fd6..731bc9ada 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-1-3.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-1-3.js
@@ -4,11 +4,6 @@
/*---
es5id: 15.2.3.13-1-3
description: Object.isExtensible does not throw TypeError if 'O' is a boolean
-includes: [runTestCase.js]
---*/
-function testcase() {
Object.isExtensible(true);
- return true;
-}
-runTestCase(testcase);
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-1-4.js b/test/built-ins/Object/isExtensible/15.2.3.13-1-4.js
index 59af90896..1eda1dae2 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-1-4.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-1-4.js
@@ -4,11 +4,6 @@
/*---
es5id: 15.2.3.13-1-4
description: Object.isExtensible does not throw TypeError if 'O' is a string
-includes: [runTestCase.js]
---*/
-function testcase() {
Object.isExtensible("abc");
- return true;
-}
-runTestCase(testcase);
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-1.js b/test/built-ins/Object/isExtensible/15.2.3.13-1.js
index ed6dd9908..1552eca76 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-1.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-1.js
@@ -6,11 +6,6 @@ es5id: 15.2.3.13-1
description: >
Object.isExtensible does not throw TypeError if type of first
param is not Object
-includes: [runTestCase.js]
---*/
-function testcase() {
Object.isExtensible(0);
- return true;
-}
-runTestCase(testcase);
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-10.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-10.js
index 177f4bc3c..f55619ab6 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-2-10.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-10.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.13-2-10
description: Object.isExtensible returns true for all built-in objects (RegExp)
-includes: [runTestCase.js]
---*/
-function testcase() {
var e = Object.isExtensible(RegExp);
- if (e === true) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(e, true, 'e');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-11.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-11.js
index 331d335c3..9478698b9 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-2-11.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-11.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.13-2-11
description: Object.isExtensible returns true for all built-in objects (Error)
-includes: [runTestCase.js]
---*/
-function testcase() {
var e = Object.isExtensible(Error);
- if (e === true) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(e, true, 'e');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-12.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-12.js
index e5cb705de..3e369b386 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-2-12.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-12.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.13-2-12
description: Object.isExtensible returns true for all built-in objects (JSON)
-includes: [runTestCase.js]
---*/
-function testcase() {
var e = Object.isExtensible(JSON);
- if (e === true) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(e, true, 'e');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-13.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-13.js
index f3e4b9c1e..e15307478 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-2-13.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-13.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.13-2-13
description: >
Object.isExtensible returns true for all built-in objects
(Function.constructor)
-includes: [runTestCase.js]
---*/
-function testcase() {
var e = Object.isExtensible(Function.constructor);
- if (e === true) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(e, true, 'e');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-14.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-14.js
index b6d0d4dbd..7a630e282 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-2-14.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-14.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.13-2-14
description: >
Object.isExtensible returns true for all built-in objects
(Function.prototype)
-includes: [runTestCase.js]
---*/
-function testcase() {
var e = Object.isExtensible(Function.prototype);
- if (e === true) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(e, true, 'e');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-15.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-15.js
index 49568c6b4..cbb2a4e12 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-2-15.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-15.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.13-2-15
description: >
Object.isExtensible returns true for all built-in objects
(Array.prototype)
-includes: [runTestCase.js]
---*/
-function testcase() {
var e = Object.isExtensible(Array.prototype);
- if (e === true) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(e, true, 'e');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-16.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-16.js
index 0b16fde07..040ecbd67 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-2-16.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-16.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.13-2-16
description: >
Object.isExtensible returns true for all built-in objects
(String.prototype)
-includes: [runTestCase.js]
---*/
-function testcase() {
var e = Object.isExtensible(String.prototype);
- if (e === true) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(e, true, 'e');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-17.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-17.js
index 1636742be..d47a560da 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-2-17.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-17.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.13-2-17
description: >
Object.isExtensible returns true for all built-in objects
(Boolean.prototype)
-includes: [runTestCase.js]
---*/
-function testcase() {
var e = Object.isExtensible(Boolean.prototype);
- if (e === true) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(e, true, 'e');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-18.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-18.js
index a49e52d78..d8a6a3af7 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-2-18.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-18.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.13-2-18
description: >
Object.isExtensible returns true for all built-in objects
(Number.prototype)
-includes: [runTestCase.js]
---*/
-function testcase() {
var e = Object.isExtensible(Number.prototype);
- if (e === true) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(e, true, 'e');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-19.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-19.js
index 2e0b92c6e..d61214cb3 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-2-19.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-19.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.13-2-19
description: >
Object.isExtensible returns true for all built-in objects
(Date.prototype)
-includes: [runTestCase.js]
---*/
-function testcase() {
var e = Object.isExtensible(Date.prototype);
- if (e === true) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(e, true, 'e');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-2.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-2.js
index bd3887beb..91f0c3293 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-2-2.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-2.js
@@ -4,14 +4,9 @@
/*---
es5id: 15.2.3.13-2-2
description: Object.isExtensible returns true for all built-in objects (Object)
-includes: [runTestCase.js]
---*/
-function testcase() {
var o = {};
var e = Object.isExtensible(o);
- if (e === true) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(e, true, 'e');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-20.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-20.js
index f428d807b..cadbe6cf3 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-2-20.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-20.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.13-2-20
description: >
Object.isExtensible returns true for all built-in objects
(RegExp.prototype)
-includes: [runTestCase.js]
---*/
-function testcase() {
var e = Object.isExtensible(RegExp.prototype);
- if (e === true) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(e, true, 'e');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-21.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-21.js
index 0f879c9c8..b32eef4f7 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-2-21.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-21.js
@@ -16,13 +16,8 @@ es5id: 15.2.3.13-2-21
description: >
Object.isExtensible returns true for all built-in objects
(Error.prototype)
-includes: [runTestCase.js]
---*/
-function testcase() {
var e = Object.isExtensible(Error.prototype);
- if (e === true) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(e, true, 'e');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-22.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-22.js
index 3d0884890..6c6e1a4c1 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-2-22.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-22.js
@@ -4,12 +4,8 @@
/*---
es5id: 15.2.3.13-2-22
description: Object.isExtensible returns true if 'O' is extensible
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var obj = {};
- return Object.isExtensible(obj);
- }
-runTestCase(testcase);
+
+assert(Object.isExtensible(obj), 'Object.isExtensible(obj) !== true');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-23.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-23.js
index 381baab05..617caf025 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-2-23.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-23.js
@@ -4,14 +4,9 @@
/*---
es5id: 15.2.3.13-2-23
description: Object.isExtensible returns false if 'O' is not extensible
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var obj = {};
Object.preventExtensions(obj);
- return !Object.isExtensible(obj);
- }
-runTestCase(testcase);
+assert.sameValue(Object.isExtensible(obj), false, 'Object.isExtensible(obj)');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-24.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-24.js
index e140a5a7a..ba0449c59 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-2-24.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-24.js
@@ -6,11 +6,8 @@ es5id: 15.2.3.13-2-24
description: >
Object.isExtensible returns true if O is extensible and has a
prototype that is extensible
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var proto = {};
var ConstructFun = function () { };
@@ -18,6 +15,4 @@ function testcase() {
var obj = new ConstructFun();
- return Object.isExtensible(obj);
- }
-runTestCase(testcase);
+assert(Object.isExtensible(obj), 'Object.isExtensible(obj) !== true');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-25.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-25.js
index 31deafe7e..63b05a7c5 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-2-25.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-25.js
@@ -6,11 +6,8 @@ es5id: 15.2.3.13-2-25
description: >
Object.isExtensible returns true if O is extensible and has a
prototype that is not extensible
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var proto = {};
Object.preventExtensions(proto);
@@ -19,7 +16,4 @@ function testcase() {
var obj = new ConstructFun();
- return Object.isExtensible(obj);
-
- }
-runTestCase(testcase);
+assert(Object.isExtensible(obj), 'Object.isExtensible(obj) !== true');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-26.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-26.js
index c8aa7c21f..58c811599 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-2-26.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-26.js
@@ -6,11 +6,8 @@ es5id: 15.2.3.13-2-26
description: >
Object.isExtensible returns false if O is not extensible and has a
prototype that is extensible
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var proto = {};
var ConstructFun = function () { };
@@ -19,7 +16,4 @@ function testcase() {
Object.preventExtensions(obj);
- return !Object.isExtensible(obj);
-
- }
-runTestCase(testcase);
+assert.sameValue(Object.isExtensible(obj), false, 'Object.isExtensible(obj)');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-27.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-27.js
index 5f83229d6..b123e2518 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-2-27.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-27.js
@@ -6,11 +6,8 @@ es5id: 15.2.3.13-2-27
description: >
Object.isExtensible returns false if O is not extensible and has a
prototype that is not extensible
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var proto = {};
Object.preventExtensions(proto);
@@ -20,7 +17,4 @@ function testcase() {
var obj = new ConstructFun();
Object.preventExtensions(obj);
- return !Object.isExtensible(obj);
-
- }
-runTestCase(testcase);
+assert.sameValue(Object.isExtensible(obj), false, 'Object.isExtensible(obj)');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-29.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-29.js
index ca11d26ba..178d0f6dd 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-2-29.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-29.js
@@ -4,14 +4,7 @@
/*---
es5id: 15.2.3.13-2-29
description: Object.isExtensible returns true for the global object
-includes:
- - runTestCase.js
- - fnGlobalObject.js
+includes: [fnGlobalObject.js]
---*/
-function testcase() {
-
- return Object.isExtensible(fnGlobalObject());
-
- }
-runTestCase(testcase);
+assert(Object.isExtensible(fnGlobalObject()), 'Object.isExtensible(fnGlobalObject()) !== true');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-3.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-3.js
index 5de31c0fd..27fa4c54f 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-2-3.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-3.js
@@ -6,15 +6,10 @@ es5id: 15.2.3.13-2-3
description: >
Object.isExtensible returns true for all built-in objects
(Function)
-includes: [runTestCase.js]
---*/
-function testcase() {
function foo() {}
var e = Object.isExtensible(foo);
- if (e === true) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(e, true, 'e');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-4.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-4.js
index 852f3c034..ffa63fd8b 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-2-4.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-4.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.13-2-4
description: Object.isExtensible returns true for all built-in objects (Array)
-includes: [runTestCase.js]
---*/
-function testcase() {
var e = Object.isExtensible(Array);
- if (e === true) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(e, true, 'e');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-5.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-5.js
index 2a10c1167..aff9de634 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-2-5.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-5.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.13-2-5
description: Object.isExtensible returns true for all built-in objects (String)
-includes: [runTestCase.js]
---*/
-function testcase() {
var e = Object.isExtensible(String);
- if (e === true) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(e, true, 'e');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-6.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-6.js
index 44082b557..73e132cf6 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-2-6.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-6.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.13-2-6
description: Object.isExtensible returns true for all built-in objects (Boolean)
-includes: [runTestCase.js]
---*/
-function testcase() {
var e = Object.isExtensible(Boolean);
- if (e === true) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(e, true, 'e');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-7.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-7.js
index 92fda676e..b7f4dbc18 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-2-7.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-7.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.13-2-7
description: Object.isExtensible returns true for all built-in objects (Number)
-includes: [runTestCase.js]
---*/
-function testcase() {
var e = Object.isExtensible(Number);
- if (e === true) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(e, true, 'e');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-8.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-8.js
index bb1953876..8fa92d614 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-2-8.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-8.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.13-2-8
description: Object.isExtensible returns true for all built-in objects (Math)
-includes: [runTestCase.js]
---*/
-function testcase() {
var e = Object.isExtensible(Math);
- if (e === true) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(e, true, 'e');
diff --git a/test/built-ins/Object/isExtensible/15.2.3.13-2-9.js b/test/built-ins/Object/isExtensible/15.2.3.13-2-9.js
index 68ce2b1f0..4da573d20 100644
--- a/test/built-ins/Object/isExtensible/15.2.3.13-2-9.js
+++ b/test/built-ins/Object/isExtensible/15.2.3.13-2-9.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.13-2-9
description: Object.isExtensible returns true for all built-in objects (Date)
-includes: [runTestCase.js]
---*/
-function testcase() {
var e = Object.isExtensible(Date);
- if (e === true) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(e, true, 'e');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-0-1.js b/test/built-ins/Object/isFrozen/15.2.3.12-0-1.js
index d006c1697..04c9d7704 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-0-1.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-0-1.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.12-0-1
description: Object.isFrozen must exist as a function
-includes: [runTestCase.js]
---*/
-function testcase() {
var f = Object.isFrozen;
- if (typeof(f) === "function") {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(typeof(f), "function", 'typeof(f)');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-0-2.js b/test/built-ins/Object/isFrozen/15.2.3.12-0-2.js
index 886d45a81..5030649cf 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-0-2.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-0-2.js
@@ -4,12 +4,6 @@
/*---
es5id: 15.2.3.12-0-2
description: Object.isFrozen must exist as a function taking 1 parameter
-includes: [runTestCase.js]
---*/
-function testcase() {
- if (Object.isFrozen.length === 1) {
- return true;
- }
- }
-runTestCase(testcase);
+assert.sameValue(Object.isFrozen.length, 1, 'Object.isFrozen.length');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-1-1.js b/test/built-ins/Object/isFrozen/15.2.3.12-1-1.js
index e0c8a3205..c1b503894 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-1-1.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-1-1.js
@@ -6,11 +6,6 @@ es5id: 15.2.3.12-1-1
description: >
Object.isFrozen - TypeError is not thrown when the first param 'O'
is undefined
-includes: [runTestCase.js]
---*/
-function testcase() {
Object.isFrozen(undefined);
- return true;
-}
-runTestCase(testcase);
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-1-2.js b/test/built-ins/Object/isFrozen/15.2.3.12-1-2.js
index c442adedc..a956a69f4 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-1-2.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-1-2.js
@@ -6,11 +6,6 @@ es5id: 15.2.3.12-1-2
description: >
Object.isFrozen - TypeError is not thrown when the first param 'O'
is null
-includes: [runTestCase.js]
---*/
-function testcase() {
Object.isFrozen(null);
- return true;
-}
-runTestCase(testcase);
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-1-3.js b/test/built-ins/Object/isFrozen/15.2.3.12-1-3.js
index 157e57fc7..74d543db3 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-1-3.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-1-3.js
@@ -6,11 +6,6 @@ es5id: 15.2.3.12-1-3
description: >
Object.isFrozen - TypeError is not thrown when the first param 'O'
is a boolean
-includes: [runTestCase.js]
---*/
-function testcase() {
Object.isFrozen(true);
- return true;
-}
-runTestCase(testcase);
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-1-4.js b/test/built-ins/Object/isFrozen/15.2.3.12-1-4.js
index 988ab70d3..45c4f61a7 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-1-4.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-1-4.js
@@ -6,11 +6,6 @@ es5id: 15.2.3.12-1-4
description: >
Object.isFrozen - TypeError is not thrown when the first param 'O'
is a string
-includes: [runTestCase.js]
---*/
-function testcase() {
Object.isFrozen("abc");
- return true;
-}
-runTestCase(testcase);
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-1-5.js b/test/built-ins/Object/isFrozen/15.2.3.12-1-5.js
index 7359b84b3..04a495bc1 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-1-5.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-1-5.js
@@ -4,11 +4,8 @@
/*---
es5id: 15.2.3.12-1-5
description: Object.isFrozen applies to dense array
-includes: [runTestCase.js]
---*/
-function testcase() {
var obj = Object.freeze([0, 1, 2]);
- return Object.isFrozen(obj);
- }
-runTestCase(testcase);
+
+assert(Object.isFrozen(obj), 'Object.isFrozen(obj) !== true');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-1-6.js b/test/built-ins/Object/isFrozen/15.2.3.12-1-6.js
index 373ef0afc..1c8e88cd0 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-1-6.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-1-6.js
@@ -4,14 +4,11 @@
/*---
es5id: 15.2.3.12-1-6
description: Object.isFrozen applies to sparse array
-includes: [runTestCase.js]
---*/
-function testcase() {
var sparseArr = [0, 1];
sparseArr[10000] = 10000;
sparseArr = Object.freeze(sparseArr);
- return Object.isFrozen(sparseArr);
- }
-runTestCase(testcase);
+
+assert(Object.isFrozen(sparseArr), 'Object.isFrozen(sparseArr) !== true');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-1-7.js b/test/built-ins/Object/isFrozen/15.2.3.12-1-7.js
index f2e4539c1..5d9df9679 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-1-7.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-1-7.js
@@ -6,11 +6,8 @@ es5id: 15.2.3.12-1-7
description: >
Object.isFrozen applies to non-array object which contains index
named properties
-includes: [runTestCase.js]
---*/
-function testcase() {
var obj = Object.freeze({ 0: 0, 1: 1, 1000: 1000 });
- return Object.isFrozen(obj);
- }
-runTestCase(testcase);
+
+assert(Object.isFrozen(obj), 'Object.isFrozen(obj) !== true');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-1.js b/test/built-ins/Object/isFrozen/15.2.3.12-1.js
index e0628538c..eeafda571 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-1.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-1.js
@@ -6,11 +6,6 @@ es5id: 15.2.3.12-1
description: >
Object.isFrozen does not throw TypeError if type of first param is
not Object
-includes: [runTestCase.js]
---*/
-function testcase() {
Object.isFrozen(0);
- return true;
-}
-runTestCase(testcase);
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-1.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-1.js
index d540896a1..29dbb7d46 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-2-1.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-1.js
@@ -6,11 +6,8 @@ es5id: 15.2.3.12-2-1
description: >
Object.isFrozen - inherited data property is not considered into
the for each loop
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var proto = {};
Object.defineProperty(proto, "Father", {
value: 10,
@@ -25,7 +22,4 @@ function testcase() {
Object.preventExtensions(child);
- return Object.isFrozen(child);
-
- }
-runTestCase(testcase);
+assert(Object.isFrozen(child), 'Object.isFrozen(child) !== true');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-2.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-2.js
index 1a14fc09e..e7fa25860 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-2-2.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-2.js
@@ -6,11 +6,8 @@ es5id: 15.2.3.12-2-2
description: >
Object.isFrozen - inherited accessor property is not considered
into the for each loop
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var proto = {};
function get_func() {
@@ -31,7 +28,4 @@ function testcase() {
Object.preventExtensions(child);
- return Object.isFrozen(child);
-
- }
-runTestCase(testcase);
+assert(Object.isFrozen(child), 'Object.isFrozen(child) !== true');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-1.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-1.js
index f26e5119a..b254239ce 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-1.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-1.js
@@ -4,11 +4,8 @@
/*---
es5id: 15.2.3.12-2-a-1
description: Object.isFrozen - 'P' is own data property
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var obj = {};
Object.defineProperty(obj, "foo", {
@@ -19,6 +16,4 @@ function testcase() {
Object.preventExtensions(obj);
- return !Object.isFrozen(obj);
- }
-runTestCase(testcase);
+assert.sameValue(Object.isFrozen(obj), false, 'Object.isFrozen(obj)');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-11.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-11.js
index b3973f828..b937a4f69 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-11.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-11.js
@@ -4,11 +4,8 @@
/*---
es5id: 15.2.3.12-2-a-11
description: Object.isFrozen - 'O' is the Arguments object
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var arg;
(function fun() {
@@ -16,6 +13,5 @@ function testcase() {
}(1, 2, 3));
Object.preventExtensions(arg);
- return !Object.isFrozen(arg);
- }
-runTestCase(testcase);
+
+assert.sameValue(Object.isFrozen(arg), false, 'Object.isFrozen(arg)');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-12.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-12.js
index e548383c5..9c1031b95 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-12.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-12.js
@@ -4,17 +4,12 @@
/*---
es5id: 15.2.3.12-2-a-12
description: Object.isFrozen - 'O' is a String object
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var obj = new String("abc");
obj.len = 100;
Object.preventExtensions(obj);
- return !Object.isFrozen(obj);
- }
-runTestCase(testcase);
+assert.sameValue(Object.isFrozen(obj), false, 'Object.isFrozen(obj)');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-13.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-13.js
index 6405cfe23..bdcdb212d 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-13.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-13.js
@@ -4,11 +4,8 @@
/*---
es5id: 15.2.3.12-2-a-13
description: Object.isFrozen - 'O' is a Function object
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var obj = function () { };
Object.defineProperty(obj, "property", {
@@ -19,6 +16,4 @@ function testcase() {
Object.preventExtensions(obj);
- return !Object.isFrozen(obj);
- }
-runTestCase(testcase);
+assert.sameValue(Object.isFrozen(obj), false, 'Object.isFrozen(obj)');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-14.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-14.js
index 924f2d8c2..66eb7cf7e 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-14.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-14.js
@@ -4,16 +4,11 @@
/*---
es5id: 15.2.3.12-2-a-14
description: Object.isFrozen - 'O' is an Array object
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var obj = [2];
obj.len = 200;
Object.preventExtensions(obj);
- return !Object.isFrozen(obj);
- }
-runTestCase(testcase);
+assert.sameValue(Object.isFrozen(obj), false, 'Object.isFrozen(obj)');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-2.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-2.js
index 6f7271fdf..b1714fd6a 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-2.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-2.js
@@ -6,11 +6,8 @@ es5id: 15.2.3.12-2-a-2
description: >
Object.isFrozen - 'P' is own data property that overrides an
inherited data property
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var proto = {};
Object.defineProperty(proto, "foo", {
@@ -30,6 +27,5 @@ function testcase() {
});
Object.preventExtensions(child);
- return !Object.isFrozen(child);
- }
-runTestCase(testcase);
+
+assert.sameValue(Object.isFrozen(child), false, 'Object.isFrozen(child)');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-3.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-3.js
index 3416b99a7..80b28f1ac 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-3.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-3.js
@@ -6,11 +6,8 @@ es5id: 15.2.3.12-2-a-3
description: >
Object.isFrozen - 'P' is own data property that overrides an
inherited accessor property
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var proto = {};
Object.defineProperty(proto, "foo", {
@@ -31,6 +28,5 @@ function testcase() {
});
Object.preventExtensions(child);
- return !Object.isFrozen(child);
- }
-runTestCase(testcase);
+
+assert.sameValue(Object.isFrozen(child), false, 'Object.isFrozen(child)');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-4.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-4.js
index 132092751..318d43be5 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-4.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-4.js
@@ -4,11 +4,8 @@
/*---
es5id: 15.2.3.12-2-a-4
description: Object.isFrozen - 'P' is own accessor property
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var obj = {};
Object.defineProperty(obj, "foo", {
get: function () {
@@ -18,6 +15,5 @@ function testcase() {
});
Object.preventExtensions(obj);
- return !Object.isFrozen(obj);
- }
-runTestCase(testcase);
+
+assert.sameValue(Object.isFrozen(obj), false, 'Object.isFrozen(obj)');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-5.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-5.js
index da37663d5..0164b8a7a 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-5.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-5.js
@@ -6,11 +6,8 @@ es5id: 15.2.3.12-2-a-5
description: >
Object.isFrozen - 'P' is own accessor property that overrides an
inherited data property
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var proto = {};
Object.defineProperty(proto, "foo", {
@@ -30,6 +27,5 @@ function testcase() {
});
Object.preventExtensions(child);
- return !Object.isFrozen(child);
- }
-runTestCase(testcase);
+
+assert.sameValue(Object.isFrozen(child), false, 'Object.isFrozen(child)');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-6.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-6.js
index 1f7b424e7..f010ceee0 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-6.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-6.js
@@ -6,11 +6,8 @@ es5id: 15.2.3.12-2-a-6
description: >
Object.isFrozen - 'P' is own accessor property that overrides an
inherited accessor property
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var proto = {};
Object.defineProperty(proto, "foo", {
@@ -33,6 +30,5 @@ function testcase() {
});
Object.preventExtensions(child);
- return !Object.isFrozen(child);
- }
-runTestCase(testcase);
+
+assert.sameValue(Object.isFrozen(child), false, 'Object.isFrozen(child)');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-7.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-7.js
index 9fbc16419..054f21626 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-7.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-7.js
@@ -6,11 +6,8 @@ es5id: 15.2.3.12-2-a-7
description: >
Object.isFrozen - 'P' is own accessor property without a get
function
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var obj = {};
Object.defineProperty(obj, "foo", {
set: function () { },
@@ -18,6 +15,5 @@ function testcase() {
});
Object.preventExtensions(obj);
- return !Object.isFrozen(obj);
- }
-runTestCase(testcase);
+
+assert.sameValue(Object.isFrozen(obj), false, 'Object.isFrozen(obj)');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-8.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-8.js
index 8747f095f..7ebdca6bc 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-2-a-8.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-a-8.js
@@ -6,11 +6,8 @@ es5id: 15.2.3.12-2-a-8
description: >
Object.isFrozen - 'P' is own accessor property without a get
function that overrides an inherited accessor property
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var proto = {};
Object.defineProperty(proto, "foo", {
@@ -30,6 +27,5 @@ function testcase() {
});
Object.preventExtensions(child);
- return !Object.isFrozen(child);
- }
-runTestCase(testcase);
+
+assert.sameValue(Object.isFrozen(child), false, 'Object.isFrozen(child)');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-b-i-1.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-b-i-1.js
index 8b9490db4..4a1edc14b 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-2-b-i-1.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-b-i-1.js
@@ -6,11 +6,8 @@ es5id: 15.2.3.12-2-b-i-1
description: >
Object.isFrozen returns false if 'O' contains own writable data
property
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var obj = {};
Object.defineProperty(obj, "foo", {
value: 20,
@@ -18,7 +15,5 @@ function testcase() {
configurable: false
});
Object.preventExtensions(obj);
- return !Object.isFrozen(obj);
- }
-runTestCase(testcase);
+assert.sameValue(Object.isFrozen(obj), false, 'Object.isFrozen(obj)');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-c-1.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-c-1.js
index 4de35ab6f..d56ce37ac 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-2-c-1.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-c-1.js
@@ -6,11 +6,8 @@ es5id: 15.2.3.12-2-c-1
description: >
Object.isFrozen returns false if 'O' contains own configurable
data property
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var obj = {};
Object.defineProperty(obj, "foo", {
value: 20,
@@ -19,7 +16,5 @@ function testcase() {
});
Object.preventExtensions(obj);
- return !Object.isFrozen(obj);
- }
-runTestCase(testcase);
+assert.sameValue(Object.isFrozen(obj), false, 'Object.isFrozen(obj)');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-2-c-2.js b/test/built-ins/Object/isFrozen/15.2.3.12-2-c-2.js
index bb8b20c10..b1e4d1f19 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-2-c-2.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-2-c-2.js
@@ -6,11 +6,8 @@ es5id: 15.2.3.12-2-c-2
description: >
Object.isFrozen returns false if 'O' contains own configurable
accessor property
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var obj = {};
function get_func() {
@@ -25,7 +22,5 @@ function testcase() {
});
Object.preventExtensions(obj);
- return !Object.isFrozen(obj);
- }
-runTestCase(testcase);
+assert.sameValue(Object.isFrozen(obj), false, 'Object.isFrozen(obj)');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-10.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-10.js
index ebbee3fa6..10574131c 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-3-10.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-10.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.12-3-10
description: Object.isFrozen returns false for all built-in objects (Boolean)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isFrozen(Boolean);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-11.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-11.js
index 54c0d85f2..56d3cc613 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-3-11.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-11.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.12-3-11
description: >
Object.isFrozen returns false for all built-in objects
(Boolean.prototype)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isFrozen(Boolean.prototype);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-12.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-12.js
index 4d47c63c0..1990a4753 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-3-12.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-12.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.12-3-12
description: Object.isFrozen returns false for all built-in objects (Number)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isFrozen(Number);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-13.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-13.js
index ca4e2920a..a23a21495 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-3-13.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-13.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.12-3-13
description: >
Object.isFrozen returns false for all built-in objects
(Number.prototype)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isFrozen(Number.prototype);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-14.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-14.js
index e72231126..84878798d 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-3-14.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-14.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.12-3-14
description: Object.isFrozen returns false for all built-in objects (Math)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isFrozen(Math);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-15.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-15.js
index a76794e3d..8792cdae9 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-3-15.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-15.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.12-3-15
description: Object.isFrozen returns false for all built-in objects (Date)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isFrozen(Date);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-16.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-16.js
index 7bc829af4..98ad1f1d7 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-3-16.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-16.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.12-3-16
description: >
Object.isFrozen returns false for all built-in objects
(Date.prototype)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isFrozen(Date.prototype);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-17.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-17.js
index 42d75db43..17fbf439d 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-3-17.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-17.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.12-3-17
description: Object.isFrozen returns false for all built-in objects (RegExp)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isFrozen(RegExp);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-18.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-18.js
index 707483e5b..a2afec3b8 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-3-18.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-18.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.12-3-18
description: >
Object.isFrozen returns false for all built-in objects
(RegExp.prototype)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isFrozen(RegExp.prototype);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-19.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-19.js
index 555a14ba8..3ed4a1a02 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-3-19.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-19.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.12-3-19
description: Object.isFrozen returns false for all built-in objects (Error)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isFrozen(Error);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-2.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-2.js
index e859d9ced..608346f73 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-3-2.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-2.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.12-3-2
description: Object.isFrozen returns false for all built-in objects (Object)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isFrozen(Object);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-20.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-20.js
index 3e3df62ce..598f3d746 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-3-20.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-20.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.12-3-20
description: >
Object.isFrozen returns false for all built-in objects
(Error.prototype)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isFrozen(Error.prototype);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-21.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-21.js
index bbcc9f5f0..3c04257c3 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-3-21.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-21.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.12-3-21
description: Object.isFrozen returns false for all built-in objects (EvalError)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isFrozen(EvalError);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-22.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-22.js
index 2cd861712..b9ca47ad7 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-3-22.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-22.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.12-3-22
description: Object.isFrozen returns false for all built-in objects (RangeError)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isFrozen(RangeError);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-23.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-23.js
index 9d432c062..e04d9582e 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-3-23.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-23.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.12-3-23
description: >
Object.isFrozen returns false for all built-in objects
(ReferenceError)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isFrozen(ReferenceError);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-24.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-24.js
index e732ec48d..dd468ba64 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-3-24.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-24.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.12-3-24
description: >
Object.isFrozen returns false for all built-in objects
(SyntaxError)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isFrozen(SyntaxError);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-25.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-25.js
index 37a7a2302..2d222a0a6 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-3-25.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-25.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.12-3-25
description: Object.isFrozen returns false for all built-in objects (TypeError)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isFrozen(TypeError);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-26.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-26.js
index 6e9bae7c9..657d66790 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-3-26.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-26.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.12-3-26
description: Object.isFrozen returns false for all built-in objects (URIError)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isFrozen(URIError);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-27.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-27.js
index f221a1807..05c395fce 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-3-27.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-27.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.12-3-27
description: Object.isFrozen returns false for all built-in objects (JSON)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isFrozen(JSON);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-28.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-28.js
index 542d5967c..8bebd4ece 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-3-28.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-28.js
@@ -6,11 +6,8 @@ es5id: 15.2.3.12-3-28
description: >
Object.isFrozen returns true when all own properties of 'O' are
not writable and not configurable, and 'O' is not extensible
-includes: [runTestCase.js]
---*/
-function testcase() {
-
var obj = {};
Object.defineProperty(obj, "foo1", {
@@ -33,7 +30,5 @@ function testcase() {
});
Object.preventExtensions(obj);
- return Object.isFrozen(obj);
- }
-runTestCase(testcase);
+assert(Object.isFrozen(obj), 'Object.isFrozen(obj) !== true');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-3.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-3.js
index 0d1cae8aa..8911f64dd 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-3-3.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-3.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.12-3-3
description: >
Object.isFrozen returns false for all built-in objects
(Object.prototype)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isFrozen(Object.prototype);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-4.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-4.js
index 9a21891e0..0c3cacdfe 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-3-4.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-4.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.12-3-4
description: Object.isFrozen returns false for all built-in objects (Function)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isFrozen(Function);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-5.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-5.js
index 6de6fa8e6..a4c70fff9 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-3-5.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-5.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.12-3-5
description: >
Object.isFrozen returns false for all built-in objects
(Function.prototype)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isFrozen(Function.prototype);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-6.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-6.js
index 4917ee434..d3e9faa56 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-3-6.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-6.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.12-3-6
description: Object.isFrozen returns false for all built-in objects (Array)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isFrozen(Array);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-7.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-7.js
index 4e54a70e3..fce437065 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-3-7.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-7.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.12-3-7
description: >
Object.isFrozen returns false for all built-in objects
(Array.prototype)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isFrozen(Array.prototype);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-8.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-8.js
index 8d8e6e3e7..caa6c4c38 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-3-8.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-8.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.12-3-8
description: Object.isFrozen returns false for all built-in objects (String)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isFrozen(String);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-3-9.js b/test/built-ins/Object/isFrozen/15.2.3.12-3-9.js
index 9b4b44da4..ad482d825 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-3-9.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-3-9.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.12-3-9
description: >
Object.isFrozen returns false for all built-in objects
(String.prototype)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isFrozen(String.prototype);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isFrozen/15.2.3.12-4-1.js b/test/built-ins/Object/isFrozen/15.2.3.12-4-1.js
index 29c07924d..9ffd4b26c 100644
--- a/test/built-ins/Object/isFrozen/15.2.3.12-4-1.js
+++ b/test/built-ins/Object/isFrozen/15.2.3.12-4-1.js
@@ -4,10 +4,6 @@
/*---
es5id: 15.2.3.12-4-1
description: Object.isFrozen returns false if extensible is true
-includes: [runTestCase.js]
---*/
-function testcase() {
- return !Object.isFrozen({});
- }
-runTestCase(testcase);
+assert.sameValue(Object.isFrozen({}), false, 'Object.isFrozen({})');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-0-1.js b/test/built-ins/Object/isSealed/15.2.3.11-0-1.js
index c70dcab97..53d2c5190 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-0-1.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-0-1.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.11-0-1
description: Object.isSealed must exist as a function
-includes: [runTestCase.js]
---*/
-function testcase() {
var f = Object.isSealed;
- if (typeof(f) === "function") {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(typeof(f), "function", 'typeof(f)');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-0-2.js b/test/built-ins/Object/isSealed/15.2.3.11-0-2.js
index eceb3badd..81f98c41b 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-0-2.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-0-2.js
@@ -4,12 +4,6 @@
/*---
es5id: 15.2.3.11-0-2
description: Object.isSealed must exist as a function taking 1 parameter
-includes: [runTestCase.js]
---*/
-function testcase() {
- if (Object.isSealed.length === 1) {
- return true;
- }
- }
-runTestCase(testcase);
+assert.sameValue(Object.isSealed.length, 1, 'Object.isSealed.length');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-1.js b/test/built-ins/Object/isSealed/15.2.3.11-1.js
index 445ed9e24..ec43eb5c7 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-1.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-1.js
@@ -6,11 +6,6 @@ es5id: 15.2.3.11-1
description: >
Object.isSealed does not throw TypeError if type of first param is
not Object
-includes: [runTestCase.js]
---*/
-function testcase() {
Object.isSealed(0);
- return true;
-}
-runTestCase(testcase);
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-4-10.js b/test/built-ins/Object/isSealed/15.2.3.11-4-10.js
index 81572680d..726b81344 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-4-10.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-4-10.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.11-4-10
description: Object.isSealed returns false for all built-in objects (Boolean)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isSealed(Boolean);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-4-11.js b/test/built-ins/Object/isSealed/15.2.3.11-4-11.js
index e546bfd6d..d9f961663 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-4-11.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-4-11.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.11-4-11
description: >
Object.isSealed returns false for all built-in objects
(Boolean.prototype)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isSealed(Boolean.prototype);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-4-12.js b/test/built-ins/Object/isSealed/15.2.3.11-4-12.js
index b9fe627d9..c14303965 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-4-12.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-4-12.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.11-4-12
description: Object.isSealed returns false for all built-in objects (Number)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isSealed(Number);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-4-13.js b/test/built-ins/Object/isSealed/15.2.3.11-4-13.js
index defdb501e..0e6484ede 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-4-13.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-4-13.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.11-4-13
description: >
Object.isSealed returns false for all built-in objects
(Number.prototype)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isSealed(Number.prototype);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-4-14.js b/test/built-ins/Object/isSealed/15.2.3.11-4-14.js
index 1c61e49f2..663d6fae8 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-4-14.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-4-14.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.11-4-14
description: Object.isSealed returns false for all built-in objects (Math)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isSealed(Math);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-4-15.js b/test/built-ins/Object/isSealed/15.2.3.11-4-15.js
index ef43f7e8a..20f8f82b5 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-4-15.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-4-15.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.11-4-15
description: Object.isSealed returns false for all built-in objects (Date)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isSealed(Date);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-4-16.js b/test/built-ins/Object/isSealed/15.2.3.11-4-16.js
index b0dce0bf4..d5a720f9a 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-4-16.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-4-16.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.11-4-16
description: >
Object.isSealed returns false for all built-in objects
(Date.prototype)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isSealed(Date.prototype);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-4-17.js b/test/built-ins/Object/isSealed/15.2.3.11-4-17.js
index 51cd83ea4..7e019b180 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-4-17.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-4-17.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.11-4-17
description: Object.isSealed returns false for all built-in objects (RegExp)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isSealed(RegExp);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-4-18.js b/test/built-ins/Object/isSealed/15.2.3.11-4-18.js
index beb6e24c3..5d009ad4e 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-4-18.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-4-18.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.11-4-18
description: >
Object.isSealed returns false for all built-in objects
(RegExp.prototype)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isSealed(RegExp.prototype);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-4-19.js b/test/built-ins/Object/isSealed/15.2.3.11-4-19.js
index bc932d1b1..76147bf79 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-4-19.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-4-19.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.11-4-19
description: Object.isSealed returns false for all built-in objects (Error)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isSealed(Error);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-4-2.js b/test/built-ins/Object/isSealed/15.2.3.11-4-2.js
index 752fcc725..f870603af 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-4-2.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-4-2.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.11-4-2
description: Object.isSealed returns false for all built-in objects (Object)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isSealed(Object);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-4-20.js b/test/built-ins/Object/isSealed/15.2.3.11-4-20.js
index 7be131b79..6fcc308ea 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-4-20.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-4-20.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.11-4-20
description: >
Object.isSealed returns false for all built-in objects
(Error.prototype)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isSealed(Error.prototype);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-4-21.js b/test/built-ins/Object/isSealed/15.2.3.11-4-21.js
index fadd0a4f5..3deb97a26 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-4-21.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-4-21.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.11-4-21
description: Object.isSealed returns false for all built-in objects (EvalError)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isSealed(EvalError);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-4-22.js b/test/built-ins/Object/isSealed/15.2.3.11-4-22.js
index c6d29a30d..5519b667e 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-4-22.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-4-22.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.11-4-22
description: Object.isSealed returns false for all built-in objects (RangeError)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isSealed(RangeError);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-4-23.js b/test/built-ins/Object/isSealed/15.2.3.11-4-23.js
index 0b5b0e78a..47c86f229 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-4-23.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-4-23.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.11-4-23
description: >
Object.isSealed returns false for all built-in objects
(ReferenceError)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isSealed(ReferenceError);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-4-24.js b/test/built-ins/Object/isSealed/15.2.3.11-4-24.js
index ec76c0344..e8e181fa0 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-4-24.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-4-24.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.11-4-24
description: >
Object.isSealed returns false for all built-in objects
(SyntaxError)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isSealed(SyntaxError);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-4-25.js b/test/built-ins/Object/isSealed/15.2.3.11-4-25.js
index 3ebc47f07..701280588 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-4-25.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-4-25.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.11-4-25
description: Object.isSealed returns false for all built-in objects (TypeError)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isSealed(TypeError);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-4-26.js b/test/built-ins/Object/isSealed/15.2.3.11-4-26.js
index ef72f4086..16676f93f 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-4-26.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-4-26.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.11-4-26
description: Object.isSealed returns false for all built-in objects (URIError)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isSealed(URIError);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-4-27.js b/test/built-ins/Object/isSealed/15.2.3.11-4-27.js
index 7e7e4c9ce..cbcf00153 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-4-27.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-4-27.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.11-4-27
description: Object.isSealed returns false for all built-in objects (JSON)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isSealed(JSON);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-4-3.js b/test/built-ins/Object/isSealed/15.2.3.11-4-3.js
index 704498f92..2d72b5092 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-4-3.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-4-3.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.11-4-3
description: >
Object.isSealed returns false for all built-in objects
(Object.prototype)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isSealed(Object.prototype);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-4-4.js b/test/built-ins/Object/isSealed/15.2.3.11-4-4.js
index db9386d5f..e3acd56f9 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-4-4.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-4-4.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.11-4-4
description: Object.isSealed returns false for all built-in objects (Function)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isSealed(Function);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-4-5.js b/test/built-ins/Object/isSealed/15.2.3.11-4-5.js
index a5ec07949..66f00fd51 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-4-5.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-4-5.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.11-4-5
description: >
Object.isSealed returns false for all built-in objects
(Function.prototype)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isSealed(Function.prototype);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-4-6.js b/test/built-ins/Object/isSealed/15.2.3.11-4-6.js
index b2d59d1d8..1a5fd782f 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-4-6.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-4-6.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.11-4-6
description: Object.isSealed returns false for all built-in objects (Array)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isSealed(Array);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-4-7.js b/test/built-ins/Object/isSealed/15.2.3.11-4-7.js
index 8bc2c22b2..7d76da8ac 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-4-7.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-4-7.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.11-4-7
description: >
Object.isSealed returns false for all built-in objects
(Array.prototype)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isSealed(Array.prototype);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-4-8.js b/test/built-ins/Object/isSealed/15.2.3.11-4-8.js
index 08dfbfb8a..2c0fd3e58 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-4-8.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-4-8.js
@@ -4,13 +4,8 @@
/*---
es5id: 15.2.3.11-4-8
description: Object.isSealed returns false for all built-in objects (String)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isSealed(String);
- if (b === false) {
- return true;
- }
-}
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');
diff --git a/test/built-ins/Object/isSealed/15.2.3.11-4-9.js b/test/built-ins/Object/isSealed/15.2.3.11-4-9.js
index 5c7aae1c0..dbea6040b 100644
--- a/test/built-ins/Object/isSealed/15.2.3.11-4-9.js
+++ b/test/built-ins/Object/isSealed/15.2.3.11-4-9.js
@@ -6,13 +6,8 @@ es5id: 15.2.3.11-4-9
description: >
Object.isSealed returns false for all built-in objects
(String.prototype)
-includes: [runTestCase.js]
---*/
-function testcase() {
var b = Object.isSealed(String.prototype);
- if (b === false) {
- return true;
- }
- }
-runTestCase(testcase);
+
+assert.sameValue(b, false, 'b');