aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T1.js')
-rw-r--r--test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T1.js50
1 files changed, 0 insertions, 50 deletions
diff --git a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T1.js b/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T1.js
deleted file mode 100644
index 4514c7b25..000000000
--- a/test/suite/sputnik_converted/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T1.js
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
-* @name: S11.2.3_A4_T1;
-* @section: 11.2.3;
-* @assertion: If MemberExpression does not implement the internal [[Call]] method, throw TypeError;
-* @description: Checking Boolean object case;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S11.2.3_A4_T1",
-
-path: "TestCases/11_Expressions/11.2_Left_Hand_Side_Expressions/11.2.3_Function_Calls/S11.2.3_A4_T1.js",
-
-assertion: "If MemberExpression does not implement the internal [[Call]] method, throw TypeError",
-
-description: "Checking Boolean object case",
-
-test: function testcase() {
- //CHECK#1
-try {
- new Boolean(true)();
- $ERROR('#1.1: new Boolean(true)() throw TypeError. Actual: ' + (new Boolean(true)()));
-}
-catch (e) {
- if ((e instanceof TypeError) !== true) {
- $ERROR('#1.2: new Boolean(true)() throw TypeError. Actual: ' + (e));
- }
-}
-
-//CHECK#2
-try {
- var x = new Boolean(true);
- x();
- $ERROR('#2.1: var x = new Boolean(true); x() throw TypeError. Actual: ' + (x()));
-}
-catch (e) {
- if ((e instanceof TypeError) !== true) {
- $ERROR('#2.2: var x = new Boolean(true); x() throw TypeError. Actual: ' + (e));
- }
-}
-
-
- }
-});
-