001/* JUnit test that exports the sixth batch of demos. 002 003 Copyright (c) 2018 The Regents of the University of California. 004 All rights reserved. 005 Permission is hereby granted, without written agreement and without 006 license or royalty fees, to use, copy, modify, and distribute this 007 software and its documentation for any purpose, provided that the above 008 copyright notice and the following two paragraphs appear in all copies 009 of this software. 010 011 IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY 012 FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES 013 ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF 014 THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF 015 SUCH DAMAGE. 016 017 THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES, 018 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 019 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE 020 PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE UNIVERSITY OF 021 CALIFORNIA HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, 022 ENHANCEMENTS, OR MODIFICATIONS. 023 024 PT_COPYRIGHT_VERSION_2 025 COPYRIGHTENDKEY 026 027 */ 028 029package ptolemy.vergil.basic.export.test.junit; 030 031import java.io.IOException; 032 033import org.junit.runner.RunWith; 034 035import junitparams.JUnitParamsRunner; 036 037/////////////////////////////////////////////////////////////////// 038//// ExportModelJUnitTestBatch7 039/** 040 * JUnit test that exports the demos between two indices. 041 * 042 * <p>To run these tests, use: 043 * <pre> 044 * cd $PTII 045 * ./configure 046 * ant test.single -Dtest.name=ptolemy.vergil.basic.export.test.junit.ExportModelJUnitTestBatch7 -Djunit.formatter=plain 047 * </pre> 048 * or 049 * <pre> 050 * cd $PTII/ptolemy/vergil/basic/export/test/junit/; 051 * 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; 052 * export JAVAFLAGS="-Dptolemy.ptII.exportHTML.linkToJNLP=true -Dptolemy.ptII.exportHTML.usePtWebsite=true" 053 * $PTII/bin/ptinvoke org.junit.runner.JUnitCore ptolemy.vergil.basic.export.test.junit.ExportModelJUnitTestBatch7 054 * </pre> 055 * <p> 056 * This test uses JUnitParams from <a href="http://code.google.com/p/junitparams/#in_browser">http://code.google.com/p/junitparams/</a>, 057 * which is released under <a href="http://www.apache.org/licenses/LICENSE-2.0#in_browser">Apache License 2.0</a>. 058 * </p> 059 * 060 * @author Christopher Brooks 061 * @version $Id$ 062 * @since Ptolemy II 11.0 063 * @Pt.ProposedRating Green (cxh) 064 * @Pt.AcceptedRating Red (cxh) 065 */ 066@RunWith(JUnitParamsRunner.class) 067public class ExportModelJUnitTestBatch7 extends ExportModelJUnitTestBatch { 068 069 /** Run demos 691 through 830 */ 070 @Override 071 public Object[] demos() throws IOException { 072 return super.demos(691, 830); 073 } 074}