webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Public Attributes | List of all members
com.netscape.javascript.qa.drivers.TestCase Class Reference

Public Member Functions

 TestCase (String passed, String name, String description, String expect, String actual, String reason)
 

Public Attributes

String passed
 
String name
 
String description
 
String expect
 
String actual
 
String reason
 

Detailed Description

Equivalent to the JavaScript TestCase object as described in TestDriver.java. For each test case in a TestFile, a TestCase object is created and added to the TestFile's caseVector.

See also
com.netscape.javascript.qa.drivers.TestDriver
com.netscape.javascript.qa.drivers.TestEnvironment
Author
chris.nosp@m.tine.nosp@m.@nets.nosp@m.cape.nosp@m..com

Constructor & Destructor Documentation

◆ TestCase()

com.netscape.javascript.qa.drivers.TestCase.TestCase ( String  passed,
String  name,
String  description,
String  expect,
String  actual,
String  reason 
)
inline

Create a shouldBeWithErrorCheck object.

Parameters
passed"true" if the test case passed, otherwise "false"
namelabel associated with the test case
descriptionstring showing what got tested, usually JavaScript code
expectstring representation of the expected result
actualstring representation of the actual result
reasonreason for test failure
See also
com.netscape.javascript.qa.drivers.TestDriver
com.netscape.javascript.qa.drivers.TestEnvironment

Member Data Documentation

◆ actual

String com.netscape.javascript.qa.drivers.TestCase.actual

◆ description

String com.netscape.javascript.qa.drivers.TestCase.description

◆ expect

String com.netscape.javascript.qa.drivers.TestCase.expect

◆ name

String com.netscape.javascript.qa.drivers.TestCase.name

◆ passed

String com.netscape.javascript.qa.drivers.TestCase.passed

◆ reason

String com.netscape.javascript.qa.drivers.TestCase.reason

The documentation for this class was generated from the following file: