aboutsummaryrefslogtreecommitdiffstats
path: root/website/resources/scripts/testcases2/15.10.7.4.json
diff options
context:
space:
mode:
Diffstat (limited to 'website/resources/scripts/testcases2/15.10.7.4.json')
-rw-r--r--website/resources/scripts/testcases2/15.10.7.4.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/website/resources/scripts/testcases2/15.10.7.4.json b/website/resources/scripts/testcases2/15.10.7.4.json
new file mode 100644
index 000000000..49ae1f14d
--- /dev/null
+++ b/website/resources/scripts/testcases2/15.10.7.4.json
@@ -0,0 +1,21 @@
+{
+ "testCollection": {
+ "name": "15.10.7.4",
+ "numTests": 2,
+ "tests": [
+ {
+ "id": "15.10.7.4-1",
+ "path": "TestCases/chapter15/15.10/15.10.7/15.10.7.4/15.10.7.4-1.js",
+ "description": "RegExp.prototype.multiline is of type Boolean",
+ "test": "assertTrue(((typeof(RegExp.prototype.multiline)) === 'boolean'));\n"
+ },
+ {
+ "id": "15.10.7.4-2",
+ "path": "TestCases/chapter15/15.10/15.10.7/15.10.7.4/15.10.7.4-2.js",
+ "description": "RegExp.prototype.multiline is a data property with default attribute values (false)",
+ "test": "assertTrue((function testcase() {\n var d = Object.getOwnPropertyDescriptor(RegExp.prototype, 'multiline');\n \n if (d.writable === false &&\n d.enumerable === false &&\n d.configurable === false) {\n return true;\n }\n }).call(this));\n",
+ "precondition": "(fnExists(Object.getOwnPropertyDescriptor))"
+ }
+ ]
+ }
+}