Class AutoKnownFailedTests


  • public class AutoKnownFailedTests
    extends ModelKnownFailedTests
    Run the Ptolemy model tests in the auto/knownFailedTest/ directory using JUnit.

    This test must be run from the directory that contains the auto/knownFailedTests/ directory, for example:

     (cd $PTII/ptolemy/actor/lib/net/test; java -classpath ${PTII}:${PTII}/lib/junit-4.8.2.jar:${PTII}/lib/JUnitParams-0.3.0.jar org.junit.runner.JUnitCore ptolemy.util.test.junit.AutoKnownFailedTests)
     

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

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

      • AutoKnownFailedTests

        public AutoKnownFailedTests()
    • Method Detail

      • RunModel

        public void RunModel​(java.lang.String fullPath)
                      throws java.lang.Throwable
        Execute a model. Timeout after 150000 ms. For information about how this class is used in the Travis build, see https://wiki.eecs.berkeley.edu/ptexternal/Main/Travis.
        Parameters:
        fullPath - The full path to the model file to be executed. If the fullPath ends with the value of the ModelTests.THERE_ARE_NO_KNOWN_FAILED_TESTS, then the method returns immediately.
        Throws:
        java.lang.Throwable - If thrown while executing the model.