function TestScript(name, file)
{
    /**
     * has the script been initialized with test cases?
     * @return whether the script been initialized with test cases?
     * @type boolean
     */
    this.haveTestCases = function() {
	return this.fHaveTestCases;
    }

    /**
     * called to initialize the test cases in the script
     */
    this.initTestCases = function(testCases) {
	this.fTestCases   = testCases;
	this.fTestCaseIdx = 0;
	this.fHaveTestCases = true;
    }


    /**
     * get the next test-case to be run (if any)
     * @return the next test-case to be run (if any)
     * @type TestCase
     */
    this.nextTestCase = function() {
	if( this.fTestCases == null || this.fTestCaseIdx >= this.fTestCases)
	    return null;
	return this.fTestCases[this.fTestCaseIdx++];
    }

    /**
     * name of the test case
     */
    this.fName     = name;

    /**
     * url of the test script
     */
    this.fFile     = file;

    /**
     * test cases in the test script
     */
    this.fTestCases = null;

    /**
     * have we been initialized with test cases?
     */
    this.fHaveTestCases = false;
}
/**
 * @class
 * represents a test script, which has a name and a "url" associated with it
 * <p>
 * Initially the test script has no test cases associated with. Once the test
 * script is run by the engine, the script will provide the engine with
 * test cases it contains (see {@link TestEngineInterface#initTestCases}). The
 * engine will call {@link TestScript#initTestCases} to initialize the test
 * cases
 *
 * @constructor
 * @param {String} name		name  of the test script
 * @param {String} file		the url of the test script
 */
@class
represents a test script, which has a name and a "url" associated with it

Initially the test script has no test cases associated with. Once the test
script is run by the engine, the script will provide the engine with
test cases it contains . The
engine will call  TestScript#initTestCases to initialize the test
cases

@constructor
@param {String} name         name  of the test script
@param {String} file         the url of the test script
@class represents a test script which has a name and a " url " associated with it Initially the test script has no test cases associated with . Once the test script is run by the engine the script will provide the engine with test cases it contains . The engine will call TestScript#initTestCases to initialize the test cases @constructor @param { String } name name of the test script @param { String } file the url of the test script
function TestScript(name, file)
{
    this.haveTestCases = function() {
	return this.fHaveTestCases;
    }
    this.initTestCases = function(testCases) {
	this.fTestCases   = testCases;
	this.fTestCaseIdx = 0;
	this.fHaveTestCases = true;
    }
    this.nextTestCase = function() {
	if( this.fTestCases == null || this.fTestCaseIdx >= this.fTestCases)
	    return null;
	return this.fTestCases[this.fTestCaseIdx++];
    }
    this.fName     = name;
    this.fFile     = file;
    this.fTestCases = null;
    this.fHaveTestCases = false;
}
function TestScript ( name , file ) { this . haveTestCases = function ( ) { return this . fHaveTestCases ; } this . initTestCases = function ( testCases ) { this . fTestCases = testCases ; this . fTestCaseIdx = 0 ; this . fHaveTestCases = true ; } this . nextTestCase = function ( ) { if ( this . fTestCases == null || this . fTestCaseIdx >= this . fTestCases ) return null ; return this . fTestCases [ this . fTestCaseIdx ++ ] ; } this . fName = name ; this . fFile = file ; this . fTestCases = null ; this . fHaveTestCases = false ; }
@class
 represents a test script, which has a name and a "url" associated with it
 <p>
 Initially the test script has no test cases associated with.
@class represents a test script which has a name and a " url " associated with it <p > Initially the test script has no test cases associated with .
/**
     * has the script been initialized with test cases?
     * @return whether the script been initialized with test cases?
     * @type boolean
     */ /**
     * called to initialize the test cases in the script
     */ /**
     * get the next test-case to be run (if any)
     * @return the next test-case to be run (if any)
     * @type TestCase
     */ /**
     * name of the test case
     */ /**
     * url of the test script
     */ /**
     * test cases in the test script
     */ /**
     * have we been initialized with test cases?
     */