Class 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)
    • Constructor Detail

      • TestLibraryBuilder

        public TestLibraryBuilder()
    • 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 class LibraryBuilder
        Parameters:
        workspace - The workspace.
        Returns:
        ComponentEntity
        Throws:
        java.lang.Exception