Package ptolemy.kernel.util.test
Class TestWorkspaceBase
- java.lang.Object
-
- ptolemy.kernel.util.test.TestWorkspaceBase
-
- Direct Known Subclasses:
TestWorkspace3
,TestWorkspace4
,TestWorkspace5
,TestWorkspace6
public abstract class TestWorkspaceBase extends java.lang.Object
A base class for creating tests on the workspace synchronization features. A derived test creates a list of threads that access the workspace in various ways.- Since:
- Ptolemy II 3.0
- Version:
- $Id$
- Author:
- Xiaojun Liu
- Pt.AcceptedRating:
- Red (cxh)
- Pt.ProposedRating:
- Green (eal)
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List
_accessThreads
protected java.util.List
_record
protected long
_testTime
-
Constructor Summary
Constructors Constructor Description TestWorkspaceBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
initializeTest()
Create threads that access a workspace in various ways.java.lang.String
profile()
void
runTest()
Initialize and run the test.
-