Package ptolemy.actor.lib.hoc.test
Class IterateOverArrayCloneTest
- java.lang.Object
-
- ptolemy.actor.lib.hoc.test.IterateOverArrayCloneTest
-
public class IterateOverArrayCloneTest extends java.lang.Object
Test for clone(Workspace) of IterateOverArray. To run: java -classpath $PTII ptolemy.actor.lib.hoc.test.IterateOverArrayCloneTest
-
-
Constructor Summary
Constructors Constructor Description IterateOverArrayCloneTest()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
Check the clone(Workspace) method of the IterateOverArray class.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.lang.Throwable
Check the clone(Workspace) method of the IterateOverArray class. Instantiate an IterateOverArray actor and get the Workspace of the inner IterateDirector. Then clone the actor into a new Workspace and get the Workspace of the inner IterateDirector of the *clone*. The Workspaces should be different.To run:
java -classpath $PTII ptolemy.actor.lib.hoc.test.IterateOverArrayCloneTest
- Parameters:
args
- Ignored- Throws:
java.lang.Throwable
- If there is a problem with the test.
-
-