Fixed test case paths.

This commit is contained in:
David Fugate 2012-02-03 15:21:45 -08:00
parent 2f093b7988
commit fa9e9d3203
48 changed files with 48 additions and 48 deletions

View File

@ -4,7 +4,7 @@
/**
* Check Do-While Statement for automatic semicolon insertion
*
* @path ch07/7.9/S7.9_A9_T3.js
* @path bestPractice/Sbp_7.9_A9_T3.js
* @description Execute do { \n ; \n }while(false) true
*/

View File

@ -4,7 +4,7 @@
/**
* Check Do-While Statement for automatic semicolon insertion
*
* @path ch07/7.9/S7.9_A9_T4.js
* @path bestPractice/Sbp_7.9_A9_T4.js
* @description Execute do ; while \n (false) true
*/

View File

@ -4,7 +4,7 @@
/**
* "x=function y(){}" statement does not store a reference to the new function in the varaible y(Identifier)
*
* @path ch13/S13_A1.js
* @path ch13/13.0/S13_A1.js
* @description Checking the type of y
*/

View File

@ -4,7 +4,7 @@
/**
* Function is a data
*
* @path ch13/S13_A10.js
* @path ch13/13.0/S13_A10.js
* @description Using function as a property of an object
*/

View File

@ -4,7 +4,7 @@
/**
* Since arguments property has attribute { DontDelete }, only its elements can be deleted
*
* @path ch13/S13_A11_T1.js
* @path ch13/13.0/S13_A11_T1.js
* @description Returning result of "delete arguments"
*/

View File

@ -4,7 +4,7 @@
/**
* Since arguments property has attribute { DontDelete }, only its elements can be deleted
*
* @path ch13/S13_A11_T2.js
* @path ch13/13.0/S13_A11_T2.js
* @description Checking if deleting the arguments property fails and then returning it
*/

View File

@ -4,7 +4,7 @@
/**
* Since arguments property has attribute { DontDelete }, only its elements can be deleted
*
* @path ch13/S13_A11_T3.js
* @path ch13/13.0/S13_A11_T3.js
* @description Deleting arguments[i] and returning result of the operation
*/

View File

@ -4,7 +4,7 @@
/**
* Since arguments property has attribute { DontDelete }, only its elements can be deleted
*
* @path ch13/S13_A11_T4.js
* @path ch13/13.0/S13_A11_T4.js
* @description Deleting arguments[i] and checking the type of arguments[i]
*/

View File

@ -4,7 +4,7 @@
/**
* Function declarations in global or function scope are {DontDelete}
*
* @path ch13/S13_A12_T1.js
* @path ch13/13.0/S13_A12_T1.js
* @description Checking if deleting a function that is declared in global scope fails
*/

View File

@ -4,7 +4,7 @@
/**
* Function declarations in global or function scope are {DontDelete}
*
* @path ch13/S13_A12_T2.js
* @path ch13/13.0/S13_A12_T2.js
* @description Checking if deleting a function that is declared in function scope fails
*/

View File

@ -4,7 +4,7 @@
/**
* Deleting arguments[i] leads to breaking the connection to local reference
*
* @path ch13/S13_A13_T1.js
* @path ch13/13.0/S13_A13_T1.js
* @description Deleting arguments[i]
*/

View File

@ -4,7 +4,7 @@
/**
* Deleting arguments[i] leads to breaking the connection to local reference
*
* @path ch13/S13_A13_T2.js
* @path ch13/13.0/S13_A13_T2.js
* @description Changing arguments value and then deleting the argument
*/

View File

@ -4,7 +4,7 @@
/**
* Deleting arguments[i] leads to breaking the connection to local reference
*
* @path ch13/S13_A13_T3.js
* @path ch13/13.0/S13_A13_T3.js
* @description Changing argument value, deleting the argument and then defining a new value for arguments[i]
*/

View File

@ -4,7 +4,7 @@
/**
* Unicode symbols in function name are allowed
*
* @path ch13/S13_A14.js
* @path ch13/13.0/S13_A14.js
* @description Defining function name with unicode symbols
*/

View File

@ -4,7 +4,7 @@
/**
* ''arguments'' variable overrides ActivationObject.arguments
*
* @path ch13/S13_A15_T1.js
* @path ch13/13.0/S13_A15_T1.js
* @description Declaring a function with "__func(arguments)"
*/

View File

@ -4,7 +4,7 @@
/**
* ''arguments'' variable overrides ActivationObject.arguments
*
* @path ch13/S13_A15_T2.js
* @path ch13/13.0/S13_A15_T2.js
* @description Overriding arguments within functions body
*/

View File

