package cmu.defect4j.jfree.data.xy.junit; import gov.nasa.jpf.util.test.TestJPF; import org.junit.Test; import junit.framework.TestCase; public class DefaultXYDatasetTests extends TestJPF { private final String[] config = {"+nhandler.delegateUnhandledNative", "+classpath+=${jpf-core}/lib/junit-4.11.jar,${jpf-core}/lib/jfreechart-1.2.0-ea1.jar"}; public static void main(String[] testMethods){ runTestsOfThisClass(testMethods); } @Test(timeout=120000) public void testEquals() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.jfree.data.xy.junit.DefaultXYDatasetTests("testEquals"); testcase.run(); } } @Test(timeout=120000) public void testCloning() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.jfree.data.xy.junit.DefaultXYDatasetTests("testCloning"); testcase.run(); } } @Test(timeout=120000) public void testPublicCloneable() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.jfree.data.xy.junit.DefaultXYDatasetTests("testPublicCloneable"); testcase.run(); } } @Test(timeout=120000) public void testSerialization() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.jfree.data.xy.junit.DefaultXYDatasetTests("testSerialization"); testcase.run(); } } @Test(timeout=120000) public void testGetSeriesKey() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.jfree.data.xy.junit.DefaultXYDatasetTests("testGetSeriesKey"); testcase.run(); } } @Test(timeout=120000) public void testAddSeries() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.jfree.data.xy.junit.DefaultXYDatasetTests("testAddSeries"); testcase.run(); } } @Test(timeout=120000) public void testIndexOf() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.jfree.data.xy.junit.DefaultXYDatasetTests("testIndexOf"); testcase.run(); } } }