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