mirror of https://github.com/tc39/test262.git
A previous check-in made today lost generation of 'N.0' test section directories for
tests covering a given chapter, N, without delving into subsections. This in turn broken the Results page which was by default displaying individual results for chapters 13(.0) and 14(.0). Fixed.
This commit is contained in:
parent
ef45786a21
commit
994e6f3049
|
@ -346,7 +346,7 @@ GlobalScopeTests["S12.9_A1_T6"]={"assertion":"Appearing of \"return\" without a
|
|||
GlobalScopeTests["S12.9_A1_T7"]={"assertion":"Appearing of \"return\" without a function body leads to syntax error","description":"Checking if execution of \"return x\" with no function, placed inside Block, fails","id":"S12.9_A1_T7","path":"12_Statement\\12.9_The_return_Statement\\S12.9_A1_T7.js","negative":"."};
|
||||
GlobalScopeTests["S12.9_A1_T8"]={"assertion":"Appearing of \"return\" without a function body leads to syntax error","description":"Checking if execution of \"return x\" with no function, placed into a loop, fails","id":"S12.9_A1_T8","path":"12_Statement\\12.9_The_return_Statement\\S12.9_A1_T8.js","negative":"."};
|
||||
GlobalScopeTests["S12.9_A1_T9"]={"assertion":"Appearing of \"return\" without a function body leads to syntax error","description":"Checking if execution of \"return\", placed into a catch Block, fails","id":"S12.9_A1_T9","path":"12_Statement\\12.9_The_return_Statement\\S12.9_A1_T9.js","negative":"."};
|
||||
GlobalScopeTests["S13_A7_T3"]={"assertion":"The FunctionBody must be SourceElements","description":"Checking if execution of \"function __func(){\\A\\B\\C}\" fails","id":"S13_A7_T3","path":"13_Function_Definition\\S13_A7_T3.js","negative":"."};
|
||||
GlobalScopeTests["S13.0_A7_T3"]={"assertion":"The FunctionBody must be SourceElements","description":"Checking if execution of \"function __func(){\\A\\B\\C}\" fails","id":"S13.0_A7_T3","path":"13_Function_Definition\\13.0_Chapter\\S13.0_A7_T3.js","negative":"."};
|
||||
GlobalScopeTests["S15.10.2.11_A1_T2"]={"assertion":"DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]","description":"It is an error if n is greater than the total number of left capturing parentheses in the entire regular expression","id":"S15.10.2.11_A1_T2","path":"15_Native\\15.10_RegExp_Objects\\15.10.2_Pattern_Semantics\\15.10.2.11_DecimalEscape\\S15.10.2.11_A1_T2.js","negative":"."};
|
||||
GlobalScopeTests["S15.10.2.11_A1_T3"]={"assertion":"DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]","description":"It is an error if n is greater than the total number of left capturing parentheses in the entire regular expression","id":"S15.10.2.11_A1_T3","path":"15_Native\\15.10_RegExp_Objects\\15.10.2_Pattern_Semantics\\15.10.2.11_DecimalEscape\\S15.10.2.11_A1_T3.js","negative":"."};
|
||||
GlobalScopeTests["S15.1_A1_T1"]={"assertion":"The global object does not have a [[Construct]] property","description":"It is not possible to use the global object as a constructor","id":"S15.1_A1_T1","path":"15_Native\\15.1_The_Global_Object\\S15.1_A1_T1.js","negative":"."};
|
||||
|
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A1",
|
||||
id: "S13.0_A1",
|
||||
|
||||
path: "13_Function_Definition\S13_A1.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A1.js",
|
||||
|
||||
assertion: "\"x=function y(){}\" statement does not store a reference to the new function in the varaible y(Identifier)",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A10",
|
||||
id: "S13.0_A10",
|
||||
|
||||
path: "13_Function_Definition\S13_A10.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A10.js",
|
||||
|
||||
assertion: "Function is a data",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A11_T1",
|
||||
id: "S13.0_A11_T1",
|
||||
|
||||
path: "13_Function_Definition\S13_A11_T1.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A11_T1.js",
|
||||
|
||||
assertion: "Since arguments property has attribute { DontDelete }, only its elements can be deleted",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A11_T2",
|
||||
id: "S13.0_A11_T2",
|
||||
|
||||
path: "13_Function_Definition\S13_A11_T2.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A11_T2.js",
|
||||
|
||||
assertion: "Since arguments property has attribute { DontDelete }, only its elements can be deleted",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A11_T3",
|
||||
id: "S13.0_A11_T3",
|
||||
|
||||
path: "13_Function_Definition\S13_A11_T3.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A11_T3.js",
|
||||
|
||||
assertion: "Since arguments property has attribute { DontDelete }, only its elements can be deleted",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A11_T4",
|
||||
id: "S13.0_A11_T4",
|
||||
|
||||
path: "13_Function_Definition\S13_A11_T4.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A11_T4.js",
|
||||
|
||||
assertion: "Since arguments property has attribute { DontDelete }, only its elements can be deleted",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A12_T1",
|
||||
id: "S13.0_A12_T1",
|
||||
|
||||
path: "13_Function_Definition\S13_A12_T1.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A12_T1.js",
|
||||
|
||||
assertion: "Function declarations in global or function scope are {DontDelete}",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A12_T2",
|
||||
id: "S13.0_A12_T2",
|
||||
|
||||
path: "13_Function_Definition\S13_A12_T2.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A12_T2.js",
|
||||
|
||||
assertion: "Function declarations in global or function scope are {DontDelete}",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A13_T1",
|
||||
id: "S13.0_A13_T1",
|
||||
|
||||
path: "13_Function_Definition\S13_A13_T1.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A13_T1.js",
|
||||
|
||||
assertion: "Deleting arguments[i] leads to breaking the connection to local reference",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A13_T2",
|
||||
id: "S13.0_A13_T2",
|
||||
|
||||
path: "13_Function_Definition\S13_A13_T2.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A13_T2.js",
|
||||
|
||||
assertion: "Deleting arguments[i] leads to breaking the connection to local reference",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A13_T3",
|
||||
id: "S13.0_A13_T3",
|
||||
|
||||
path: "13_Function_Definition\S13_A13_T3.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A13_T3.js",
|
||||
|
||||
assertion: "Deleting arguments[i] leads to breaking the connection to local reference",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A14",
|
||||
id: "S13.0_A14",
|
||||
|
||||
path: "13_Function_Definition\S13_A14.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A14.js",
|
||||
|
||||
assertion: "Unicode symbols in function name are allowed",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A15_T1",
|
||||
id: "S13.0_A15_T1",
|
||||
|
||||
path: "13_Function_Definition\S13_A15_T1.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A15_T1.js",
|
||||
|
||||
assertion: "\'\'arguments\'\' variable overrides ActivationObject.arguments",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A15_T2",
|
||||
id: "S13.0_A15_T2",
|
||||
|
||||
path: "13_Function_Definition\S13_A15_T2.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A15_T2.js",
|
||||
|
||||
assertion: "\'\'arguments\'\' variable overrides ActivationObject.arguments",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A15_T3",
|
||||
id: "S13.0_A15_T3",
|
||||
|
||||
path: "13_Function_Definition\S13_A15_T3.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A15_T3.js",
|
||||
|
||||
assertion: "\'\'arguments\'\' variable overrides ActivationObject.arguments",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A15_T4",
|
||||
id: "S13.0_A15_T4",
|
||||
|
||||
path: "13_Function_Definition\S13_A15_T4.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A15_T4.js",
|
||||
|
||||
assertion: "\'\'arguments\'\' variable overrides ActivationObject.arguments",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A15_T5",
|
||||
id: "S13.0_A15_T5",
|
||||
|
||||
path: "13_Function_Definition\S13_A15_T5.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A15_T5.js",
|
||||
|
||||
assertion: "\'\'arguments\'\' variable overrides ActivationObject.arguments",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A16",
|
||||
id: "S13.0_A16",
|
||||
|
||||
path: "13_Function_Definition\S13_A16.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A16.js",
|
||||
|
||||
assertion: "Any separators are admitted between declaration chunks",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A17_T1",
|
||||
id: "S13.0_A17_T1",
|
||||
|
||||
path: "13_Function_Definition\S13_A17_T1.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A17_T1.js",
|
||||
|
||||
assertion: "Function call cannot appear in the program before the FunctionExpression appears",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A17_T2",
|
||||
id: "S13.0_A17_T2",
|
||||
|
||||
path: "13_Function_Definition\S13_A17_T2.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A17_T2.js",
|
||||
|
||||
assertion: "Function call cannot appear in the program before the FunctionExpression appears",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A18",
|
||||
id: "S13.0_A18",
|
||||
|
||||
path: "13_Function_Definition\S13_A18.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A18.js",
|
||||
|
||||
assertion: "Closures are admitted",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A19_T1",
|
||||
id: "S13.0_A19_T1",
|
||||
|
||||
path: "13_Function_Definition\S13_A19_T1.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A19_T1.js",
|
||||
|
||||
assertion: "\"var\" does not override function declaration",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A19_T2",
|
||||
id: "S13.0_A19_T2",
|
||||
|
||||
path: "13_Function_Definition\S13_A19_T2.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A19_T2.js",
|
||||
|
||||
assertion: "\"var\" does not override function declaration",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A2_T1",
|
||||
id: "S13.0_A2_T1",
|
||||
|
||||
path: "13_Function_Definition\S13_A2_T1.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A2_T1.js",
|
||||
|
||||
assertion: "function must be evaluated inside the expression",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A2_T2",
|
||||
id: "S13.0_A2_T2",
|
||||
|
||||
path: "13_Function_Definition\S13_A2_T2.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A2_T2.js",
|
||||
|
||||
assertion: "function must be evaluated inside the expression",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A2_T3",
|
||||
id: "S13.0_A2_T3",
|
||||
|
||||
path: "13_Function_Definition\S13_A2_T3.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A2_T3.js",
|
||||
|
||||
assertion: "function must be evaluated inside the expression",
|
||||
|
|
@ -13,9 +13,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A3_T1",
|
||||
id: "S13.0_A3_T1",
|
||||
|
||||
path: "13_Function_Definition\S13_A3_T1.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A3_T1.js",
|
||||
|
||||
assertion: "The Identifier in a FunctionExpression can be referenced from inside the FunctionExpression\'s FunctionBody to allow the function calling itself recursively",
|
||||
|
|
@ -13,9 +13,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A3_T2",
|
||||
id: "S13.0_A3_T2",
|
||||
|
||||
path: "13_Function_Definition\S13_A3_T2.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A3_T2.js",
|
||||
|
||||
assertion: "The Identifier in a FunctionExpression can be referenced from inside the FunctionExpression\'s FunctionBody to allow the function calling itself recursively",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A3_T3",
|
||||
id: "S13.0_A3_T3",
|
||||
|
||||
path: "13_Function_Definition\S13_A3_T3.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A3_T3.js",
|
||||
|
||||
assertion: "The Identifier in a FunctionExpression can be referenced from inside the FunctionExpression\'s FunctionBody to allow the function calling itself recursively",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A4_T1",
|
||||
id: "S13.0_A4_T1",
|
||||
|
||||
path: "13_Function_Definition\S13_A4_T1.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A4_T1.js",
|
||||
|
||||
assertion: "The production FunctionDeclaration: \"function Identifier ( FormalParameterList_opt ) { FunctionBody }\" is processed by function declarations",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A4_T2",
|
||||
id: "S13.0_A4_T2",
|
||||
|
||||
path: "13_Function_Definition\S13_A4_T2.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A4_T2.js",
|
||||
|
||||
assertion: "The production FunctionDeclaration: \"function Identifier ( FormalParameterList_opt ) { FunctionBody }\" is processed by function declarations",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A4_T3",
|
||||
id: "S13.0_A4_T3",
|
||||
|
||||
path: "13_Function_Definition\S13_A4_T3.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A4_T3.js",
|
||||
|
||||
assertion: "The production FunctionDeclaration: \"function Identifier ( FormalParameterList_opt ) { FunctionBody }\" is processed by function declarations",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A4_T4",
|
||||
id: "S13.0_A4_T4",
|
||||
|
||||
path: "13_Function_Definition\S13_A4_T4.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A4_T4.js",
|
||||
|
||||
assertion: "The production FunctionDeclaration: \"function Identifier ( FormalParameterList_opt ) { FunctionBody }\" is processed by function declarations",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A5",
|
||||
id: "S13.0_A5",
|
||||
|
||||
path: "13_Function_Definition\S13_A5.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A5.js",
|
||||
|
||||
assertion: "Only FormalParameterList as arguments list is allowed",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A6_T1",
|
||||
id: "S13.0_A6_T1",
|
||||
|
||||
path: "13_Function_Definition\S13_A6_T1.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A6_T1.js",
|
||||
|
||||
assertion: "FunctionDeclaration can be overrided by other FunctionDeclaration with the same Identifier",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A6_T2",
|
||||
id: "S13.0_A6_T2",
|
||||
|
||||
path: "13_Function_Definition\S13_A6_T2.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A6_T2.js",
|
||||
|
||||
assertion: "FunctionDeclaration can be overrided by other FunctionDeclaration with the same Identifier",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A7_T1",
|
||||
id: "S13.0_A7_T1",
|
||||
|
||||
path: "13_Function_Definition\S13_A7_T1.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A7_T1.js",
|
||||
|
||||
assertion: "The FunctionBody must be SourceElements",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A7_T2",
|
||||
id: "S13.0_A7_T2",
|
||||
|
||||
path: "13_Function_Definition\S13_A7_T2.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A7_T2.js",
|
||||
|
||||
assertion: "The FunctionBody must be SourceElements",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A8_T1",
|
||||
id: "S13.0_A8_T1",
|
||||
|
||||
path: "13_Function_Definition\S13_A8_T1.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A8_T1.js",
|
||||
|
||||
assertion: "Arguments property of activation object contains real params to be passed",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A8_T2",
|
||||
id: "S13.0_A8_T2",
|
||||
|
||||
path: "13_Function_Definition\S13_A8_T2.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A8_T2.js",
|
||||
|
||||
assertion: "Arguments property of activation object contains real params to be passed",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S13_A9",
|
||||
id: "S13.0_A9",
|
||||
|
||||
path: "13_Function_Definition\S13_A9.js",
|
||||
path: "13_Function_Definition\13.0_Chapter\S13.0_A9.js",
|
||||
|
||||
assertion: "Function can be passed as argument",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S14_A1",
|
||||
id: "S14.0_A1",
|
||||
|
||||
path: "14_Program\S14_A1.js",
|
||||
path: "14_Program\14.0_Chapter\S14.0_A1.js",
|
||||
|
||||
assertion: "FunctionExpression must be localed in a reacheable fragment of the program",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S14_A2",
|
||||
id: "S14.0_A2",
|
||||
|
||||
path: "14_Program\S14_A2.js",
|
||||
path: "14_Program\14.0_Chapter\S14.0_A2.js",
|
||||
|
||||
assertion: "FunctionDeclaration cannot be localed inside an Expression",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S14_A3",
|
||||
id: "S14.0_A3",
|
||||
|
||||
path: "14_Program\S14_A3.js",
|
||||
path: "14_Program\14.0_Chapter\S14.0_A3.js",
|
||||
|
||||
assertion: "Global FunctionDeclaration cannot be defined within the body of another FunctionDeclaration",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S14_A5_T1",
|
||||
id: "S14.0_A5_T1",
|
||||
|
||||
path: "14_Program\S14_A5_T1.js",
|
||||
path: "14_Program\14.0_Chapter\S14.0_A5_T1.js",
|
||||
|
||||
assertion: "The Identifer within a FunctionDeclaration can be written in both letters and unicode",
|
||||
|
|
@ -12,9 +12,9 @@
|
|||
// Converted for Test262 from original Sputnik source
|
||||
|
||||
ES5Harness.registerTest( {
|
||||
id: "S14_A5_T2",
|
||||
id: "S14.0_A5_T2",
|
||||
|
||||
path: "14_Program\S14_A5_T2.js",
|
||||
path: "14_Program\14.0_Chapter\S14.0_A5_T2.js",
|
||||
|
||||
assertion: "The Identifer within a FunctionDeclaration can be written in both letters and unicode",
|
||||
|
|
@ -251,7 +251,13 @@ namespace Microsoft.Sputnik.Interop.ParserEngine
|
|||
int indexOfRoot = this.FullPath.IndexOf(root, StringComparison.InvariantCulture) + root.Length + 1;
|
||||
this.pathFromRoot = this.FullPath.Substring(indexOfRoot, this.FullPath.Length - indexOfRoot);
|
||||
|
||||
|
||||
Regex regx = new Regex("\\\\S([0-9]+)_([^\\\\]+)\\.js$");
|
||||
if (regx.IsMatch(this.pathFromRoot))
|
||||
{
|
||||
Match tempMatch = regx.Match(this.pathFromRoot);
|
||||
String tempDir = "\\" + tempMatch.Groups[1].Value + ".0_Chapter";
|
||||
this.pathFromRoot = regx.Replace(this.pathFromRoot, tempDir + "\\S$1.0_$2.js");
|
||||
}
|
||||
ReadSimpleTestCase(fullFile);
|
||||
}
|
||||
|
||||
|
@ -290,11 +296,11 @@ namespace Microsoft.Sputnik.Interop.ParserEngine
|
|||
if (commentKey.Contains(ResourceClass.LookFor_Name))
|
||||
{
|
||||
this.id = this.pathFromRoot.Substring(this.pathFromRoot.LastIndexOf("\\") + 1);
|
||||
this.id = GetRealId(this.id.Remove(this.id.Length - 3));
|
||||
this.id = this.id.Remove(this.id.Length - 3);
|
||||
}
|
||||
if (commentKey.Contains(ResourceClass.LookFor_Section))
|
||||
{
|
||||
this.path = GetRealSectionName(this.pathFromRoot);
|
||||
this.path = this.pathFromRoot;
|
||||
}
|
||||
if (commentKey.Contains(ResourceClass.LookFor_Assertion))
|
||||
{
|
||||
|
@ -317,22 +323,5 @@ namespace Microsoft.Sputnik.Interop.ParserEngine
|
|||
|
||||
this.PossibleChecksCount = 1;
|
||||
}
|
||||
|
||||
|
||||
|
||||
private static string GetRealId(string id)
|
||||
{
|
||||
Regex regx = new Regex("^ S([0-9]+)_");
|
||||
return regx.Replace(id, " S$1.0_", 1);
|
||||
}
|
||||
private static string GetRealSectionName(string sectionName)
|
||||
{
|
||||
Regex regx = new Regex("^ ([0-9]+)$");
|
||||
if (! regx.IsMatch(sectionName)) {
|
||||
return sectionName;
|
||||
}
|
||||
|
||||
return regx.Replace(sectionName, " $1.0", 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -346,7 +346,7 @@ GlobalScopeTests["S12.9_A1_T6"]={"assertion":"Appearing of \"return\" without a
|
|||
GlobalScopeTests["S12.9_A1_T7"]={"assertion":"Appearing of \"return\" without a function body leads to syntax error","description":"Checking if execution of \"return x\" with no function, placed inside Block, fails","id":"S12.9_A1_T7","path":"12_Statement\\12.9_The_return_Statement\\S12.9_A1_T7.js","negative":"."};
|
||||
GlobalScopeTests["S12.9_A1_T8"]={"assertion":"Appearing of \"return\" without a function body leads to syntax error","description":"Checking if execution of \"return x\" with no function, placed into a loop, fails","id":"S12.9_A1_T8","path":"12_Statement\\12.9_The_return_Statement\\S12.9_A1_T8.js","negative":"."};
|
||||
GlobalScopeTests["S12.9_A1_T9"]={"assertion":"Appearing of \"return\" without a function body leads to syntax error","description":"Checking if execution of \"return\", placed into a catch Block, fails","id":"S12.9_A1_T9","path":"12_Statement\\12.9_The_return_Statement\\S12.9_A1_T9.js","negative":"."};
|
||||
GlobalScopeTests["S13_A7_T3"]={"assertion":"The FunctionBody must be SourceElements","description":"Checking if execution of \"function __func(){\\A\\B\\C}\" fails","id":"S13_A7_T3","path":"13_Function_Definition\\S13_A7_T3.js","negative":"."};
|
||||
GlobalScopeTests["S13.0_A7_T3"]={"assertion":"The FunctionBody must be SourceElements","description":"Checking if execution of \"function __func(){\\A\\B\\C}\" fails","id":"S13.0_A7_T3","path":"13_Function_Definition\\13.0_Chapter\\S13.0_A7_T3.js","negative":"."};
|
||||
GlobalScopeTests["S15.10.2.11_A1_T2"]={"assertion":"DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]","description":"It is an error if n is greater than the total number of left capturing parentheses in the entire regular expression","id":"S15.10.2.11_A1_T2","path":"15_Native\\15.10_RegExp_Objects\\15.10.2_Pattern_Semantics\\15.10.2.11_DecimalEscape\\S15.10.2.11_A1_T2.js","negative":"."};
|
||||
GlobalScopeTests["S15.10.2.11_A1_T3"]={"assertion":"DecimalEscape :: DecimalIntegerLiteral [lookahead not in DecimalDigit]","description":"It is an error if n is greater than the total number of left capturing parentheses in the entire regular expression","id":"S15.10.2.11_A1_T3","path":"15_Native\\15.10_RegExp_Objects\\15.10.2_Pattern_Semantics\\15.10.2.11_DecimalEscape\\S15.10.2.11_A1_T3.js","negative":"."};
|
||||
GlobalScopeTests["S15.1_A1_T1"]={"assertion":"The global object does not have a [[Construct]] property","description":"It is not possible to use the global object as a constructor","id":"S15.1_A1_T1","path":"15_Native\\15.1_The_Global_Object\\S15.1_A1_T1.js","negative":"."};
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"date":"2011-04-20","numTests":10872,"testSuite":["resources/scripts/testcases/07_Lexical_Conventions.json","resources/scripts/testcases/08_Types.json","resources/scripts/testcases/09_Type_Conversion.json","resources/scripts/testcases/10_Execution_Contexts.json","resources/scripts/testcases/11.10_Binary_Bitwise_Operators.json","resources/scripts/testcases/11.11_Binary_Logical_Operators.json","resources/scripts/testcases/11.12_Conditional_Operator.json","resources/scripts/testcases/11.13_Assignment_Operators.json","resources/scripts/testcases/11.14_Comma_Operator.json","resources/scripts/testcases/11.1_Primary_Expressions.json","resources/scripts/testcases/11.2_Left_Hand_Side_Expressions.json","resources/scripts/testcases/11.3_PostfixExpressions.json","resources/scripts/testcases/11.4_Unary_Operators.json","resources/scripts/testcases/11.5_Multiplicative_Operators.json","resources/scripts/testcases/11.6_Additive_Operators.json","resources/scripts/testcases/11.7_Bitwise_Shift_Operators.json","resources/scripts/testcases/11.8_Relational_Operators.json","resources/scripts/testcases/11.9_Equality_Operators.json","resources/scripts/testcases/12_Statement.json","resources/scripts/testcases/13_Function_Definition.json","resources/scripts/testcases/14_Program.json","resources/scripts/testcases/15.10_RegExp_Objects.json","resources/scripts/testcases/15.11_Error_Objects.json","resources/scripts/testcases/15.1_The_Global_Object.json","resources/scripts/testcases/15.2_Object_Objects.json","resources/scripts/testcases/15.3_Function_Objects.json","resources/scripts/testcases/15.4_Array_Objects.json","resources/scripts/testcases/15.5_String_Objects.json","resources/scripts/testcases/15.6_Boolean_Objects.json","resources/scripts/testcases/15.7_Number_Objects.json","resources/scripts/testcases/15.8_The_Math_Object.json","resources/scripts/testcases/15.9_Date_Objects.json","resources/scripts/testcases/chapter07.json","resources/scripts/testcases/chapter08.json","resources/scripts/testcases/chapter10.json","resources/scripts/testcases/chapter11.json","resources/scripts/testcases/chapter12.json","resources/scripts/testcases/chapter13.json","resources/scripts/testcases/chapter14.json","resources/scripts/testcases/15.1.json","resources/scripts/testcases/15.10.json","resources/scripts/testcases/15.11.json","resources/scripts/testcases/15.12.json","resources/scripts/testcases/15.2.3.1.json","resources/scripts/testcases/15.2.3.10.json","resources/scripts/testcases/15.2.3.11.json","resources/scripts/testcases/15.2.3.12.json","resources/scripts/testcases/15.2.3.13.json","resources/scripts/testcases/15.2.3.14.json","resources/scripts/testcases/15.2.3.2.json","resources/scripts/testcases/15.2.3.3.json","resources/scripts/testcases/15.2.3.4.json","resources/scripts/testcases/15.2.3.5.json","resources/scripts/testcases/15.2.3.6.json","resources/scripts/testcases/15.2.3.7.json","resources/scripts/testcases/15.2.3.8.json","resources/scripts/testcases/15.2.3.9.json","resources/scripts/testcases/15.2.4.json","resources/scripts/testcases/15.3.json","resources/scripts/testcases/15.4.3.json","resources/scripts/testcases/15.4.4.10.json","resources/scripts/testcases/15.4.4.12.json","resources/scripts/testcases/15.4.4.14.json","resources/scripts/testcases/15.4.4.15.json","resources/scripts/testcases/15.4.4.16.json","resources/scripts/testcases/15.4.4.17.json","resources/scripts/testcases/15.4.4.18.json","resources/scripts/testcases/15.4.4.19.json","resources/scripts/testcases/15.4.4.20.json","resources/scripts/testcases/15.4.4.21.json","resources/scripts/testcases/15.4.4.22.json","resources/scripts/testcases/15.4.4.4.json","resources/scripts/testcases/15.4.5.json","resources/scripts/testcases/15.5.json","resources/scripts/testcases/15.7.json","resources/scripts/testcases/15.9.json"],"version":"0.7.1"}
|
||||
{"date":"2011-04-20","numTests":10872,"testSuite":["resources/scripts/testcases/07_Lexical_Conventions.json","resources/scripts/testcases/08_Types.json","resources/scripts/testcases/09_Type_Conversion.json","resources/scripts/testcases/10_Execution_Contexts.json","resources/scripts/testcases/11.10_Binary_Bitwise_Operators.json","resources/scripts/testcases/11.11_Binary_Logical_Operators.json","resources/scripts/testcases/11.12_Conditional_Operator.json","resources/scripts/testcases/11.13_Assignment_Operators.json","resources/scripts/testcases/11.14_Comma_Operator.json","resources/scripts/testcases/11.1_Primary_Expressions.json","resources/scripts/testcases/11.2_Left_Hand_Side_Expressions.json","resources/scripts/testcases/11.3_PostfixExpressions.json","resources/scripts/testcases/11.4_Unary_Operators.json","resources/scripts/testcases/11.5_Multiplicative_Operators.json","resources/scripts/testcases/11.6_Additive_Operators.json","resources/scripts/testcases/11.7_Bitwise_Shift_Operators.json","resources/scripts/testcases/11.8_Relational_Operators.json","resources/scripts/testcases/11.9_Equality_Operators.json","resources/scripts/testcases/12_Statement.json","resources/scripts/testcases/13_Function_Definition.json","resources/scripts/testcases/14_Program.json","resources/scripts/testcases/15.10_RegExp_Objects.json","resources/scripts/testcases/15.11_Error_Objects.json","resources/scripts/testcases/15.1_The_Global_Object.json","resources/scripts/testcases/15.2_Object_Objects.json","resources/scripts/testcases/15.3_Function_Objects.json","resources/scripts/testcases/15.4_Array_Objects.json","resources/scripts/testcases/15.5_String_Objects.json","resources/scripts/testcases/15.6_Boolean_Objects.json","resources/scripts/testcases/15.7_Number_Objects.json","resources/scripts/testcases/15.8_The_Math_Object.json","resources/scripts/testcases/15.9_Date_Objects.json","resources/scripts/testcases/chapter07.json","resources/scripts/testcases/chapter08.json","resources/scripts/testcases/chapter10.json","resources/scripts/testcases/chapter11.json","resources/scripts/testcases/chapter12.json","resources/scripts/testcases/chapter13.json","resources/scripts/testcases/chapter14.json","resources/scripts/testcases/15.1.json","resources/scripts/testcases/15.10.json","resources/scripts/testcases/15.11.json","resources/scripts/testcases/15.12.json","resources/scripts/testcases/15.2.3.1.json","resources/scripts/testcases/15.2.3.10.json","resources/scripts/testcases/15.2.3.11.json","resources/scripts/testcases/15.2.3.12.json","resources/scripts/testcases/15.2.3.13.json","resources/scripts/testcases/15.2.3.14.json","resources/scripts/testcases/15.2.3.2.json","resources/scripts/testcases/15.2.3.3.json","resources/scripts/testcases/15.2.3.4.json","resources/scripts/testcases/15.2.3.5.json","resources/scripts/testcases/15.2.3.6.json","resources/scripts/testcases/15.2.3.7.json","resources/scripts/testcases/15.2.3.8.json","resources/scripts/testcases/15.2.3.9.json","resources/scripts/testcases/15.2.4.json","resources/scripts/testcases/15.3.json","resources/scripts/testcases/15.4.3.json","resources/scripts/testcases/15.4.4.10.json","resources/scripts/testcases/15.4.4.12.json","resources/scripts/testcases/15.4.4.14.json","resources/scripts/testcases/15.4.4.15.json","resources/scripts/testcases/15.4.4.16.json","resources/scripts/testcases/15.4.4.17.json","resources/scripts/testcases/15.4.4.18.json","resources/scripts/testcases/15.4.4.19.json","resources/scripts/testcases/15.4.4.20.json","resources/scripts/testcases/15.4.4.21.json","resources/scripts/testcases/15.4.4.22.json","resources/scripts/testcases/15.4.4.4.json","resources/scripts/testcases/15.4.5.json","resources/scripts/testcases/15.5.json","resources/scripts/testcases/15.7.json","resources/scripts/testcases/15.9.json"],"version":"0.7.2"}
|
Loading…
Reference in New Issue