@ -4,7 +4,7 @@
/**
* ''arguments'' variable overrides ActivationObject.arguments
*
* @path ch13/S13_A15_T3.js
* @path ch13/13.0/S13_A15_T3.js
* @description Declaring a variable named with "arguments" without a function
*/

View File

@ -4,7 +4,7 @@
/**
* ''arguments'' variable overrides ActivationObject.arguments
*
* @path ch13/S13_A15_T4.js
* @path ch13/13.0/S13_A15_T4.js
* @description Declaring a variable named with "arguments" and following a "return" statement within a function body
*/

View File

@ -4,7 +4,7 @@
/**
* ''arguments'' variable overrides ActivationObject.arguments
*
* @path ch13/S13_A15_T5.js
* @path ch13/13.0/S13_A15_T5.js
* @description Creating a variable named with "arguments" without a function
*/

View File

@ -4,7 +4,7 @@
/**
* Any separators are admitted between declaration chunks
*
* @path ch13/S13_A16.js
* @path ch13/13.0/S13_A16.js
* @description Inserting separators between declaration chunks
*/

View File

@ -4,7 +4,7 @@
/**
* Function call cannot appear in the program before the FunctionExpression appears
*
* @path ch13/S13_A17_T1.js
* @path ch13/13.0/S13_A17_T1.js
* @description Trying to call a function before the FunctionExpression appears
*/

View File

@ -4,7 +4,7 @@
/**
* Function call cannot appear in the program before the FunctionExpression appears
*
* @path ch13/S13_A17_T2.js
* @path ch13/13.0/S13_A17_T2.js
* @description Trying to call a function before the FunctionExpression appears and then using the FunctionExpression one more time
*/

View File

@ -4,7 +4,7 @@
/**
* Closures are admitted
*
* @path ch13/S13_A18.js
* @path ch13/13.0/S13_A18.js
* @description Using a function declaration as a function parameter
*/

View File

@ -4,7 +4,7 @@
/**
* "var" does not override function declaration
*
* @path ch13/S13_A19_T1.js
* @path ch13/13.0/S13_A19_T1.js
* @description Creating a function and a variable with identical Identifiers in global scope
*/

View File

@ -4,7 +4,7 @@
/**
* "var" does not override function declaration
*
* @path ch13/S13_A19_T2.js
* @path ch13/13.0/S13_A19_T2.js
* @description Creating a function and a variable with identical Identifiers within function scope
*/

View File

@ -4,7 +4,7 @@
/**
* function must be evaluated inside the expression
*
* @path ch13/S13_A2_T1.js
* @path ch13/13.0/S13_A2_T1.js
* @description Defining function body with "return arg"
*/

View File

@ -4,7 +4,7 @@
/**
* function must be evaluated inside the expression
*
* @path ch13/S13_A2_T2.js
* @path ch13/13.0/S13_A2_T2.js
* @description Defining function body with "return arg + arguments[1]"
*/

View File

@ -4,7 +4,7 @@
/**
* function must be evaluated inside the expression
*
* @path ch13/S13_A2_T3.js
* @path ch13/13.0/S13_A2_T3.js
* @description Defining function body with "return arguments[0] +"-"+ arguments[1]"
*/

View File

@ -4,7 +4,7 @@
/**
* The Identifier in a FunctionExpression can be referenced from inside the FunctionExpression's FunctionBody to allow the function calling itself recursively
*
* @path ch13/S13_A3_T1.js
* @path ch13/13.0/S13_A3_T1.js
* @description Creating a recursive function that calculates factorial, as a variable.
* Function call itself by it`s name
*/

View File

@ -4,7 +4,7 @@
/**
* The Identifier in a FunctionExpression can be referenced from inside the FunctionExpression's FunctionBody to allow the function calling itself recursively
*
* @path ch13/S13_A3_T2.js
* @path ch13/13.0/S13_A3_T2.js
* @description Creating a recursive function that calculates factorial, as a variable.
* Function calls itself by the name of the variable
*/

View File

@ -4,7 +4,7 @@
/**
* The Identifier in a FunctionExpression can be referenced from inside the FunctionExpression's FunctionBody to allow the function calling itself recursively
*
* @path ch13/S13_A3_T3.js
* @path ch13/13.0/S13_A3_T3.js
* @description Creating simple recursive function that calculates factorial
*/

View File

@ -4,7 +4,7 @@
/**
* The production FunctionDeclaration: "function Identifier ( FormalParameterList_opt ) { FunctionBody }" is processed by function declarations
*
* @path ch13/S13_A4_T1.js
* @path ch13/13.0/S13_A4_T1.js
* @description Declaring a function that returns string
*/

View File

