package cmu.defect4j.google.javascript.jscomp; import gov.nasa.jpf.util.test.TestJPF; import org.junit.Test; import junit.framework.TestCase; public class ConvertToDottedPropertiesTest extends TestJPF { private final String[] config = {"+nhandler.delegateUnhandledNative", "+classpath+=${jpf-core}/lib/junit-4.11.jar,lib/compiler.jar"}; public static void main(String[] testMethods){ runTestsOfThisClass(testMethods); } @Test(timeout=120000) public void testConvert() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.ConvertToDottedPropertiesTest() { public void runTest() throws Exception { testConvert(); } }; testcase.run(); } } @Test(timeout=120000) public void testDoNotConvert() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.ConvertToDottedPropertiesTest() { public void runTest() throws Exception { testDoNotConvert(); } }; testcase.run(); } } @Test(timeout=120000) public void testQuotedProps() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.ConvertToDottedPropertiesTest() { public void runTest() throws Exception { testQuotedProps(); } }; testcase.run(); } } @Test(timeout=120000) public void test5746867() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.ConvertToDottedPropertiesTest() { public void runTest() throws Exception { test5746867(); } }; testcase.run(); } } }