Package ptolemy.kernel.test.junit
Class ExampleSystemJUnitTest
- java.lang.Object
-
- ptolemy.kernel.test.junit.ExampleSystemJUnitTest
-
public class ExampleSystemJUnitTest extends java.lang.ObjectRun the ExampleSystem as a JUnit Test.- Since:
- Ptolemy II 10.0
- Version:
- $Id$
- Author:
- Christopher Brooks
- Pt.AcceptedRating:
- Green (cxh)
- Pt.ProposedRating:
- Green (cxh)
-
-
Constructor Summary
Constructors Constructor Description ExampleSystemJUnitTest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Run the test that creates the example system.voidrun()Create the example system and compare the value returned by the toString() method to the known good results.
-
-
-
Method Detail
-
run
public void run() throws IllegalActionException, NameDuplicationExceptionCreate the example system and compare the value returned by the toString() method to the known good results.- Throws:
IllegalActionException- If thrown while constructing the example system.NameDuplicationException- If there is already an example system in the default workspace.
-
main
public static void main(java.lang.String[] args)
Run the test that creates the example system.- Parameters:
args- Not used.
-
-