aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.2_A3.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.2_A3.js')
-rw-r--r--test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.2_A3.js43
1 files changed, 0 insertions, 43 deletions
diff --git a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.2_A3.js b/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.2_A3.js
deleted file mode 100644
index b6c9ca096..000000000
--- a/test/suite/sputnik_converted/08_Types/8.7_The_Reference_Type/S8.7.2_A3.js
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
-* @name: S8.7.2_A3;
-* @section: 8.7.2;
-* @assertion: this.x++ calls GetValue then PutValue so after applying postfix increment(actually conrete operator type is unimportan)
-* we must have reference to defined value;
-* @description: Execute this.x++, where this.x is undefined;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S8.7.2_A3",
-
-path: "TestCases/08_Types/8.7_The_Reference_Type/S8.7.2_A3.js",
-
-assertion: "this.x++ calls GetValue then PutValue so after applying postfix increment(actually conrete operator type is unimportan)",
-
-description: "Execute this.x++, where this.x is undefined",
-
-test: function testcase() {
- //////////////////////////////////////////////////////////////////////////////
-//CHECK#1
-if (this.x !== undefined) {
- $ERROR('#1: this.x === undefined. Actual: ' + (this.x));
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-this.x++;
-//////////////////////////////////////////////////////////////////////////////
-//CHECK#2
-if (x === undefined) {
- $ERROR('#2: this.x; this.x++; x !== undefined');
-}
-//
-//////////////////////////////////////////////////////////////////////////////
-
- }
-});
-