public class JSEvaluatorTest extends Object
| Constructor and Description |
|---|
JSEvaluatorTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Standalone test runtime.
|
void |
setUp()
Creates and initialises an SCXML data model in the context.
|
void |
testBasic()
Ensures implementation of JSEvaluator default constructor and test basic
expression evaluation.
|
void |
testDataModelExpressions()
Tests evaluation with SCXML data model expressions.
|
void |
testDataModelLocations()
Tests evaluation of SCXML data model locations.
|
void |
testIllegalExpresssion()
Tests handling of illegal expressions.
|
void |
testInvalidDataModelExpressions()
Tests evaluation with invalid SCXML data model expressions.
|
void |
testInvalidDataModelLocations()
Tests evaluation of invalid SCXML data model locations.
|
void |
testInvalidVarExpressions()
Tests evaluation with invalid SCXML context variables.
|
void |
testScript() |
void |
testScriptFunctions()
Tests evaluation of Javascript functions with variables from SCXML context.
|
void |
testStandardExpressions()
Tests evaluation with simple standard expressions.
|
void |
testVarExpressions()
Tests evaluation with SCXML context variables.
|
public JSEvaluatorTest()
public void setUp() throws Exception
Exceptionpublic void testBasic() throws SCXMLExpressionException
SCXMLExpressionExceptionpublic void testScript() throws SCXMLExpressionException
SCXMLExpressionExceptionpublic void testIllegalExpresssion()
public void testStandardExpressions() throws Exception
Exceptionpublic void testVarExpressions() throws Exception
Exceptionpublic void testInvalidVarExpressions()
public void testDataModelExpressions() throws Exception
Exceptionpublic void testInvalidDataModelExpressions()
public void testDataModelLocations() throws Exception
Exceptionpublic void testInvalidDataModelLocations() throws Exception
Exceptionpublic void testScriptFunctions() throws Exception
ExceptionCopyright © 2005–2015 The Apache Software Foundation. All rights reserved.