Package ptolemy.moml.test
Class TestLibraryBuilder
- java.lang.Object
-
- ptolemy.moml.LibraryBuilder
-
- ptolemy.moml.test.TestLibraryBuilder
-
public class TestLibraryBuilder extends LibraryBuilder
Test class for ptolemy.moml.LibraryBuilder. The LibraryBuilder class has an abstract method, so we use this class to define that method.- Since:
- Ptolemy II 6.1
- Version:
- $Id$
- Author:
- Christopher Brooks
- Pt.AcceptedRating:
- Red (cxh)
- Pt.ProposedRating:
- Red (cxh)
-
-
Field Summary
-
Fields inherited from class ptolemy.moml.LibraryBuilder
_attributes
-
-
Constructor Summary
Constructors Constructor Description TestLibraryBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompositeEntity
buildLibrary(Workspace workspace)
Build the library.-
Methods inherited from class ptolemy.moml.LibraryBuilder
addAttributes, getAttributes
-
-
-
-
Method Detail
-
buildLibrary
public CompositeEntity buildLibrary(Workspace workspace) throws java.lang.Exception
Build the library. This test class merely creates a CompositeEntity in the workspace.- Specified by:
buildLibrary
in classLibraryBuilder
- Parameters:
workspace
- The workspace.- Returns:
- ComponentEntity
- Throws:
java.lang.Exception
-
-