package cmu.defect4j.joda.time; import gov.nasa.jpf.util.test.TestJPF; import org.junit.Test; import junit.framework.TestCase; public class TestMutablePeriod_Basics extends TestJPF { private final String[] config = {"+nhandler.delegateUnhandledNative", "+classpath+=${jpf-core}/lib/junit-3.8.2.jar,lib/joda-convert-1.2.jar,jodatime/target/classes/,jodatime/target/test-classes,jodatime/"}; public static void main(String[] testMethods){ runTestsOfThisClass(testMethods); } @Test(timeout=120000) public void testEqualsHashCode() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.joda.time.TestMutablePeriod_Basics("testEqualsHashCode"); testcase.run(); } } @Test(timeout=120000) public void testToPeriod() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.joda.time.TestMutablePeriod_Basics("testToPeriod"); testcase.run(); } } @Test(timeout=120000) public void testToMutablePeriod() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.joda.time.TestMutablePeriod_Basics("testToMutablePeriod"); testcase.run(); } } @Test(timeout=120000) public void testGetMethods() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.joda.time.TestMutablePeriod_Basics("testGetMethods"); testcase.run(); } } @Test(timeout=120000) public void testGetPeriodType() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.joda.time.TestMutablePeriod_Basics("testGetPeriodType"); testcase.run(); } } @Test(timeout=120000) public void testTest() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.joda.time.TestMutablePeriod_Basics("testTest"); testcase.run(); } } @Test(timeout=120000) public void testSerialization() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.joda.time.TestMutablePeriod_Basics("testSerialization"); testcase.run(); } } @Test(timeout=120000) public void testCopy() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.joda.time.TestMutablePeriod_Basics("testCopy"); testcase.run(); } } @Test(timeout=120000) public void testClone() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.joda.time.TestMutablePeriod_Basics("testClone"); testcase.run(); } } @Test(timeout=120000) public void testToDurationFrom() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.joda.time.TestMutablePeriod_Basics("testToDurationFrom"); testcase.run(); } } @Test(timeout=120000) public void testToString() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.joda.time.TestMutablePeriod_Basics("testToString"); testcase.run(); } } }