summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLeo Balter <leonardo.balter@gmail.com>2017-08-18 17:58:37 -0400
committerLeo Balter <leonardo.balter@gmail.com>2017-08-18 18:16:55 -0400
commitceaa01212138cca45883311ed8862a5a334c8367 (patch)
tree390bf2d743e24c9640f001ccfbb3cf28fdcc2dfa /src
parent75db6744eb11c7638b4db3802f256c6b9d9db7cb (diff)
downloadqtdeclarative-testsuites-ceaa01212138cca45883311ed8862a5a334c8367.tar.gz
Remove remaining cases for ...{
Diffstat (limited to 'src')
-rw-r--r--src/dstr-assignment/obj-rest-nested-obj-nested-rest.case36
-rw-r--r--src/dstr-assignment/obj-rest-nested-obj.case26
-rw-r--r--src/dstr-assignment/obj-rest-obj-own-property.case25
-rw-r--r--src/dstr-binding-for-await/obj-ptrn-rest-nested-obj.case25
-rw-r--r--src/dstr-binding-for-await/obj-ptrn-rest-obj-nested-rest.case34
-rw-r--r--src/dstr-binding-for-await/obj-ptrn-rest-obj-own-property.case24
-rw-r--r--src/spread/mult-err-obj-getter-throws.case23
-rw-r--r--src/spread/mult-obj-base.case39
-rw-r--r--src/spread/mult-obj-empty.case27
-rw-r--r--src/spread/mult-obj-null-empty-undefined.case30
-rw-r--r--src/spread/obj-setter-redef.case20
-rw-r--r--src/spread/sngl-err-obj-getter-throws.case24
-rw-r--r--src/spread/sngl-obj-base.case36
-rw-r--r--src/spread/sngl-obj-empty.case25
14 files changed, 0 insertions, 394 deletions
diff --git a/src/dstr-assignment/obj-rest-nested-obj-nested-rest.case b/src/dstr-assignment/obj-rest-nested-obj-nested-rest.case
deleted file mode 100644
index f6743cb6f..000000000
--- a/src/dstr-assignment/obj-rest-nested-obj-nested-rest.case
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (C) 2017 Caio Lima. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-desc: >
- When DestructuringAssignmentTarget is an object literal, it should be parsed
- parsed as a DestructuringAssignmentPattern and evaluated as a destructuring
- assignment and object rest desconstruction is allowed in that case.
-template: default
-esid: pending
-includes: [propertyHelper.js]
-features: [object-rest]
----*/
-
-//- setup
-var a, b, c, rest;
-//- elems
-{a, b, ...{c, ...rest}}
-//- vals
-{a: 1, b: 2, c: 3, d: 4, e: 5}
-//- body
-assert.sameValue(a, 1);
-assert.sameValue(b, 2);
-assert.sameValue(c, 3);
-
-assert.sameValue(rest.d, 4);
-assert.sameValue(rest.e, 5);
-
-verifyEnumerable(rest, "d");
-verifyWritable(rest, "d");
-verifyConfigurable(rest, "d");
-
-verifyEnumerable(rest, "e");
-verifyWritable(rest, "e");
-verifyConfigurable(rest, "e");
-
diff --git a/src/dstr-assignment/obj-rest-nested-obj.case b/src/dstr-assignment/obj-rest-nested-obj.case
deleted file mode 100644
index 3acb69150..000000000
--- a/src/dstr-assignment/obj-rest-nested-obj.case
+++ /dev/null
@@ -1,26 +0,0 @@
-// Copyright (C) 2017 Caio Lima. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-desc: >
- When DestructuringAssignmentTarget is an object literal, it should be parsed
- parsed as a DestructuringAssignmentPattern and evaluated as a destructuring
- assignment.
-template: default
-esid: pending
-features: [object-rest]
----*/
-
-//- setup
-var a, b, c, d, e;
-//- elems
-{a, b, ...{c, e}}
-//- vals
-{a: 1, b: 2, c: 3, d: 4, e: 5}
-//- body
-assert.sameValue(a, 1);
-assert.sameValue(b, 2);
-assert.sameValue(c, 3);
-assert.sameValue(e, 5);
-assert.sameValue(d, undefined);
-
diff --git a/src/dstr-assignment/obj-rest-obj-own-property.case b/src/dstr-assignment/obj-rest-obj-own-property.case
deleted file mode 100644
index 6c1d109ed..000000000
--- a/src/dstr-assignment/obj-rest-obj-own-property.case
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (C) 2017 Caio Lima. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-desc: >
- Rest object contains just source object's own properties
-template: default
-esid: pending
-features: [object-rest]
----*/
-
-//- setup
-var o = Object.create({ x: 1, y: 2 });
-o.z = 3;
-
-var x, y, z;
-//- elems
-{ x, ...{y , z} }
-//- vals
-o
-//- body
-assert.sameValue(x, 1);
-assert.sameValue(y, undefined);
-assert.sameValue(z, 3);
-
diff --git a/src/dstr-binding-for-await/obj-ptrn-rest-nested-obj.case b/src/dstr-binding-for-await/obj-ptrn-rest-nested-obj.case
deleted file mode 100644
index 8fb0bb2d1..000000000
--- a/src/dstr-binding-for-await/obj-ptrn-rest-nested-obj.case
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (C) 2017 Caio Lima. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-desc: >
- When DestructuringAssignmentTarget is an object literal, it should be parsed
- parsed as a DestructuringAssignmentPattern and evaluated as a destructuring
- assignment.
-template: default
-esid: pending
-features: [object-rest]
----*/
-
-//- setup
-var obj = {a: 3, b: 4};
-//- elems
-{a, b, ...{c, e}}
-//- vals
-{a: 1, b: 2, c: 3, d: 4, e: 5}
-//- body
-assert.sameValue(a, 1);
-assert.sameValue(b, 2);
-assert.sameValue(c, 3);
-assert.sameValue(e, 5);
-
diff --git a/src/dstr-binding-for-await/obj-ptrn-rest-obj-nested-rest.case b/src/dstr-binding-for-await/obj-ptrn-rest-obj-nested-rest.case
deleted file mode 100644
index a6eb8c024..000000000
--- a/src/dstr-binding-for-await/obj-ptrn-rest-obj-nested-rest.case
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (C) 2017 Caio Lima. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-desc: >
- When DestructuringAssignmentTarget is an object literal, it should be parsed
- parsed as a DestructuringAssignmentPattern and evaluated as a destructuring
- assignment and object rest desconstruction is allowed in that case.
-template: default
-esid: pending
-includes: [propertyHelper.js]
-features: [object-rest]
----*/
-
-//- elems
-{a, b, ...{c, ...rest}}
-//- vals
-{a: 1, b: 2, c: 3, d: 4, e: 5}
-//- body
-assert.sameValue(a, 1);
-assert.sameValue(b, 2);
-assert.sameValue(c, 3);
-
-assert.sameValue(rest.d, 4);
-assert.sameValue(rest.e, 5);
-
-verifyEnumerable(rest, "d");
-verifyWritable(rest, "d");
-verifyConfigurable(rest, "d");
-
-verifyEnumerable(rest, "e");
-verifyWritable(rest, "e");
-verifyConfigurable(rest, "e");
-
diff --git a/src/dstr-binding-for-await/obj-ptrn-rest-obj-own-property.case b/src/dstr-binding-for-await/obj-ptrn-rest-obj-own-property.case
deleted file mode 100644
index 71c375adc..000000000
--- a/src/dstr-binding-for-await/obj-ptrn-rest-obj-own-property.case
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright (C) 2017 Caio Lima. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/*---
-desc: >
- Rest object contains just soruce object's own properties
-template: default
-esid: pending
-includes: [propertyHelper.js]
-features: [object-rest]
----*/
-
-//- setup
-var o = Object.create({ x: 1, y: 2 });
-o.z = 3;
-//- elems
-{ x, ...{y , z} }
-//- vals
-o
-//- body
-assert.sameValue(x, 1);
-assert.sameValue(y, undefined);
-assert.sameValue(z, 3);
-
diff --git a/src/spread/mult-err-obj-getter-throws.case b/src/spread/mult-err-obj-getter-throws.case
deleted file mode 100644
index ff59a858f..000000000
--- a/src/spread/mult-err-obj-getter-throws.case
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright (C) 2017 Caio Lima. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-desc: Object Spread operator results in error when there is an getter that throws an exception
-template: error
-esid: pending
-info: |
- Pending Runtime Semantics: PropertyDefinitionEvaluation
-
- PropertyDefinition:...AssignmentExpression
-
- 1. Let exprValue be the result of evaluating AssignmentExpression.
- 2. Let fromValue be GetValue(exprValue).
- 3. ReturnIfAbrupt(fromValue).
- 4. Let excludedNames be a new empty List.
- 5. Return CopyDataProperties(object, fromValue, excludedNames).
-features: [object-spread]
----*/
-
-//- error
-Test262Error
-//- args
-{a: 1, ...{ get foo() { throw new Test262Error(); } }}
diff --git a/src/spread/mult-obj-base.case b/src/spread/mult-obj-base.case
deleted file mode 100644
index 8c0f24439..000000000
--- a/src/spread/mult-obj-base.case
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (C) 2017 Caio Lima. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-desc: Object Spread operator following other arguments
-template: default
-esid: pending
-includes: [propertyHelper.js]
-info: |
- Pending Runtime Semantics: PropertyDefinitionEvaluation
-
- PropertyDefinition:...AssignmentExpression
-
- 1. Let exprValue be the result of evaluating AssignmentExpression.
- 2. Let fromValue be GetValue(exprValue).
- 3. ReturnIfAbrupt(fromValue).
- 4. Let excludedNames be a new empty List.
- 5. Return CopyDataProperties(object, fromValue, excludedNames).
-features: [object-spread]
----*/
-
-//- args
-{a: 1, b: 2, ...{c: 3, d: 4}}
-//- params
-obj
-//- body
-assert.sameValue(obj.a, 1);
-assert.sameValue(obj.b, 2);
-assert.sameValue(obj.c, 3);
-assert.sameValue(obj.d, 4);
-assert.sameValue(Object.keys(obj).length, 4);
-
-verifyEnumerable(obj, "c");
-verifyWritable(obj, "c");
-verifyConfigurable(obj, "c");
-
-verifyEnumerable(obj, "d");
-verifyWritable(obj, "d");
-verifyConfigurable(obj, "d");
-
diff --git a/src/spread/mult-obj-empty.case b/src/spread/mult-obj-empty.case
deleted file mode 100644
index d7fff6587..000000000
--- a/src/spread/mult-obj-empty.case
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright (C) 2017 Caio Lima. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-desc: Object Spread operator following other arguments with empty object
-template: default
-esid: pending
-info: |
- Pending Runtime Semantics: PropertyDefinitionEvaluation
-
- PropertyDefinition:...AssignmentExpression
-
- 1. Let exprValue be the result of evaluating AssignmentExpression.
- 2. Let fromValue be GetValue(exprValue).
- 3. ReturnIfAbrupt(fromValue).
- 4. Let excludedNames be a new empty List.
- 5. Return CopyDataProperties(object, fromValue, excludedNames).
-features: [object-spread]
----*/
-
-//- args
-{a: 1, b: 2, ...{}}
-//- params
-obj
-//- body
-assert.sameValue(obj.a, 1);
-assert.sameValue(obj.b, 2);
-assert.sameValue(Object.keys(obj).length, 2);
diff --git a/src/spread/mult-obj-null-empty-undefined.case b/src/spread/mult-obj-null-empty-undefined.case
deleted file mode 100644
index b8d010139..000000000
--- a/src/spread/mult-obj-null-empty-undefined.case
+++ /dev/null
@@ -1,30 +0,0 @@
-// Copyright (C) 2017 Caio Lima. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-desc: Object Spread operator following other arguments with null, undefined and empty object
-template: default
-esid: pending
-includes: [compareArray.js]
-info: |
- Pending Runtime Semantics: PropertyDefinitionEvaluation
-
- PropertyDefinition:...AssignmentExpression
-
- 1. Let exprValue be the result of evaluating AssignmentExpression.
- 2. Let fromValue be GetValue(exprValue).
- 3. ReturnIfAbrupt(fromValue).
- 4. Let excludedNames be a new empty List.
- 5. Return CopyDataProperties(object, fromValue, excludedNames).
-features: [object-spread]
----*/
-
-//- args
-{a: 1, ...null, b: 2, ...undefined, c: 3, ...{}, ...{...{}}, d: 4}
-//- params
-obj
-//- body
-assert.sameValue(obj.a, 1);
-assert.sameValue(obj.b, 2);
-assert.sameValue(obj.c, 3);
-assert.sameValue(obj.d, 4);
-assert(compareArray(Object.keys(obj), ["a", "b", "c", "d"]));
diff --git a/src/spread/obj-setter-redef.case b/src/spread/obj-setter-redef.case
deleted file mode 100644
index 3354d77ca..000000000
--- a/src/spread/obj-setter-redef.case
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright (C) 2017 Caio Lima. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-desc: Setter are not executed when redefined in Object Spread
-template: default
-esid: pending
-features: [object-spread]
----*/
-
-//- setup
-let executedSetter = false;
-
-//- args
-{set c(v) { executedSetter = true; }, ...{c: 1}}
-//- params
-obj
-//- body
-assert.sameValue(obj.c, 1);
-assert.sameValue(executedSetter, false);
-assert.sameValue(Object.keys(obj).length, 1);
diff --git a/src/spread/sngl-err-obj-getter-throws.case b/src/spread/sngl-err-obj-getter-throws.case
deleted file mode 100644
index 98b58892b..000000000
--- a/src/spread/sngl-err-obj-getter-throws.case
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright (C) 2017 Caio Lima. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-desc: Object Spread operator results in error when there is an getter that throws an exception
-template: error
-esid: pending
-info: |
- Pending Runtime Semantics: PropertyDefinitionEvaluation
-
- PropertyDefinition:...AssignmentExpression
-
- 1. Let exprValue be the result of evaluating AssignmentExpression.
- 2. Let fromValue be GetValue(exprValue).
- 3. ReturnIfAbrupt(fromValue).
- 4. Let excludedNames be a new empty List.
- 5. Return CopyDataProperties(object, fromValue, excludedNames).
-
-features: [object-spread]
----*/
-
-//- error
-Test262Error
-//- args
-{...{ get foo() { throw new Test262Error(); } }}
diff --git a/src/spread/sngl-obj-base.case b/src/spread/sngl-obj-base.case
deleted file mode 100644
index b00f328bf..000000000
--- a/src/spread/sngl-obj-base.case
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (C) 2017 Caio Lima. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-desc: Object Spread operator without other arguments
-template: default
-esid: pending
-includes: [propertyHelper.js]
-info: |
- Pending Runtime Semantics: PropertyDefinitionEvaluation
-
- PropertyDefinition:...AssignmentExpression
-
- 1. Let exprValue be the result of evaluating AssignmentExpression.
- 2. Let fromValue be GetValue(exprValue).
- 3. ReturnIfAbrupt(fromValue).
- 4. Let excludedNames be a new empty List.
- 5. Return CopyDataProperties(object, fromValue, excludedNames).
-features: [object-spread]
----*/
-
-//- args
-{...{c: 3, d: 4}}
-//- params
-obj
-//- body
-assert.sameValue(obj.c, 3);
-assert.sameValue(obj.d, 4);
-assert.sameValue(Object.keys(obj).length, 2);
-
-verifyEnumerable(obj, "c");
-verifyWritable(obj, "c");
-verifyConfigurable(obj, "c");
-
-verifyEnumerable(obj, "d");
-verifyWritable(obj, "d");
-verifyConfigurable(obj, "d");
diff --git a/src/spread/sngl-obj-empty.case b/src/spread/sngl-obj-empty.case
deleted file mode 100644
index 4fbeaa70a..000000000
--- a/src/spread/sngl-obj-empty.case
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (C) 2017 Caio Lima. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-/*---
-desc: Object Spread operator on a single empty object
-template: default
-esid: pending
-info: |
- Pending Runtime Semantics: PropertyDefinitionEvaluation
-
- PropertyDefinition:...AssignmentExpression
-
- 1. Let exprValue be the result of evaluating AssignmentExpression.
- 2. Let fromValue be GetValue(exprValue).
- 3. ReturnIfAbrupt(fromValue).
- 4. Let excludedNames be a new empty List.
- 5. Return CopyDataProperties(object, fromValue, excludedNames).
-features: [object-spread]
----*/
-
-//- args
-{...{}}
-//- params
-obj
-//- body
-assert.sameValue(Object.keys(obj).length, 0);