org.jmodelica.modelica.compiler.ErrorTestCase Class Reference

class :0 More...

Inheritance diagram for org.jmodelica.modelica.compiler.ErrorTestCase:

org.jmodelica.modelica.compiler.TestCase org.jmodelica.modelica.compiler.ComplianceErrorTestCase org.jmodelica.modelica.compiler.WarningTestCase

List of all members.

Public Member Functions

 ErrorTestCase ()
 ErrorTestCase (String errorMessage)
String filterErrorMessages (String str)
String getErrorMessage ()
void setErrorMessage (String errorMessage)

Protected Member Functions

boolean testProblems (Collection< Problem > problems)
 Perform tests on a set of semantic problems.
boolean testTransformedProblems (Collection< Problem > problems)
 Perform tests on the set of semantic problems found after transform canonical step.

Package Attributes

String errorMessage = ""


Detailed Description

class :0

Constructor & Destructor Documentation

org.jmodelica.modelica.compiler.ErrorTestCase.ErrorTestCase (  ) 

org.jmodelica.modelica.compiler.ErrorTestCase.ErrorTestCase ( String  errorMessage  ) 


Member Function Documentation

String org.jmodelica.modelica.compiler.ErrorTestCase.filterErrorMessages ( String  str  ) 

String org.jmodelica.modelica.compiler.ErrorTestCase.getErrorMessage (  ) 

void org.jmodelica.modelica.compiler.ErrorTestCase.setErrorMessage ( String  errorMessage  ) 

boolean org.jmodelica.modelica.compiler.ErrorTestCase.testProblems ( Collection< Problem problems  )  [protected]

Perform tests on a set of semantic problems.

Default implementation fails if any errors other than COMPLIANCE were found, and returns false otherwise.

Returns:
true if test case shoule stop after this method

Reimplemented from org.jmodelica.modelica.compiler.TestCase.

boolean org.jmodelica.modelica.compiler.ErrorTestCase.testTransformedProblems ( Collection< Problem problems  )  [protected]

Perform tests on the set of semantic problems found after transform canonical step.

Default implementation fails if any errors other than COMPLIANCE were found, and returns false otherwise.

Returns:
true if test case shoule stop after this method

Reimplemented from org.jmodelica.modelica.compiler.TestCase.


Member Data Documentation


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

Generated on Fri Oct 7 14:49:42 2011 for JModelica.org by  doxygen 1.5.8