Class ExportModelJUnitTestBatch7


  • public class ExportModelJUnitTestBatch7
    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.ExportModelJUnitTestBatch7 -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.ExportModelJUnitTestBatch7
     

    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

      • ExportModelJUnitTestBatch7

        public ExportModelJUnitTestBatch7()
    • Method Detail

      • demos

        public java.lang.Object[] demos()
                                 throws java.io.IOException
        Run demos 691 through 830
        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.