From bcb6c333872c7106e56cea2009ded3e32522d4fd Mon Sep 17 00:00:00 2001 From: Leo Balter Date: Wed, 14 Aug 2019 19:14:44 -0400 Subject: [PATCH] Regenerate tests --- .../member-expr-ident-name-await-escaped.js | 22 --------- ...member-expr-ident-name-instance-escaped.js | 22 --------- .../member-expr-ident-name-yield-escaped.js | 22 --------- .../ident-name-method-def-await-escaped.js | 46 ------------------- .../ident-name-method-def-instance-escaped.js | 46 ------------------- .../ident-name-method-def-yield-escaped.js | 46 ------------------- .../ident-name-method-def-await-escaped.js | 42 ----------------- .../ident-name-method-def-instance-escaped.js | 42 ----------------- .../ident-name-method-def-yield-escaped.js | 42 ----------------- ...nt-name-prop-name-literal-await-escaped.js | 41 ----------------- ...name-prop-name-literal-instance-escaped.js | 41 ----------------- ...nt-name-prop-name-literal-yield-escaped.js | 41 ----------------- .../ident-name-method-def-await-escaped.js | 46 ------------------- .../ident-name-method-def-instance-escaped.js | 46 ------------------- .../ident-name-method-def-yield-escaped.js | 46 ------------------- 15 files changed, 591 deletions(-) delete mode 100644 test/language/expressions/assignment/member-expr-ident-name-await-escaped.js delete mode 100644 test/language/expressions/assignment/member-expr-ident-name-instance-escaped.js delete mode 100644 test/language/expressions/assignment/member-expr-ident-name-yield-escaped.js delete mode 100644 test/language/expressions/class/ident-name-method-def-await-escaped.js delete mode 100644 test/language/expressions/class/ident-name-method-def-instance-escaped.js delete mode 100644 test/language/expressions/class/ident-name-method-def-yield-escaped.js delete mode 100644 test/language/expressions/object/ident-name-method-def-await-escaped.js delete mode 100644 test/language/expressions/object/ident-name-method-def-instance-escaped.js delete mode 100644 test/language/expressions/object/ident-name-method-def-yield-escaped.js delete mode 100644 test/language/expressions/object/ident-name-prop-name-literal-await-escaped.js delete mode 100644 test/language/expressions/object/ident-name-prop-name-literal-instance-escaped.js delete mode 100644 test/language/expressions/object/ident-name-prop-name-literal-yield-escaped.js delete mode 100644 test/language/statements/class/ident-name-method-def-await-escaped.js delete mode 100644 test/language/statements/class/ident-name-method-def-instance-escaped.js delete mode 100644 test/language/statements/class/ident-name-method-def-yield-escaped.js diff --git a/test/language/expressions/assignment/member-expr-ident-name-await-escaped.js b/test/language/expressions/assignment/member-expr-ident-name-await-escaped.js deleted file mode 100644 index f43c3e800c..0000000000 --- a/test/language/expressions/assignment/member-expr-ident-name-await-escaped.js +++ /dev/null @@ -1,22 +0,0 @@ -// This file was procedurally generated from the following sources: -// - src/identifier-names/await-escaped.case -// - src/identifier-names/default/member-expr.template -/*--- -description: await is a valid identifier name, using escape (MemberExpression IdentifierName) -esid: prod-PropertyDefinition -flags: [generated] -info: | - MemberExpression: - ... - MemberExpression . IdentifierName - - Reserved Words - - A reserved word is an IdentifierName that cannot be used as an Identifier. ----*/ - -var obj = {}; - -obj.\u0061wait = 42; - -assert.sameValue(obj['await'], 42, 'property exists'); diff --git a/test/language/expressions/assignment/member-expr-ident-name-instance-escaped.js b/test/language/expressions/assignment/member-expr-ident-name-instance-escaped.js deleted file mode 100644 index c25b411b15..0000000000 --- a/test/language/expressions/assignment/member-expr-ident-name-instance-escaped.js +++ /dev/null @@ -1,22 +0,0 @@ -// This file was procedurally generated from the following sources: -// - src/identifier-names/instance-escaped.case -// - src/identifier-names/default/member-expr.template -/*--- -description: instance is a valid identifier name, using escape (MemberExpression IdentifierName) -esid: prod-PropertyDefinition -flags: [generated] -info: | - MemberExpression: - ... - MemberExpression . IdentifierName - - Reserved Words - - A reserved word is an IdentifierName that cannot be used as an Identifier. ----*/ - -var obj = {}; - -obj.\u0069nstance = 42; - -assert.sameValue(obj['instance'], 42, 'property exists'); diff --git a/test/language/expressions/assignment/member-expr-ident-name-yield-escaped.js b/test/language/expressions/assignment/member-expr-ident-name-yield-escaped.js deleted file mode 100644 index 2b8c170bf1..0000000000 --- a/test/language/expressions/assignment/member-expr-ident-name-yield-escaped.js +++ /dev/null @@ -1,22 +0,0 @@ -// This file was procedurally generated from the following sources: -// - src/identifier-names/yield-escaped.case -// - src/identifier-names/default/member-expr.template -/*--- -description: yield is a valid identifier name, using escape (MemberExpression IdentifierName) -esid: prod-PropertyDefinition -flags: [generated] -info: | - MemberExpression: - ... - MemberExpression . IdentifierName - - Reserved Words - - A reserved word is an IdentifierName that cannot be used as an Identifier. ----*/ - -var obj = {}; - -obj.y\u0069eld = 42; - -assert.sameValue(obj['yield'], 42, 'property exists'); diff --git a/test/language/expressions/class/ident-name-method-def-await-escaped.js b/test/language/expressions/class/ident-name-method-def-await-escaped.js deleted file mode 100644 index 7bcf14ad82..0000000000 --- a/test/language/expressions/class/ident-name-method-def-await-escaped.js +++ /dev/null @@ -1,46 +0,0 @@ -// This file was procedurally generated from the following sources: -// - src/identifier-names/await-escaped.case -// - src/identifier-names/default/class-expression-method-def.template -/*--- -description: await is a valid identifier name, using escape (MethodDefinition) -esid: prod-PropertyDefinition -features: [class] -flags: [generated] -info: | - ObjectLiteral : - { PropertyDefinitionList } - { PropertyDefinitionList , } - - PropertyDefinitionList: - PropertyDefinition - PropertyDefinitionList , PropertyDefinition - - PropertyDefinition: - MethodDefinition - ... - - MethodDefinition: - PropertyName ( UniqueFormalParameters ){ FunctionBody } - - PropertyName: - LiteralPropertyName - ... - - LiteralPropertyName: - IdentifierName - ... - - Reserved Words - - A reserved word is an IdentifierName that cannot be used as an Identifier. - ----*/ - - -var C = class { - \u0061wait() { return 42; } -} - -var obj = new C(); - -assert.sameValue(obj['await'](), 42, 'property exists'); diff --git a/test/language/expressions/class/ident-name-method-def-instance-escaped.js b/test/language/expressions/class/ident-name-method-def-instance-escaped.js deleted file mode 100644 index d21ebe1ddd..0000000000 --- a/test/language/expressions/class/ident-name-method-def-instance-escaped.js +++ /dev/null @@ -1,46 +0,0 @@ -// This file was procedurally generated from the following sources: -// - src/identifier-names/instance-escaped.case -// - src/identifier-names/default/class-expression-method-def.template -/*--- -description: instance is a valid identifier name, using escape (MethodDefinition) -esid: prod-PropertyDefinition -features: [class] -flags: [generated] -info: | - ObjectLiteral : - { PropertyDefinitionList } - { PropertyDefinitionList , } - - PropertyDefinitionList: - PropertyDefinition - PropertyDefinitionList , PropertyDefinition - - PropertyDefinition: - MethodDefinition - ... - - MethodDefinition: - PropertyName ( UniqueFormalParameters ){ FunctionBody } - - PropertyName: - LiteralPropertyName - ... - - LiteralPropertyName: - IdentifierName - ... - - Reserved Words - - A reserved word is an IdentifierName that cannot be used as an Identifier. - ----*/ - - -var C = class { - \u0069nstance() { return 42; } -} - -var obj = new C(); - -assert.sameValue(obj['instance'](), 42, 'property exists'); diff --git a/test/language/expressions/class/ident-name-method-def-yield-escaped.js b/test/language/expressions/class/ident-name-method-def-yield-escaped.js deleted file mode 100644 index 5c50b67b38..0000000000 --- a/test/language/expressions/class/ident-name-method-def-yield-escaped.js +++ /dev/null @@ -1,46 +0,0 @@ -// This file was procedurally generated from the following sources: -// - src/identifier-names/yield-escaped.case -// - src/identifier-names/default/class-expression-method-def.template -/*--- -description: yield is a valid identifier name, using escape (MethodDefinition) -esid: prod-PropertyDefinition -features: [class] -flags: [generated] -info: | - ObjectLiteral : - { PropertyDefinitionList } - { PropertyDefinitionList , } - - PropertyDefinitionList: - PropertyDefinition - PropertyDefinitionList , PropertyDefinition - - PropertyDefinition: - MethodDefinition - ... - - MethodDefinition: - PropertyName ( UniqueFormalParameters ){ FunctionBody } - - PropertyName: - LiteralPropertyName - ... - - LiteralPropertyName: - IdentifierName - ... - - Reserved Words - - A reserved word is an IdentifierName that cannot be used as an Identifier. - ----*/ - - -var C = class { - y\u0069eld() { return 42; } -} - -var obj = new C(); - -assert.sameValue(obj['yield'](), 42, 'property exists'); diff --git a/test/language/expressions/object/ident-name-method-def-await-escaped.js b/test/language/expressions/object/ident-name-method-def-await-escaped.js deleted file mode 100644 index 79547c31f4..0000000000 --- a/test/language/expressions/object/ident-name-method-def-await-escaped.js +++ /dev/null @@ -1,42 +0,0 @@ -// This file was procedurally generated from the following sources: -// - src/identifier-names/await-escaped.case -// - src/identifier-names/default/obj-method-definition.template -/*--- -description: await is a valid identifier name, using escape (MethodDefinition) -esid: prod-PropertyDefinition -flags: [generated] -info: | - ObjectLiteral : - { PropertyDefinitionList } - { PropertyDefinitionList , } - - PropertyDefinitionList: - PropertyDefinition - PropertyDefinitionList , PropertyDefinition - - PropertyDefinition: - MethodDefinition - ... - - MethodDefinition: - PropertyName ( UniqueFormalParameters ){ FunctionBody } - - PropertyName: - LiteralPropertyName - ... - - LiteralPropertyName: - IdentifierName - ... - - Reserved Words - - A reserved word is an IdentifierName that cannot be used as an Identifier. ----*/ - - -var obj = { - \u0061wait() { return 42; } -}; - -assert.sameValue(obj['await'](), 42, 'property exists'); diff --git a/test/language/expressions/object/ident-name-method-def-instance-escaped.js b/test/language/expressions/object/ident-name-method-def-instance-escaped.js deleted file mode 100644 index b28aafb4a3..0000000000 --- a/test/language/expressions/object/ident-name-method-def-instance-escaped.js +++ /dev/null @@ -1,42 +0,0 @@ -// This file was procedurally generated from the following sources: -// - src/identifier-names/instance-escaped.case -// - src/identifier-names/default/obj-method-definition.template -/*--- -description: instance is a valid identifier name, using escape (MethodDefinition) -esid: prod-PropertyDefinition -flags: [generated] -info: | - ObjectLiteral : - { PropertyDefinitionList } - { PropertyDefinitionList , } - - PropertyDefinitionList: - PropertyDefinition - PropertyDefinitionList , PropertyDefinition - - PropertyDefinition: - MethodDefinition - ... - - MethodDefinition: - PropertyName ( UniqueFormalParameters ){ FunctionBody } - - PropertyName: - LiteralPropertyName - ... - - LiteralPropertyName: - IdentifierName - ... - - Reserved Words - - A reserved word is an IdentifierName that cannot be used as an Identifier. ----*/ - - -var obj = { - \u0069nstance() { return 42; } -}; - -assert.sameValue(obj['instance'](), 42, 'property exists'); diff --git a/test/language/expressions/object/ident-name-method-def-yield-escaped.js b/test/language/expressions/object/ident-name-method-def-yield-escaped.js deleted file mode 100644 index 22906d89e6..0000000000 --- a/test/language/expressions/object/ident-name-method-def-yield-escaped.js +++ /dev/null @@ -1,42 +0,0 @@ -// This file was procedurally generated from the following sources: -// - src/identifier-names/yield-escaped.case -// - src/identifier-names/default/obj-method-definition.template -/*--- -description: yield is a valid identifier name, using escape (MethodDefinition) -esid: prod-PropertyDefinition -flags: [generated] -info: | - ObjectLiteral : - { PropertyDefinitionList } - { PropertyDefinitionList , } - - PropertyDefinitionList: - PropertyDefinition - PropertyDefinitionList , PropertyDefinition - - PropertyDefinition: - MethodDefinition - ... - - MethodDefinition: - PropertyName ( UniqueFormalParameters ){ FunctionBody } - - PropertyName: - LiteralPropertyName - ... - - LiteralPropertyName: - IdentifierName - ... - - Reserved Words - - A reserved word is an IdentifierName that cannot be used as an Identifier. ----*/ - - -var obj = { - y\u0069eld() { return 42; } -}; - -assert.sameValue(obj['yield'](), 42, 'property exists'); diff --git a/test/language/expressions/object/ident-name-prop-name-literal-await-escaped.js b/test/language/expressions/object/ident-name-prop-name-literal-await-escaped.js deleted file mode 100644 index 37c759b31b..0000000000 --- a/test/language/expressions/object/ident-name-prop-name-literal-await-escaped.js +++ /dev/null @@ -1,41 +0,0 @@ -// This file was procedurally generated from the following sources: -// - src/identifier-names/await-escaped.case -// - src/identifier-names/default/obj-prop-name.template -/*--- -description: await is a valid identifier name, using escape (PropertyName) -esid: prod-PropertyDefinition -flags: [generated] -info: | - ObjectLiteral : - { PropertyDefinitionList } - { PropertyDefinitionList , } - - PropertyDefinitionList: - PropertyDefinition - PropertyDefinitionList , PropertyDefinition - - PropertyDefinition: - IdentifierReference - PropertyName : AssignmentExpression - MethodDefinition - ... AssignmentExpression - ... - - PropertyName: - LiteralPropertyName - ... - - LiteralPropertyName: - IdentifierName - ... - - Reserved Words - - A reserved word is an IdentifierName that cannot be used as an Identifier. ----*/ - -var obj = { - \u0061wait: 42 -}; - -assert.sameValue(obj['await'], 42, 'property exists'); diff --git a/test/language/expressions/object/ident-name-prop-name-literal-instance-escaped.js b/test/language/expressions/object/ident-name-prop-name-literal-instance-escaped.js deleted file mode 100644 index 996efa5afc..0000000000 --- a/test/language/expressions/object/ident-name-prop-name-literal-instance-escaped.js +++ /dev/null @@ -1,41 +0,0 @@ -// This file was procedurally generated from the following sources: -// - src/identifier-names/instance-escaped.case -// - src/identifier-names/default/obj-prop-name.template -/*--- -description: instance is a valid identifier name, using escape (PropertyName) -esid: prod-PropertyDefinition -flags: [generated] -info: | - ObjectLiteral : - { PropertyDefinitionList } - { PropertyDefinitionList , } - - PropertyDefinitionList: - PropertyDefinition - PropertyDefinitionList , PropertyDefinition - - PropertyDefinition: - IdentifierReference - PropertyName : AssignmentExpression - MethodDefinition - ... AssignmentExpression - ... - - PropertyName: - LiteralPropertyName - ... - - LiteralPropertyName: - IdentifierName - ... - - Reserved Words - - A reserved word is an IdentifierName that cannot be used as an Identifier. ----*/ - -var obj = { - \u0069nstance: 42 -}; - -assert.sameValue(obj['instance'], 42, 'property exists'); diff --git a/test/language/expressions/object/ident-name-prop-name-literal-yield-escaped.js b/test/language/expressions/object/ident-name-prop-name-literal-yield-escaped.js deleted file mode 100644 index e6d3d8a677..0000000000 --- a/test/language/expressions/object/ident-name-prop-name-literal-yield-escaped.js +++ /dev/null @@ -1,41 +0,0 @@ -// This file was procedurally generated from the following sources: -// - src/identifier-names/yield-escaped.case -// - src/identifier-names/default/obj-prop-name.template -/*--- -description: yield is a valid identifier name, using escape (PropertyName) -esid: prod-PropertyDefinition -flags: [generated] -info: | - ObjectLiteral : - { PropertyDefinitionList } - { PropertyDefinitionList , } - - PropertyDefinitionList: - PropertyDefinition - PropertyDefinitionList , PropertyDefinition - - PropertyDefinition: - IdentifierReference - PropertyName : AssignmentExpression - MethodDefinition - ... AssignmentExpression - ... - - PropertyName: - LiteralPropertyName - ... - - LiteralPropertyName: - IdentifierName - ... - - Reserved Words - - A reserved word is an IdentifierName that cannot be used as an Identifier. ----*/ - -var obj = { - y\u0069eld: 42 -}; - -assert.sameValue(obj['yield'], 42, 'property exists'); diff --git a/test/language/statements/class/ident-name-method-def-await-escaped.js b/test/language/statements/class/ident-name-method-def-await-escaped.js deleted file mode 100644 index ecdd9c7322..0000000000 --- a/test/language/statements/class/ident-name-method-def-await-escaped.js +++ /dev/null @@ -1,46 +0,0 @@ -// This file was procedurally generated from the following sources: -// - src/identifier-names/await-escaped.case -// - src/identifier-names/default/class-statement-method-def.template -/*--- -description: await is a valid identifier name, using escape (MethodDefinition) -esid: prod-PropertyDefinition -features: [class] -flags: [generated] -info: | - ObjectLiteral : - { PropertyDefinitionList } - { PropertyDefinitionList , } - - PropertyDefinitionList: - PropertyDefinition - PropertyDefinitionList , PropertyDefinition - - PropertyDefinition: - MethodDefinition - ... - - MethodDefinition: - PropertyName ( UniqueFormalParameters ){ FunctionBody } - - PropertyName: - LiteralPropertyName - ... - - LiteralPropertyName: - IdentifierName - ... - - Reserved Words - - A reserved word is an IdentifierName that cannot be used as an Identifier. - ----*/ - - -class C { - \u0061wait() { return 42; } -} - -var obj = new C(); - -assert.sameValue(obj['await'](), 42, 'property exists'); diff --git a/test/language/statements/class/ident-name-method-def-instance-escaped.js b/test/language/statements/class/ident-name-method-def-instance-escaped.js deleted file mode 100644 index 4ca7ce400c..0000000000 --- a/test/language/statements/class/ident-name-method-def-instance-escaped.js +++ /dev/null @@ -1,46 +0,0 @@ -// This file was procedurally generated from the following sources: -// - src/identifier-names/instance-escaped.case -// - src/identifier-names/default/class-statement-method-def.template -/*--- -description: instance is a valid identifier name, using escape (MethodDefinition) -esid: prod-PropertyDefinition -features: [class] -flags: [generated] -info: | - ObjectLiteral : - { PropertyDefinitionList } - { PropertyDefinitionList , } - - PropertyDefinitionList: - PropertyDefinition - PropertyDefinitionList , PropertyDefinition - - PropertyDefinition: - MethodDefinition - ... - - MethodDefinition: - PropertyName ( UniqueFormalParameters ){ FunctionBody } - - PropertyName: - LiteralPropertyName - ... - - LiteralPropertyName: - IdentifierName - ... - - Reserved Words - - A reserved word is an IdentifierName that cannot be used as an Identifier. - ----*/ - - -class C { - \u0069nstance() { return 42; } -} - -var obj = new C(); - -assert.sameValue(obj['instance'](), 42, 'property exists'); diff --git a/test/language/statements/class/ident-name-method-def-yield-escaped.js b/test/language/statements/class/ident-name-method-def-yield-escaped.js deleted file mode 100644 index 5357893343..0000000000 --- a/test/language/statements/class/ident-name-method-def-yield-escaped.js +++ /dev/null @@ -1,46 +0,0 @@ -// This file was procedurally generated from the following sources: -// - src/identifier-names/yield-escaped.case -// - src/identifier-names/default/class-statement-method-def.template -/*--- -description: yield is a valid identifier name, using escape (MethodDefinition) -esid: prod-PropertyDefinition -features: [class] -flags: [generated] -info: | - ObjectLiteral : - { PropertyDefinitionList } - { PropertyDefinitionList , } - - PropertyDefinitionList: - PropertyDefinition - PropertyDefinitionList , PropertyDefinition - - PropertyDefinition: - MethodDefinition - ... - - MethodDefinition: - PropertyName ( UniqueFormalParameters ){ FunctionBody } - - PropertyName: - LiteralPropertyName - ... - - LiteralPropertyName: - IdentifierName - ... - - Reserved Words - - A reserved word is an IdentifierName that cannot be used as an Identifier. - ----*/ - - -class C { - y\u0069eld() { return 42; } -} - -var obj = new C(); - -assert.sameValue(obj['yield'](), 42, 'property exists');