package cmu.defect4j.joda.time.chrono; import gov.nasa.jpf.util.test.TestJPF; import org.junit.Test; import junit.framework.TestCase; public class TestGregorianChronology 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 testMaximumValue() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.joda.time.chrono.TestGregorianChronology("testMaximumValue"); testcase.run(); } } @Test(timeout=120000) public void testFactory_Zone_int() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.joda.time.chrono.TestGregorianChronology("testFactory_Zone_int"); testcase.run(); } } @Test(timeout=120000) public void testFactoryUTC() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.joda.time.chrono.TestGregorianChronology("testFactoryUTC"); testcase.run(); } } @Test(timeout=120000) public void testFactory() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.joda.time.chrono.TestGregorianChronology("testFactory"); testcase.run(); } } @Test(timeout=120000) public void testFactory_Zone() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.joda.time.chrono.TestGregorianChronology("testFactory_Zone"); testcase.run(); } } @Test(timeout=120000) public void testEquality() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.joda.time.chrono.TestGregorianChronology("testEquality"); testcase.run(); } } @Test(timeout=120000) public void testWithUTC() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.joda.time.chrono.TestGregorianChronology("testWithUTC"); testcase.run(); } } @Test(timeout=120000) public void testWithZone() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.joda.time.chrono.TestGregorianChronology("testWithZone"); testcase.run(); } } @Test(timeout=120000) public void testToString() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.joda.time.chrono.TestGregorianChronology("testToString"); testcase.run(); } } @Test(timeout=120000) public void testDurationFields() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.joda.time.chrono.TestGregorianChronology("testDurationFields"); testcase.run(); } } @Test(timeout=120000) public void testDateFields() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.joda.time.chrono.TestGregorianChronology("testDateFields"); testcase.run(); } } @Test(timeout=120000) public void testTimeFields() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new org.joda.time.chrono.TestGregorianChronology("testTimeFields"); testcase.run(); } } }