aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A5.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A5.js')
-rw-r--r--test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A5.js73
1 files changed, 0 insertions, 73 deletions
diff --git a/test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A5.js b/test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A5.js
deleted file mode 100644
index 7fafe0311..000000000
--- a/test/suite/sputnik_converted/12_Statement/12.1_Block/S12.1_A5.js
+++ /dev/null
@@ -1,73 +0,0 @@
-// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
-* @name: S12.1_A5;
-* @section: 12.1;
-* @assertion: StatementList: StatementList Statement inside the Block is evaluated from left to right;
-* @description: Throwing exceptions within embedded/sequence Blocks;
-*/
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S12.1_A5",
-
-path: "TestCases/12_Statement/12.1_Block/S12.1_A5.js",
-
-assertion: "StatementList: StatementList Statement inside the Block is evaluated from left to right",
-
-description: "Throwing exceptions within embedded/sequence Blocks",
-
-test: function testcase() {
- //////////////////////////////////////////////////////////////////////////////
-//CHECK#1
-try {
- throw 1;
- throw 2;
- throw 3;
- $ERROR('1.1: throw 1 lead to throwing exception');
-} catch (e) {
- if (e!==1) {
- $ERROR('#1.2: Exception === 1. Actual: Exception ==='+ e);
- }
-}
-////////////////////////////////////////////////////////////////////////////////
-
-//////////////////////////////////////////////////////////////////////////////
-//CHECK#2
-try {
- {
- throw 1;
- throw 2;
- }
- throw 3;
- $ERROR('#2.1: throw 1 lead to throwing exception');
-} catch (e) {
- if (e!==1) {
- $ERROR('#2.2: Exception === 1. Actual: Exception ==='+ e);
- }
-}
-////////////////////////////////////////////////////////////////////////////////
-
-//////////////////////////////////////////////////////////////////////////////
-//CHECK#3
-try {
- throw 1;
- {
- throw 2;
- throw 3;
- }
- $ERROR('#3.1: throw 1 lead to throwing exception');
-} catch (e) {
- if (e!==1) {
- $ERROR('#3.2: Exception === 1. Actual: Exception ==='+ e);
- }
-}
-////////////////////////////////////////////////////////////////////////////////
-
-
- }
-});
-