Class ExportModelJUnitTestBatch4


  • public class ExportModelJUnitTestBatch4
    extends ExportModelJUnitTestBatch
    JUnit test that exports the demos between two indices.

    To run these tests, use:

     cd $PTII
     ./configure
     ant test.single -Dtest.name=ptolemy.vergil.basic.export.test.junit.ExportModelJUnitTestBatch4 -Djunit.formatter=plain
     
    or
     cd $PTII/ptolemy/vergil/basic/export/test/junit/;
     export CLASSPATH=${PTII}:${PTII}/lib/junit-4.8.2.jar:${PTII}/lib/JUnitParams-0.3.0.jar${PTII}:${PTII}/lib/junit-4.8.2.jar:${PTII}/lib/JUnitParams-0.3.0.jar;
     export JAVAFLAGS="-Dptolemy.ptII.exportHTML.linkToJNLP=true -Dptolemy.ptII.exportHTML.usePtWebsite=true"
     $PTII/bin/ptinvoke org.junit.runner.JUnitCore ptolemy.vergil.basic.export.test.junit.ExportModelJUnitTestBatch4
     

    This test uses JUnitParams from http://code.google.com/p/junitparams/, which is released under Apache License 2.0.

    Since:
    Ptolemy II 11.0
    Version:
    $Id$
    Author:
    Christopher Brooks
    Pt.AcceptedRating:
    Red (cxh)
    Pt.ProposedRating:
    Green (cxh)
    • Constructor Detail

      • ExportModelJUnitTestBatch4

        public ExportModelJUnitTestBatch4()
    • Method Detail

      • demos

        public java.lang.Object[] demos()
                                 throws java.io.IOException
        Run demos 276 through 360.
        Overrides:
        demos in class ExportModelJUnitTestBatch
        Returns:
        a two dimension array of arrays of strings that name the models to be exported.
        Throws:
        java.io.IOException - If there is a problem accessing the directory.