@ -4,7 +4,7 @@
/**
* The production FunctionDeclaration: "function Identifier ( FormalParameterList_opt ) { FunctionBody }" is processed by function declarations
*
* @path ch13/S13_A4_T2.js
* @path ch13/13.0/S13_A4_T2.js
* @description Declaring a function that uses prefix increment operator within its "return" Expression
*/

View File

@ -4,7 +4,7 @@
/**
* The production FunctionDeclaration: "function Identifier ( FormalParameterList_opt ) { FunctionBody }" is processed by function declarations
*
* @path ch13/S13_A4_T3.js
* @path ch13/13.0/S13_A4_T3.js
* @description Declaring a function that uses arithmetical operators within its "return" Expression
*/

View File

@ -4,7 +4,7 @@
/**
* The production FunctionDeclaration: "function Identifier ( FormalParameterList_opt ) { FunctionBody }" is processed by function declarations
*
* @path ch13/S13_A4_T4.js
* @path ch13/13.0/S13_A4_T4.js
* @description Declaring a function that uses strings concatenaion opeator within its "return" Expression
*/

View File

@ -4,7 +4,7 @@
/**
* FunctionDeclaration can be overrided by other FunctionDeclaration with the same Identifier
*
* @path ch13/S13_A6_T1.js
* @path ch13/13.0/S13_A6_T1.js
* @description Duplicating function declaration
*/

View File

@ -4,7 +4,7 @@
/**
* FunctionDeclaration can be overrided by other FunctionDeclaration with the same Identifier
*
* @path ch13/S13_A6_T2.js
* @path ch13/13.0/S13_A6_T2.js
* @description Calling a function before it is declared one more time
*/

View File

@ -4,7 +4,7 @@
/**
* The FunctionBody must be SourceElements
*
* @path ch13/S13_A7_T1.js
* @path ch13/13.0/S13_A7_T1.js
* @description Using only SourceElements within the FunctionBody
*/

View File

@ -4,7 +4,7 @@
/**
* The FunctionBody must be SourceElements
*
* @path ch13/S13_A7_T2.js
* @path ch13/13.0/S13_A7_T2.js
* @description Inserting elements that is different from SourceElements into the FunctionBody
*/

View File

@ -4,7 +4,7 @@
/**
* The FunctionBody must be SourceElements
*
* @path ch13/S13_A7_T3.js
* @path ch13/13.0/S13_A7_T3.js
* @description Checking if execution of "function __func(){\A\B\C}" fails
* @negative
*/

View File

@ -4,7 +4,7 @@
/**
* Arguments property of activation object contains real params to be passed
*
* @path ch13/S13_A8_T1.js
* @path ch13/13.0/S13_A8_T1.js
* @description Creating a function declared with "function __func(param1, param2, param3)" and using arguments.length property in order to perform the test
*/

View File

@ -4,7 +4,7 @@
/**
* Arguments property of activation object contains real params to be passed
*
* @path ch13/S13_A8_T2.js
* @path ch13/13.0/S13_A8_T2.js
* @description Creating a function with no parameters and using arguments.length property in order to perform the test
*/

View File

@ -4,7 +4,7 @@
/**
* Function can be passed as argument
*
* @path ch13/S13_A9.js
* @path ch13/13.0/S13_A9.js
* @description Using function as argument of another function
*/

View File

@ -4,7 +4,7 @@
/**
* FunctionExpression must be localed in a reacheable fragment of the program
*
* @path ch14/S14_A1.js
* @path ch14/14.0/S14_A1.js
* @description Declaring a function within an "if" Expression
*/

View File

@ -4,7 +4,7 @@
/**
* FunctionDeclaration cannot be localed inside an Expression
*
* @path ch14/S14_A2.js
* @path ch14/14.0/S14_A2.js
* @description Declaring a function within an "if" Expression
*/

View File

@ -4,7 +4,7 @@
/**
* Global FunctionDeclaration cannot be defined within the body of another FunctionDeclaration
*
* @path ch14/S14_A3.js
* @path ch14/14.0/S14_A3.js
* @description Declaring a function within the body of another function
*/

View File

@ -4,7 +4,7 @@
/**
* The Identifer within a FunctionDeclaration can be written in both letters and unicode
*
* @path ch14/S14_A5_T1.js
* @path ch14/14.0/S14_A5_T1.js
* @description Declaring a function with "function __\u0066\u0075\u006e\u0063(){return "both"}"
*/

View File

@ -4,7 +4,7 @@
/**
* The Identifer within a FunctionDeclaration can be written in both letters and unicode
*
* @path ch14/S14_A5_T2.js
* @path ch14/14.0/S14_A5_T2.js
* @description Declaring a function with "function \u005f\u005f\u0066\u0075\u006e\u0063(){return "unicode"}"
*/