diff options
Diffstat (limited to 'test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A12_T1.js')
-rw-r--r-- | test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A12_T1.js | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A12_T1.js b/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A12_T1.js deleted file mode 100644 index ad456c84c..000000000 --- a/test/suite/sputnik_converted/12_Statement/12.14_The_try_Statement/S12.14_A12_T1.js +++ /dev/null @@ -1,44 +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.14_A12_T1;
- * @section: 12.14;
- * @assertion: Using "try" with "catch" or "finally" statement within/without a "for-in" statement;
- * @description: Loop inside try Block, where throw exception;
- */
-
-
-// Converted for Test262 from original Sputnik source
-
-ES5Harness.registerTest( {
-id: "S12.14_A12_T1",
-
-path: "TestCases/12_Statement/12.14_The_try_Statement/S12.14_A12_T1.js",
-
-assertion: "Using \"try\" with \"catch\" or \"finally\" statement within/without a \"for-in\" statement",
-
-description: "Loop inside try Block, where throw exception",
-
-test: function testcase() {
- var x;
-var mycars = new Array();
-mycars[0] = "Saab";
-mycars[1] = "Volvo";
-mycars[2] = "BMW";
-
-// CHECK#1
-try{
- for (x in mycars){
- if (mycars[x]==="BMW") throw "ex";
- }
-}
-catch(e){
- if(e!=="ex")$ERROR('#1: Exception ==="ex". Actual: Exception ==='+ e );
-}
-
-
-
- }
-});
-
|