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
Exception
public void testBasic() throws SCXMLExpressionException
SCXMLExpressionException
public void testScript() throws SCXMLExpressionException
SCXMLExpressionException
public void testIllegalExpresssion()
public void testStandardExpressions() throws Exception
Exception
public void testVarExpressions() throws Exception
Exception
public void testInvalidVarExpressions()
public void testDataModelExpressions() throws Exception
Exception
public void testInvalidDataModelExpressions()
public void testDataModelLocations() throws Exception
Exception
public void testInvalidDataModelLocations() throws Exception
Exception
public void testScriptFunctions() throws Exception
Exception
Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.