mirror of
https://github.com/tc39/test262.git
synced 2025-07-22 21:45:04 +02:00
Fixed Sputnik test 'path' metadata.
This commit is contained in:
parent
dce7ac2a5e
commit
c52161e734
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A1.1_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A1.1_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T1.js",
|
||||
|
||||
assertion: "HORIZONTAL TAB (U+0009) between any two tokens is allowed",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A1.1_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A1.1_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.1_T2.js",
|
||||
|
||||
assertion: "HORIZONTAL TAB (U+0009) between any two tokens is allowed",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A1.2_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A1.2_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T1.js",
|
||||
|
||||
assertion: "VERTICAL TAB (U+000B) between any two tokens is allowed",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A1.2_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A1.2_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.2_T2.js",
|
||||
|
||||
assertion: "VERTICAL TAB (U+000B) between any two tokens is allowed",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A1.3_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A1.3_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T1.js",
|
||||
|
||||
assertion: "FORM FEED (U+000C) between any two tokens is allowed",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A1.3_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A1.3_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.3_T2.js",
|
||||
|
||||
assertion: "FORM FEED (U+000C) between any two tokens is allowed",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A1.4_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A1.4_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T1.js",
|
||||
|
||||
assertion: "SPACE (U+0020) between any two tokens is allowed",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A1.4_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A1.4_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.4_T2.js",
|
||||
|
||||
assertion: "SPACE (U+0020) between any two tokens is allowed",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A1.5_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A1.5_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T1.js",
|
||||
|
||||
assertion: "NO-BREAK SPACE (U+00A0) between any two tokens is allowed",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A1.5_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A1.5_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A1.5_T2.js",
|
||||
|
||||
assertion: "NO-BREAK SPACE (U+00A0) between any two tokens is allowed",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A2.1_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A2.1_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T1.js",
|
||||
|
||||
assertion: "HORIZONTAL TAB (U+0009) may occur within strings",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A2.1_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A2.1_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.1_T2.js",
|
||||
|
||||
assertion: "HORIZONTAL TAB (U+0009) may occur within strings",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A2.2_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A2.2_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T1.js",
|
||||
|
||||
assertion: "VERTICAL TAB (U+000B) may occur within strings",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A2.2_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A2.2_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.2_T2.js",
|
||||
|
||||
assertion: "VERTICAL TAB (U+000B) may occur within strings",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A2.3_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A2.3_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T1.js",
|
||||
|
||||
assertion: "FORM FEED (U+000C) may occur within strings",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A2.3_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A2.3_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.3_T2.js",
|
||||
|
||||
assertion: "FORM FEED (U+000C) may occur within strings",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A2.4_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A2.4_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T1.js",
|
||||
|
||||
assertion: "SPACE (U+0020) may occur within strings",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A2.4_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A2.4_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.4_T2.js",
|
||||
|
||||
assertion: "SPACE (U+0020) may occur within strings",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A2.5_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A2.5_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T1.js",
|
||||
|
||||
assertion: "NO-BREAK SPACE (U+00A0) may occur within strings",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A2.5_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A2.5_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A2.5_T2.js",
|
||||
|
||||
assertion: "NO-BREAK SPACE (U+00A0) may occur within strings",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A3.1_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A3.1_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T1.js",
|
||||
|
||||
assertion: "Single line comment can contain HORIZONTAL TAB (U+0009)",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A3.1_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A3.1_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.1_T2.js",
|
||||
|
||||
assertion: "Single line comment can contain HORIZONTAL TAB (U+0009)",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A3.2_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A3.2_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T1.js",
|
||||
|
||||
assertion: "Single line comment can contain VERTICAL TAB (U+000B)",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A3.2_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A3.2_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.2_T2.js",
|
||||
|
||||
assertion: "Single line comment can contain VERTICAL TAB (U+000B)",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A3.3_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A3.3_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T1.js",
|
||||
|
||||
assertion: "Single line comment can contain FORM FEED (U+000C)",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A3.3_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A3.3_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.3_T2.js",
|
||||
|
||||
assertion: "Single line comment can contain FORM FEED (U+000C)",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A3.4_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A3.4_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T1.js",
|
||||
|
||||
assertion: "Single line comment can contain SPACE (U+0020)",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A3.4_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A3.4_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.4_T2.js",
|
||||
|
||||
assertion: "Single line comment can contain SPACE (U+0020)",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A3.5_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A3.5_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T1.js",
|
||||
|
||||
assertion: "Single line comment can contain NO-BREAK SPACE (U+00A0)",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A3.5_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A3.5_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A3.5_T2.js",
|
||||
|
||||
assertion: "Single line comment can contain NO-BREAK SPACE (U+00A0)",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A4.1_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A4.1_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T1.js",
|
||||
|
||||
assertion: "Multi line comment can contain HORIZONTAL TAB (U+0009)",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A4.1_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A4.1_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.1_T2.js",
|
||||
|
||||
assertion: "Multi line comment can contain HORIZONTAL TAB (U+0009)",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A4.2_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A4.2_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T1.js",
|
||||
|
||||
assertion: "Multi line comment can contain VERTICAL TAB (U+000B)",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A4.2_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A4.2_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.2_T2.js",
|
||||
|
||||
assertion: "Multi line comment can contain VERTICAL TAB (U+000B)",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A4.3_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A4.3_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T1.js",
|
||||
|
||||
assertion: "Multi line comment can contain FORM FEED (U+000C)",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A4.3_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A4.3_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.3_T2.js",
|
||||
|
||||
assertion: "Multi line comment can contain FORM FEED (U+000C)",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A4.4_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A4.4_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T1.js",
|
||||
|
||||
assertion: "Multi line comment can contain SPACE (U+0020)",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A4.4_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A4.4_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.4_T2.js",
|
||||
|
||||
assertion: "Multi line comment can contain SPACE (U+0020)",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A4.5_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A4.5_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T1.js",
|
||||
|
||||
assertion: "Multi line comment can contain NO-BREAK SPACE (U+00A0)",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.2_A4.5_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.2_White_Space\S7.2_A4.5_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.2_White_Space/S7.2_A4.5_T2.js",
|
||||
|
||||
assertion: "Multi line comment can contain NO-BREAK SPACE (U+00A0)",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.3_A1.1_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.3_Line_Terminators\S7.3_A1.1_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T1.js",
|
||||
|
||||
assertion: "LINE FEED (U+000A) may occur between any two tokens",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.3_A1.1_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.3_Line_Terminators\S7.3_A1.1_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.1_T2.js",
|
||||
|
||||
assertion: "LINE FEED (U+000A) may occur between any two tokens",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.3_A1.2_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.3_Line_Terminators\S7.3_A1.2_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T1.js",
|
||||
|
||||
assertion: "CARRIAGE RETURN (U+000D) may occur between any two tokens",
|
||||
|
||||
|
@ -1,27 +1,27 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* @name: S7.3_A1.2_T2;
|
||||
* @section: 7.3;
|
||||
* @assertion: CARRIAGE RETURN (U+000D) may occur between any two tokens;
|
||||
* @description: Insert real CARRIAGE RETURN between tokens of var x=1;
|
||||
*/
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* @name: S7.3_A1.2_T2;
|
||||
* @section: 7.3;
|
||||
* @assertion: CARRIAGE RETURN (U+000D) may occur between any two tokens;
|
||||
* @description: Insert real CARRIAGE RETURN between tokens of var x=1;
|
||||
*/
|
||||
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.3_A1.2_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.3_Line_Terminators\S7.3_A1.2_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.2_T2.js",
|
||||
|
||||
assertion: "CARRIAGE RETURN (U+000D) may occur between any two tokens",
|
||||
|
||||
description: "Insert real CARRIAGE RETURN between tokens of var x=1",
|
||||
|
||||
test: function testcase() {
|
||||
//CHECK#1
var
x
|
||||
=
1;
if (x !== 1) {
$ERROR('#1: var\\nx\\n=\\n1\\n; x === 1. Actual: ' + (x));
}
|
||||
//CHECK#1
var
x
|
||||
=
1;
if (x !== 1) {
$ERROR('#1: var\\nx\\n=\\n1\\n; x === 1. Actual: ' + (x));
}
|
||||
|
||||
}
|
||||
});
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.3_A1.3",
|
||||
|
||||
path: "07_Lexical_Conventions\7.3_Line_Terminators\S7.3_A1.3.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.3.js",
|
||||
|
||||
assertion: "LINE SEPARATOR (U+2028) may occur between any two tokens",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.3_A1.4",
|
||||
|
||||
path: "07_Lexical_Conventions\7.3_Line_Terminators\S7.3_A1.4.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A1.4.js",
|
||||
|
||||
assertion: "PARAGRAPH SEPARATOR (U+2029) may occur between any two tokens",
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
//CHECK#1
"
str
ing
";
|
||||
//CHECK#1
"
str
ing
";
|
||||
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
// CHECK#1
eval("// single line \u000A comment");
|
||||
// CHECK#1
eval("// single line \u000A comment");
|
||||
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
// CHECK#1
eval("//\u000A single line comment");
|
||||
// CHECK#1
eval("//\u000A single line comment");
|
||||
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
// CHECK#1
|
||||
//single
|
||||
line comment
|
||||
// CHECK#1
|
||||
//single
|
||||
line comment
|
||||
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
// CHECK#1
eval("// single line \u000D comment");
|
||||
// CHECK#1
eval("// single line \u000D comment");
|
||||
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
// CHECK#1
eval("//\u000D single line comment");
|
||||
// CHECK#1
eval("//\u000D single line comment");
|
||||
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
// CHECK#1
//single
line comment
|
||||
// CHECK#1
//single
line comment
|
||||
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
// CHECK#1
eval("// single line \u2028 comment");
|
||||
// CHECK#1
eval("// single line \u2028 comment");
|
||||
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
// CHECK#1
eval("//\u2028 single line comment");
|
||||
// CHECK#1
eval("//\u2028 single line comment");
|
||||
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
// CHECK#1
eval("// single line \u2029 comment");
|
||||
// CHECK#1
eval("// single line \u2029 comment");
|
||||
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
// CHECK#1
eval("//\u2029 single line comment");
|
||||
// CHECK#1
eval("//\u2029 single line comment");
|
||||
|
||||
|
||||
|
@ -1,20 +1,20 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
* @name: S7.3_A4_T1;
* @section: 7.3, 7.4;
* @assertion: Single line comments can contain Line Terminator at the end of line;
* @description: Insert LINE FEED (U+000A) into the end of single line comment;
*/
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.3_A4_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.3_Line_Terminators\S7.3_A4_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T1.js",
|
||||
|
||||
assertion: "Single line comments can contain Line Terminator at the end of line",
|
||||
|
||||
description: "Insert LINE FEED (U+000A) into the end of single line comment",
|
||||
|
||||
test: function testcase() {
|
||||
// CHECK#1
eval("// single line comment\u000A");
// CHECK#2
var x = 0;
eval("// single line comment\u000A x = 1;");
if (x !== 1) {
$ERROR('#1: var x = 0; eval("// single line comment\\u000A x = 1;"); x === 1. Actual: ' + (x));
}
|
||||
// CHECK#1
eval("// single line comment\u000A");
// CHECK#2
var x = 0;
eval("// single line comment\u000A x = 1;");
if (x !== 1) {
$ERROR('#1: var x = 0; eval("// single line comment\\u000A x = 1;"); x === 1. Actual: ' + (x));
}
|
||||
|
||||
}
|
||||
});
|
||||
|
@ -1,20 +1,20 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
* @name: S7.3_A4_T2;
* @section: 7.3, 7.4;
* @assertion: Single line comments can contain Line Terminator at the end of line;
* @description: Insert CARRIAGE RETURN (U+000D) into the end of single line comment;
*/
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.3_A4_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.3_Line_Terminators\S7.3_A4_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T2.js",
|
||||
|
||||
assertion: "Single line comments can contain Line Terminator at the end of line",
|
||||
|
||||
description: "Insert CARRIAGE RETURN (U+000D) into the end of single line comment",
|
||||
|
||||
test: function testcase() {
|
||||
// CHECK#1
eval("// single line comment\u000D");
// CHECK#2
var x = 0;
eval("// single line comment\u000D x = 1;");
if (x !== 1) {
$ERROR('#1: var x = 0; eval("// single line comment\\u000D x = 1;"); x === 1. Actual: ' + (x));
}
|
||||
// CHECK#1
eval("// single line comment\u000D");
// CHECK#2
var x = 0;
eval("// single line comment\u000D x = 1;");
if (x !== 1) {
$ERROR('#1: var x = 0; eval("// single line comment\\u000D x = 1;"); x === 1. Actual: ' + (x));
}
|
||||
|
||||
}
|
||||
});
|
||||
|
@ -1,20 +1,20 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
* @name: S7.3_A4_T3;
* @section: 7.3, 7.4;
* @assertion: Single line comments can contain Line Terminator at the end of line;
* @description: Insert LINE SEPARATOR (U+2028) into the end of single line comment;
*/
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.3_A4_T3",
|
||||
|
||||
path: "07_Lexical_Conventions\7.3_Line_Terminators\S7.3_A4_T3.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T3.js",
|
||||
|
||||
assertion: "Single line comments can contain Line Terminator at the end of line",
|
||||
|
||||
description: "Insert LINE SEPARATOR (U+2028) into the end of single line comment",
|
||||
|
||||
test: function testcase() {
|
||||
// CHECK#1
eval("// single line comment\u2028");
// CHECK#2
var x = 0;
eval("// single line comment\u2028 x = 1;");
if (x !== 1) {
$ERROR('#1: var x = 0; eval("// single line comment\\u2028 x = 1;"); x === 1. Actual: ' + (x));
}
|
||||
// CHECK#1
eval("// single line comment\u2028");
// CHECK#2
var x = 0;
eval("// single line comment\u2028 x = 1;");
if (x !== 1) {
$ERROR('#1: var x = 0; eval("// single line comment\\u2028 x = 1;"); x === 1. Actual: ' + (x));
}
|
||||
|
||||
}
|
||||
});
|
||||
|
@ -1,20 +1,20 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
* @name: S7.3_A4_T4;
* @section: 7.3, 7.4;
* @assertion: Single line comments can contain Line Terminator at the end of line;
* @description: Insert PARAGRAPH SEPARATOR (U+2029) into the end of single line comment;
*/
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.3_A4_T4",
|
||||
|
||||
path: "07_Lexical_Conventions\7.3_Line_Terminators\S7.3_A4_T4.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A4_T4.js",
|
||||
|
||||
assertion: "Single line comments can contain Line Terminator at the end of line",
|
||||
|
||||
description: "Insert PARAGRAPH SEPARATOR (U+2029) into the end of single line comment",
|
||||
|
||||
test: function testcase() {
|
||||
// CHECK#1
eval("// single line comment\u2029");
// CHECK#2
var x = 0;
eval("// single line comment\u2029 x = 1;");
if (x !== 1) {
$ERROR('#1: var x = 0; eval("// single line comment\\u2029 x = 1;"); x === 1. Actual: ' + (x));
}
|
||||
// CHECK#1
eval("// single line comment\u2029");
// CHECK#2
var x = 0;
eval("// single line comment\u2029 x = 1;");
if (x !== 1) {
$ERROR('#1: var x = 0; eval("// single line comment\\u2029 x = 1;"); x === 1. Actual: ' + (x));
}
|
||||
|
||||
}
|
||||
});
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.3_A5.1_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.3_Line_Terminators\S7.3_A5.1_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T1.js",
|
||||
|
||||
assertion: "Multi line comment can contain LINE FEED (U+000A)",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.3_A5.1_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.3_Line_Terminators\S7.3_A5.1_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.1_T2.js",
|
||||
|
||||
assertion: "Multi line comment can contain LINE FEED (U+000A)",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.3_A5.2_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.3_Line_Terminators\S7.3_A5.2_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T1.js",
|
||||
|
||||
assertion: "Multi line comment can contain CARRIAGE RETURN (U+000D)",
|
||||
|
||||
|
@ -1,26 +1,26 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* @name: S7.3_A5.2_T2;
|
||||
* @section: 7.3, 7.4;
|
||||
* @assertion: Multi line comment can contain CARRIAGE RETURN (U+000D);
|
||||
* @description: Insert real CARRIAGE RETURN into multi line comment;
|
||||
*/
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* @name: S7.3_A5.2_T2;
|
||||
* @section: 7.3, 7.4;
|
||||
* @assertion: Multi line comment can contain CARRIAGE RETURN (U+000D);
|
||||
* @description: Insert real CARRIAGE RETURN into multi line comment;
|
||||
*/
|
||||
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.3_A5.2_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.3_Line_Terminators\S7.3_A5.2_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.2_T2.js",
|
||||
|
||||
assertion: "Multi line comment can contain CARRIAGE RETURN (U+000D)",
|
||||
|
||||
description: "Insert real CARRIAGE RETURN into multi line comment",
|
||||
|
||||
test: function testcase() {
|
||||
/*CHECK#1*/
var x = 0;
/*
multi
line
comment
x = 1;
*/
if (x !== 0) {
$ERROR('#1: var x = 0; /*\\rmulti\\rline\\rcomment\\rx = 1;\\r*/ x === 0. Actual: ' + (x));
}
|
||||
/*CHECK#1*/
var x = 0;
/*
multi
line
comment
x = 1;
*/
if (x !== 0) {
$ERROR('#1: var x = 0; /*\\rmulti\\rline\\rcomment\\rx = 1;\\r*/ x === 0. Actual: ' + (x));
}
|
||||
|
||||
}
|
||||
});
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.3_A5.3",
|
||||
|
||||
path: "07_Lexical_Conventions\7.3_Line_Terminators\S7.3_A5.3.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.3.js",
|
||||
|
||||
assertion: "Multi line comment can contain LINE SEPARATOR (U+2028)",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.3_A5.4",
|
||||
|
||||
path: "07_Lexical_Conventions\7.3_Line_Terminators\S7.3_A5.4.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A5.4.js",
|
||||
|
||||
assertion: "Multi line comment can contain LINE SEPARATOR (U+2029)",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.3_A7_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.3_Line_Terminators\S7.3_A7_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T1.js",
|
||||
|
||||
assertion: "Line Terminators between operators are allowed",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.3_A7_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.3_Line_Terminators\S7.3_A7_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T2.js",
|
||||
|
||||
assertion: "Line Terminators between operators are allowed",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.3_A7_T3",
|
||||
|
||||
path: "07_Lexical_Conventions\7.3_Line_Terminators\S7.3_A7_T3.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T3.js",
|
||||
|
||||
assertion: "Line Terminators between operators are allowed",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.3_A7_T4",
|
||||
|
||||
path: "07_Lexical_Conventions\7.3_Line_Terminators\S7.3_A7_T4.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T4.js",
|
||||
|
||||
assertion: "Line Terminators between operators are allowed",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.3_A7_T5",
|
||||
|
||||
path: "07_Lexical_Conventions\7.3_Line_Terminators\S7.3_A7_T5.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T5.js",
|
||||
|
||||
assertion: "Line Terminators between operators are allowed",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.3_A7_T6",
|
||||
|
||||
path: "07_Lexical_Conventions\7.3_Line_Terminators\S7.3_A7_T6.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T6.js",
|
||||
|
||||
assertion: "Line Terminators between operators are allowed",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.3_A7_T7",
|
||||
|
||||
path: "07_Lexical_Conventions\7.3_Line_Terminators\S7.3_A7_T7.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T7.js",
|
||||
|
||||
assertion: "Line Terminators between operators are allowed",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.3_A7_T8",
|
||||
|
||||
path: "07_Lexical_Conventions\7.3_Line_Terminators\S7.3_A7_T8.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.3_Line_Terminators/S7.3_A7_T8.js",
|
||||
|
||||
assertion: "Line Terminators between operators are allowed",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.4_A1_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.4_Comments\S7.4_A1_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T1.js",
|
||||
|
||||
assertion: "Correct interpretation of single line comments",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.4_A1_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.4_Comments\S7.4_A1_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.4_Comments/S7.4_A1_T2.js",
|
||||
|
||||
assertion: "Correct interpretation of single line comments",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.4_A2_T1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.4_Comments\S7.4_A2_T1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.4_Comments/S7.4_A2_T1.js",
|
||||
|
||||
assertion: "Correct interpretation of multi line comments",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.4_A4_T2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.4_Comments\S7.4_A4_T2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T2.js",
|
||||
|
||||
assertion: "Single and Multi line comments are used together",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.4_A4_T3",
|
||||
|
||||
path: "07_Lexical_Conventions\7.4_Comments\S7.4_A4_T3.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T3.js",
|
||||
|
||||
assertion: "Single and Multi line comments are used together",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.4_A4_T5",
|
||||
|
||||
path: "07_Lexical_Conventions\7.4_Comments\S7.4_A4_T5.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T5.js",
|
||||
|
||||
assertion: "Single and Multi line comments are used together",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.4_A4_T6",
|
||||
|
||||
path: "07_Lexical_Conventions\7.4_Comments\S7.4_A4_T6.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T6.js",
|
||||
|
||||
assertion: "Single and Multi line comments are used together",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.4_A4_T7",
|
||||
|
||||
path: "07_Lexical_Conventions\7.4_Comments\S7.4_A4_T7.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.4_Comments/S7.4_A4_T7.js",
|
||||
|
||||
assertion: "Single and Multi line comments are used together",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.4_A5",
|
||||
|
||||
path: "07_Lexical_Conventions\7.4_Comments\S7.4_A5.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.4_Comments/S7.4_A5.js",
|
||||
|
||||
assertion: "Single line comments can contain any Unicode character without Line Terminators",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.4_A6",
|
||||
|
||||
path: "07_Lexical_Conventions\7.4_Comments\S7.4_A6.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.4_Comments/S7.4_A6.js",
|
||||
|
||||
assertion: "If multi line comments csn not nest, they can contain any Unicode character",
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.5.1_A2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.5_Tokens\7.5.1_Reserved_Words\S7.5.1_A2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.1_Reserved_Words/S7.5.1_A2.js",
|
||||
|
||||
assertion: "List of words that are not reserved",
|
||||
|
||||
|
@ -1,27 +1,27 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* @name: S7.5.3_A1.1;
|
||||
* @section: 7.5.3;
|
||||
* @assertion: The "abstract" token can be used as identifier;
|
||||
* @description: Checking if execution of "abstract=1" succeeds;
|
||||
*/
|
||||
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* @name: S7.5.3_A1.1;
|
||||
* @section: 7.5.3;
|
||||
* @assertion: The "abstract" token can be used as identifier;
|
||||
* @description: Checking if execution of "abstract=1" succeeds;
|
||||
*/
|
||||
|
||||
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.5.3_A1.1",
|
||||
|
||||
path: "07_Lexical_Conventions\7.5_Tokens\7.5.3_Future_Reserved_Words\S7.5.3_A1.1.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.1.js",
|
||||
|
||||
assertion: "The \"abstract\" token can be used as identifier",
|
||||
|
||||
description: "Checking if execution of \"abstract=1\" succeeds",
|
||||
|
||||
test: function testcase() {
|
||||
abstract = 1;
|
||||
abstract = 1;
|
||||
|
||||
}
|
||||
});
|
||||
|
@ -1,27 +1,27 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* @name: S7.5.3_A1.12;
|
||||
* @section: 7.5.3;
|
||||
* @assertion: The "final" token can be used as identifier;
|
||||
* @description: Checking if execution of "final=1" succeeds;
|
||||
*/
|
||||
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* @name: S7.5.3_A1.12;
|
||||
* @section: 7.5.3;
|
||||
* @assertion: The "final" token can be used as identifier;
|
||||
* @description: Checking if execution of "final=1" succeeds;
|
||||
*/
|
||||
|
||||
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.5.3_A1.12",
|
||||
|
||||
path: "07_Lexical_Conventions\7.5_Tokens\7.5.3_Future_Reserved_Words\S7.5.3_A1.12.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.12.js",
|
||||
|
||||
assertion: "The \"final\" token can be used as identifier",
|
||||
|
||||
description: "Checking if execution of \"final=1\" succeeds",
|
||||
|
||||
test: function testcase() {
|
||||
final = 1;
|
||||
final = 1;
|
||||
|
||||
}
|
||||
});
|
||||
|
@ -1,27 +1,27 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* @name: S7.5.3_A1.13;
|
||||
* @section: 7.5.3;
|
||||
* @assertion: The "float" token can be used as identifier;
|
||||
* @description: Checking if execution of "float=1" succeeds;
|
||||
*/
|
||||
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* @name: S7.5.3_A1.13;
|
||||
* @section: 7.5.3;
|
||||
* @assertion: The "float" token can be used as identifier;
|
||||
* @description: Checking if execution of "float=1" succeeds;
|
||||
*/
|
||||
|
||||
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.5.3_A1.13",
|
||||
|
||||
path: "07_Lexical_Conventions\7.5_Tokens\7.5.3_Future_Reserved_Words\S7.5.3_A1.13.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.13.js",
|
||||
|
||||
assertion: "The \"float\" token can be used as identifier",
|
||||
|
||||
description: "Checking if execution of \"float=1\" succeeds",
|
||||
|
||||
test: function testcase() {
|
||||
float = 1;
|
||||
float = 1;
|
||||
|
||||
}
|
||||
});
|
||||
|
@ -1,27 +1,27 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* @name: S7.5.3_A1.14;
|
||||
* @section: 7.5.3;
|
||||
* @assertion: The "goto" token can be used as identifier;
|
||||
* @description: Checking if execution of "goto=1" succeeds;
|
||||
*/
|
||||
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* @name: S7.5.3_A1.14;
|
||||
* @section: 7.5.3;
|
||||
* @assertion: The "goto" token can be used as identifier;
|
||||
* @description: Checking if execution of "goto=1" succeeds;
|
||||
*/
|
||||
|
||||
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.5.3_A1.14",
|
||||
|
||||
path: "07_Lexical_Conventions\7.5_Tokens\7.5.3_Future_Reserved_Words\S7.5.3_A1.14.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.14.js",
|
||||
|
||||
assertion: "The \"goto\" token can be used as identifier",
|
||||
|
||||
description: "Checking if execution of \"goto=1\" succeeds",
|
||||
|
||||
test: function testcase() {
|
||||
goto = 1;
|
||||
goto = 1;
|
||||
|
||||
}
|
||||
});
|
||||
|
@ -1,9 +1,9 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
"use strict";
|
||||
"use strict";
|
||||
implements = 1;
|
||||
|
||||
|
@ -1,20 +1,20 @@
|
||||
// Copyright 2011 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* @name: S7.5.3_A1.15;
|
||||
* @section: 7.5.3;
|
||||
* @assertion: The "implements" token can be used as identifier in non-strict code;
|
||||
* @description: Checking if execution of "implements=1" succeeds in non-strict code;
|
||||
*/
|
||||
|
||||
// Copyright 2011 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* @name: S7.5.3_A1.15;
|
||||
* @section: 7.5.3;
|
||||
* @assertion: The "implements" token can be used as identifier in non-strict code;
|
||||
* @description: Checking if execution of "implements=1" succeeds in non-strict code;
|
||||
*/
|
||||
|
||||
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.5.3_A1.15ns",
|
||||
|
||||
path: "07_Lexical_Conventions\7.5_Tokens\7.5.3_Future_Reserved_Words\S7.5.3_A1.15ns.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.15ns.js",
|
||||
|
||||
assertion: "The \"implements\" token can be used as identifier in non-strict code",
|
||||
|
||||
|
@ -1,27 +1,27 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* @name: S7.5.3_A1.17;
|
||||
* @section: 7.5.3;
|
||||
* @assertion: The "int" token can be used as identifier;
|
||||
* @description: Checking if execution of "int=1" succeeds;
|
||||
*/
|
||||
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* @name: S7.5.3_A1.17;
|
||||
* @section: 7.5.3;
|
||||
* @assertion: The "int" token can be used as identifier;
|
||||
* @description: Checking if execution of "int=1" succeeds;
|
||||
*/
|
||||
|
||||
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.5.3_A1.17",
|
||||
|
||||
path: "07_Lexical_Conventions\7.5_Tokens\7.5.3_Future_Reserved_Words\S7.5.3_A1.17.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.17.js",
|
||||
|
||||
assertion: "The \"int\" token can be used as identifier",
|
||||
|
||||
description: "Checking if execution of \"int=1\" succeeds",
|
||||
|
||||
test: function testcase() {
|
||||
int = 1;
|
||||
int = 1;
|
||||
|
||||
}
|
||||
});
|
||||
|
@ -1,10 +1,10 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
"use strict";
|
||||
interface = 1;
|
||||
"use strict";
|
||||
interface = 1;
|
||||
|
||||
|
||||
|
@ -1,27 +1,27 @@
|
||||
// Copyright 2011 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* @name: S7.5.3_A1.18;
|
||||
* @section: 7.5.3;
|
||||
* @assertion: The "interface" token can be used as identifier in non-strict code;
|
||||
* @description: Checking if execution of "interface = 1" succeeds in strict code;
|
||||
*/
|
||||
|
||||
// Copyright 2011 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* @name: S7.5.3_A1.18;
|
||||
* @section: 7.5.3;
|
||||
* @assertion: The "interface" token can be used as identifier in non-strict code;
|
||||
* @description: Checking if execution of "interface = 1" succeeds in strict code;
|
||||
*/
|
||||
|
||||
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.5.3_A1.18ns",
|
||||
|
||||
path: "07_Lexical_Conventions\7.5_Tokens\7.5.3_Future_Reserved_Words\S7.5.3_A1.18ns.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18ns.js",
|
||||
|
||||
assertion: "The \"interface\" token can be used as identifier in non-strict code",
|
||||
|
||||
description: "Checking if execution of \"interface = 1\" succeeds in strict code",
|
||||
|
||||
test: function testcase() {
|
||||
new Function('interface = 1');
|
||||
new Function('interface = 1');
|
||||
|
||||
}
|
||||
});
|
||||
|
@ -1,27 +1,27 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* @name: S7.5.3_A1.19;
|
||||
* @section: 7.5.3;
|
||||
* @assertion: The "long" token can be used as identifier;
|
||||
* @description: Checking if execution of "long=1" succeeds;
|
||||
*/
|
||||
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* @name: S7.5.3_A1.19;
|
||||
* @section: 7.5.3;
|
||||
* @assertion: The "long" token can be used as identifier;
|
||||
* @description: Checking if execution of "long=1" succeeds;
|
||||
*/
|
||||
|
||||
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.5.3_A1.19",
|
||||
|
||||
path: "07_Lexical_Conventions\7.5_Tokens\7.5.3_Future_Reserved_Words\S7.5.3_A1.19.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.19.js",
|
||||
|
||||
assertion: "The \"long\" token can be used as identifier",
|
||||
|
||||
description: "Checking if execution of \"long=1\" succeeds",
|
||||
|
||||
test: function testcase() {
|
||||
long = 1;
|
||||
long = 1;
|
||||
|
||||
}
|
||||
});
|
||||
|
@ -1,27 +1,27 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* @name: S7.5.3_A1.2;
|
||||
* @section: 7.5.3;
|
||||
* @assertion: The "boolean" token can be used as identifier;
|
||||
* @description: Checking if execution of "boolean=1" succeeds;
|
||||
*/
|
||||
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* @name: S7.5.3_A1.2;
|
||||
* @section: 7.5.3;
|
||||
* @assertion: The "boolean" token can be used as identifier;
|
||||
* @description: Checking if execution of "boolean=1" succeeds;
|
||||
*/
|
||||
|
||||
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.5.3_A1.2",
|
||||
|
||||
path: "07_Lexical_Conventions\7.5_Tokens\7.5.3_Future_Reserved_Words\S7.5.3_A1.2.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.2.js",
|
||||
|
||||
assertion: "The \"boolean\" token can be used as identifier",
|
||||
|
||||
description: "Checking if execution of \"boolean=1\" succeeds",
|
||||
|
||||
test: function testcase() {
|
||||
boolean = 1;
|
||||
boolean = 1;
|
||||
|
||||
}
|
||||
});
|
||||
|
@ -1,27 +1,27 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* @name: S7.5.3_A1.20;
|
||||
* @section: 7.5.3;
|
||||
* @assertion: The "native" token can be used as identifier;
|
||||
* @description: Checking if execution of "native=1" succeeds;
|
||||
*/
|
||||
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* @name: S7.5.3_A1.20;
|
||||
* @section: 7.5.3;
|
||||
* @assertion: The "native" token can be used as identifier;
|
||||
* @description: Checking if execution of "native=1" succeeds;
|
||||
*/
|
||||
|
||||
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.5.3_A1.20",
|
||||
|
||||
path: "07_Lexical_Conventions\7.5_Tokens\7.5.3_Future_Reserved_Words\S7.5.3_A1.20.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.20.js",
|
||||
|
||||
assertion: "The \"native\" token can be used as identifier",
|
||||
|
||||
description: "Checking if execution of \"native=1\" succeeds",
|
||||
|
||||
test: function testcase() {
|
||||
native = 1;
|
||||
native = 1;
|
||||
|
||||
}
|
||||
});
|
||||
|
@ -1,10 +1,10 @@
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
// Copyright 2009 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
"use strict";
|
||||
package = 1;
|
||||
"use strict";
|
||||
package = 1;
|
||||
|
||||
|
||||
|
@ -1,27 +1,27 @@
|
||||
// Copyright 2011 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* @name: S7.5.3_A1.21;
|
||||
* @section: 7.5.3;
|
||||
* @assertion: The "package" token can be used as identifier in non-strict code;
|
||||
* @description: Checking if execution of "package=1" succeeds in non-strict code;
|
||||
*/
|
||||
|
||||
// Copyright 2011 the Sputnik authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/**
|
||||
* @name: S7.5.3_A1.21;
|
||||
* @section: 7.5.3;
|
||||
* @assertion: The "package" token can be used as identifier in non-strict code;
|
||||
* @description: Checking if execution of "package=1" succeeds in non-strict code;
|
||||
*/
|
||||
|
||||
|
||||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S7.5.3_A1.21ns",
|
||||
|
||||
path: "07_Lexical_Conventions\7.5_Tokens\7.5.3_Future_Reserved_Words\S7.5.3_A1.21ns.js",
|
||||
path: "TestCases/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.21ns.js",
|
||||
|
||||
assertion: "The \"package\" token can be used as identifier in non-strict code",
|
||||
|
||||
description: "Checking if execution of \"package=1\" succeeds in non-strict code",
|
||||
|
||||
test: function testcase() {
|
||||
new Function('package = 1');
|
||||
new Function('package = 1');
|
||||
|
||||
}
|
||||
});
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user