package cmu.defect4j.jfree.data.junit; import gov.nasa.jpf.util.test.TestJPF; import org.junit.Test; import junit.framework.TestCase; public class RangeTests 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 testConstructor() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.jfree.data.junit.RangeTests("testConstructor"); testcase.run(); } } @Test(timeout=120000) public void testIntersects() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.jfree.data.junit.RangeTests("testIntersects"); testcase.run(); } } @Test(timeout=120000) public void testEquals() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.jfree.data.junit.RangeTests("testEquals"); testcase.run(); } } @Test(timeout=120000) public void testSerialization() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.jfree.data.junit.RangeTests("testSerialization"); testcase.run(); } } @Test(timeout=120000) public void testHashCode() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.jfree.data.junit.RangeTests("testHashCode"); testcase.run(); } } @Test(timeout=120000) public void testContains() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.jfree.data.junit.RangeTests("testContains"); testcase.run(); } } @Test(timeout=120000) public void testConstrain() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.jfree.data.junit.RangeTests("testConstrain"); testcase.run(); } } @Test(timeout=120000) public void testExpand() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.jfree.data.junit.RangeTests("testExpand"); testcase.run(); } } @Test(timeout=120000) public void testShift() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.jfree.data.junit.RangeTests("testShift"); testcase.run(); } } @Test(timeout=120000) public void testScale() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.jfree.data.junit.RangeTests("testScale"); testcase.run(); } } }