package cmu.defect4j.google.javascript.jscomp; import gov.nasa.jpf.util.test.TestJPF; import org.junit.Test; import junit.framework.TestCase; public class TypeCheckTest 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 testComparison2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testComparison2(); } }; testcase.run(); } } @Test(timeout=120000) public void testComparison3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testComparison3(); } }; testcase.run(); } } @Test(timeout=120000) public void testComparison4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testComparison4(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeof() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeof(); } }; testcase.run(); } } @Test(timeout=120000) public void testPrivateType() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testPrivateType(); } }; testcase.run(); } } @Test(timeout=120000) public void testGlobalThis1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGlobalThis1(); } }; testcase.run(); } } @Test(timeout=120000) public void testGlobalThis2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGlobalThis2(); } }; testcase.run(); } } @Test(timeout=120000) public void testGlobalThis3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGlobalThis3(); } }; testcase.run(); } } @Test(timeout=120000) public void testGlobalThis4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGlobalThis4(); } }; testcase.run(); } } @Test(timeout=120000) public void testGlobalThis5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGlobalThis5(); } }; testcase.run(); } } @Test(timeout=120000) public void testGlobalThis6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGlobalThis6(); } }; testcase.run(); } } @Test(timeout=120000) public void testGlobalThis7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGlobalThis7(); } }; testcase.run(); } } @Test(timeout=120000) public void testInnerFunction1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInnerFunction1(); } }; testcase.run(); } } @Test(timeout=120000) public void testInnerFunction2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInnerFunction2(); } }; testcase.run(); } } @Test(timeout=120000) public void testInnerFunction3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInnerFunction3(); } }; testcase.run(); } } @Test(timeout=120000) public void testInnerFunction4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInnerFunction4(); } }; testcase.run(); } } @Test(timeout=120000) public void testMismatchingOverridingInferredPropertyBeforeDeclaredProperty1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMismatchingOverridingInferredPropertyBeforeDeclaredProperty1(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheck1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheck1(); } }; testcase.run(); } } @Test(timeout=120000) public void testInitialTypingScope() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInitialTypingScope(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheck2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheck2(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheck4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheck4(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheck5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheck5(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheck6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheck6(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheck8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheck8(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheck9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheck9(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheck10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheck10(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheck11() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheck11(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheck12() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheck12(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheck13() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheck13(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheck14() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheck14(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheck15() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheck15(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheck17() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheck17(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheck18() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheck18(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheck19() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheck19(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheck20() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheck20(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheckBasicDowncast() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheckBasicDowncast(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheckNoDowncastToNumber() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheckNoDowncastToNumber(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheck21() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheck21(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheck22() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheck22(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheck23() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheck23(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheck24() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheck24(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheckDefaultExterns() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheckDefaultExterns(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheckCustomExterns() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheckCustomExterns(); } }; testcase.run(); } } @Test(timeout=120000) public void testParameterizedArray1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testParameterizedArray1(); } }; testcase.run(); } } @Test(timeout=120000) public void testParameterizedArray2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testParameterizedArray2(); } }; testcase.run(); } } @Test(timeout=120000) public void testParameterizedArray3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testParameterizedArray3(); } }; testcase.run(); } } @Test(timeout=120000) public void testParameterizedArray4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testParameterizedArray4(); } }; testcase.run(); } } @Test(timeout=120000) public void testParameterizedArray5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testParameterizedArray5(); } }; testcase.run(); } } @Test(timeout=120000) public void testParameterizedArray6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testParameterizedArray6(); } }; testcase.run(); } } @Test(timeout=120000) public void testParameterizedArray7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testParameterizedArray7(); } }; testcase.run(); } } @Test(timeout=120000) public void testParameterizedObject1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testParameterizedObject1(); } }; testcase.run(); } } @Test(timeout=120000) public void testParameterizedObject2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testParameterizedObject2(); } }; testcase.run(); } } @Test(timeout=120000) public void testParameterizedObject3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testParameterizedObject3(); } }; testcase.run(); } } @Test(timeout=120000) public void testParameterizedObject4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testParameterizedObject4(); } }; testcase.run(); } } @Test(timeout=120000) public void testUnionOfFunctionAndType() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testUnionOfFunctionAndType(); } }; testcase.run(); } } @Test(timeout=120000) public void testOptionalParameterComparedToUndefined() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOptionalParameterComparedToUndefined(); } }; testcase.run(); } } @Test(timeout=120000) public void testOptionalAllType() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOptionalAllType(); } }; testcase.run(); } } @Test(timeout=120000) public void testOptionalUnknownNamedType() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOptionalUnknownNamedType(); } }; testcase.run(); } } @Test(timeout=120000) public void testOptionalArgFunctionParam() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOptionalArgFunctionParam(); } }; testcase.run(); } } @Test(timeout=120000) public void testOptionalArgFunctionParam2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOptionalArgFunctionParam2(); } }; testcase.run(); } } @Test(timeout=120000) public void testOptionalArgFunctionParam3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOptionalArgFunctionParam3(); } }; testcase.run(); } } @Test(timeout=120000) public void testOptionalArgFunctionParam4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOptionalArgFunctionParam4(); } }; testcase.run(); } } @Test(timeout=120000) public void testOptionalArgFunctionParamError() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOptionalArgFunctionParamError(); } }; testcase.run(); } } @Test(timeout=120000) public void testOptionalNullableArgFunctionParam() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOptionalNullableArgFunctionParam(); } }; testcase.run(); } } @Test(timeout=120000) public void testOptionalNullableArgFunctionParam2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOptionalNullableArgFunctionParam2(); } }; testcase.run(); } } @Test(timeout=120000) public void testOptionalNullableArgFunctionParam3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOptionalNullableArgFunctionParam3(); } }; testcase.run(); } } @Test(timeout=120000) public void testOptionalArgFunctionReturn() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOptionalArgFunctionReturn(); } }; testcase.run(); } } @Test(timeout=120000) public void testOptionalArgFunctionReturn2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOptionalArgFunctionReturn2(); } }; testcase.run(); } } @Test(timeout=120000) public void testBooleanType() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBooleanType(); } }; testcase.run(); } } @Test(timeout=120000) public void testBooleanReduction1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBooleanReduction1(); } }; testcase.run(); } } @Test(timeout=120000) public void testBooleanReduction2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBooleanReduction2(); } }; testcase.run(); } } @Test(timeout=120000) public void testBooleanReduction3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBooleanReduction3(); } }; testcase.run(); } } @Test(timeout=120000) public void testBooleanReduction4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBooleanReduction4(); } }; testcase.run(); } } @Test(timeout=120000) public void testBooleanReduction5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBooleanReduction5(); } }; testcase.run(); } } @Test(timeout=120000) public void testBooleanReduction6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBooleanReduction6(); } }; testcase.run(); } } @Test(timeout=120000) public void testBooleanReduction7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBooleanReduction7(); } }; testcase.run(); } } @Test(timeout=120000) public void testNullAnd() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNullAnd(); } }; testcase.run(); } } @Test(timeout=120000) public void testNullOr() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNullOr(); } }; testcase.run(); } } @Test(timeout=120000) public void testBooleanPreservation1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBooleanPreservation1(); } }; testcase.run(); } } @Test(timeout=120000) public void testBooleanPreservation2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBooleanPreservation2(); } }; testcase.run(); } } @Test(timeout=120000) public void testBooleanPreservation3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBooleanPreservation3(); } }; testcase.run(); } } @Test(timeout=120000) public void testBooleanPreservation4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBooleanPreservation4(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeOfReduction1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeOfReduction1(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeOfReduction2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeOfReduction2(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeOfReduction3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeOfReduction3(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeOfReduction4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeOfReduction4(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeOfReduction5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeOfReduction5(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeOfReduction6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeOfReduction6(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeOfReduction7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeOfReduction7(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeOfReduction8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeOfReduction8(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeOfReduction9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeOfReduction9(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeOfReduction10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeOfReduction10(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeOfReduction11() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeOfReduction11(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeOfReduction12() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeOfReduction12(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeOfReduction13() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeOfReduction13(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeOfReduction14() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeOfReduction14(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeOfReduction15() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeOfReduction15(); } }; testcase.run(); } } @Test(timeout=120000) public void testQualifiedNameReduction1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testQualifiedNameReduction1(); } }; testcase.run(); } } @Test(timeout=120000) public void testQualifiedNameReduction2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testQualifiedNameReduction2(); } }; testcase.run(); } } @Test(timeout=120000) public void testQualifiedNameReduction3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testQualifiedNameReduction3(); } }; testcase.run(); } } @Test(timeout=120000) public void testQualifiedNameReduction4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testQualifiedNameReduction4(); } }; testcase.run(); } } @Test(timeout=120000) public void testInstanceOfReduction1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInstanceOfReduction1(); } }; testcase.run(); } } @Test(timeout=120000) public void testInstanceOfReduction2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInstanceOfReduction2(); } }; testcase.run(); } } @Test(timeout=120000) public void testPropertyInferredPropagation() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testPropertyInferredPropagation(); } }; testcase.run(); } } @Test(timeout=120000) public void testPropertyInference1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testPropertyInference1(); } }; testcase.run(); } } @Test(timeout=120000) public void testPropertyInference2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testPropertyInference2(); } }; testcase.run(); } } @Test(timeout=120000) public void testPropertyInference3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testPropertyInference3(); } }; testcase.run(); } } @Test(timeout=120000) public void testPropertyInference4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testPropertyInference4(); } }; testcase.run(); } } @Test(timeout=120000) public void testPropertyInference5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testPropertyInference5(); } }; testcase.run(); } } @Test(timeout=120000) public void testPropertyInference6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testPropertyInference6(); } }; testcase.run(); } } @Test(timeout=120000) public void testPropertyInference7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testPropertyInference7(); } }; testcase.run(); } } @Test(timeout=120000) public void testPropertyInference8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testPropertyInference8(); } }; testcase.run(); } } @Test(timeout=120000) public void testNoPersistentTypeInferenceForObjectProperties() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNoPersistentTypeInferenceForObjectProperties(); } }; testcase.run(); } } @Test(timeout=120000) public void testNoPersistentTypeInferenceForFunctionProperties() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNoPersistentTypeInferenceForFunctionProperties(); } }; testcase.run(); } } @Test(timeout=120000) public void testObjectPropertyTypeInferredInLocalScope1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testObjectPropertyTypeInferredInLocalScope1(); } }; testcase.run(); } } @Test(timeout=120000) public void testObjectPropertyTypeInferredInLocalScope2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testObjectPropertyTypeInferredInLocalScope2(); } }; testcase.run(); } } @Test(timeout=120000) public void testObjectPropertyTypeInferredInLocalScope3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testObjectPropertyTypeInferredInLocalScope3(); } }; testcase.run(); } } @Test(timeout=120000) public void testMismatchingOverridingInferredPropertyBeforeDeclaredProperty2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMismatchingOverridingInferredPropertyBeforeDeclaredProperty2(); } }; testcase.run(); } } @Test(timeout=120000) public void testMismatchingOverridingInferredPropertyBeforeDeclaredProperty3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMismatchingOverridingInferredPropertyBeforeDeclaredProperty3(); } }; testcase.run(); } } @Test(timeout=120000) public void testMismatchingOverridingInferredPropertyBeforeDeclaredProperty4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMismatchingOverridingInferredPropertyBeforeDeclaredProperty4(); } }; testcase.run(); } } @Test(timeout=120000) public void testPropertyUsedBeforeDefinition1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testPropertyUsedBeforeDefinition1(); } }; testcase.run(); } } @Test(timeout=120000) public void testPropertyUsedBeforeDefinition2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testPropertyUsedBeforeDefinition2(); } }; testcase.run(); } } @Test(timeout=120000) public void testAdd1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAdd1(); } }; testcase.run(); } } @Test(timeout=120000) public void testAdd2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAdd2(); } }; testcase.run(); } } @Test(timeout=120000) public void testAdd3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAdd3(); } }; testcase.run(); } } @Test(timeout=120000) public void testAdd4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAdd4(); } }; testcase.run(); } } @Test(timeout=120000) public void testAdd5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAdd5(); } }; testcase.run(); } } @Test(timeout=120000) public void testAdd6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAdd6(); } }; testcase.run(); } } @Test(timeout=120000) public void testAdd7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAdd7(); } }; testcase.run(); } } @Test(timeout=120000) public void testAdd8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAdd8(); } }; testcase.run(); } } @Test(timeout=120000) public void testAdd9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAdd9(); } }; testcase.run(); } } @Test(timeout=120000) public void testAdd10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAdd10(); } }; testcase.run(); } } @Test(timeout=120000) public void testAdd11() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAdd11(); } }; testcase.run(); } } @Test(timeout=120000) public void testAdd12() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAdd12(); } }; testcase.run(); } } @Test(timeout=120000) public void testAdd13() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAdd13(); } }; testcase.run(); } } @Test(timeout=120000) public void testAdd14() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAdd14(); } }; testcase.run(); } } @Test(timeout=120000) public void testAdd15() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAdd15(); } }; testcase.run(); } } @Test(timeout=120000) public void testAdd16() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAdd16(); } }; testcase.run(); } } @Test(timeout=120000) public void testAdd17() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAdd17(); } }; testcase.run(); } } @Test(timeout=120000) public void testAdd18() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAdd18(); } }; testcase.run(); } } @Test(timeout=120000) public void testAdd19() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAdd19(); } }; testcase.run(); } } @Test(timeout=120000) public void testAdd20() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAdd20(); } }; testcase.run(); } } @Test(timeout=120000) public void testAdd21() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAdd21(); } }; testcase.run(); } } @Test(timeout=120000) public void testNumericComparison1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNumericComparison1(); } }; testcase.run(); } } @Test(timeout=120000) public void testNumericComparison2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNumericComparison2(); } }; testcase.run(); } } @Test(timeout=120000) public void testNumericComparison3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNumericComparison3(); } }; testcase.run(); } } @Test(timeout=120000) public void testNumericComparison4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNumericComparison4(); } }; testcase.run(); } } @Test(timeout=120000) public void testNumericComparison5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNumericComparison5(); } }; testcase.run(); } } @Test(timeout=120000) public void testNumericComparison6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNumericComparison6(); } }; testcase.run(); } } @Test(timeout=120000) public void testStringComparison1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testStringComparison1(); } }; testcase.run(); } } @Test(timeout=120000) public void testStringComparison2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testStringComparison2(); } }; testcase.run(); } } @Test(timeout=120000) public void testStringComparison3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testStringComparison3(); } }; testcase.run(); } } @Test(timeout=120000) public void testStringComparison4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testStringComparison4(); } }; testcase.run(); } } @Test(timeout=120000) public void testStringComparison5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testStringComparison5(); } }; testcase.run(); } } @Test(timeout=120000) public void testStringComparison6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testStringComparison6(); } }; testcase.run(); } } @Test(timeout=120000) public void testValueOfComparison1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testValueOfComparison1(); } }; testcase.run(); } } @Test(timeout=120000) public void testValueOfComparison2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testValueOfComparison2(); } }; testcase.run(); } } @Test(timeout=120000) public void testValueOfComparison3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testValueOfComparison3(); } }; testcase.run(); } } @Test(timeout=120000) public void testGenericRelationalExpression() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGenericRelationalExpression(); } }; testcase.run(); } } @Test(timeout=120000) public void testInstanceof1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInstanceof1(); } }; testcase.run(); } } @Test(timeout=120000) public void testInstanceof2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInstanceof2(); } }; testcase.run(); } } @Test(timeout=120000) public void testInstanceof3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInstanceof3(); } }; testcase.run(); } } @Test(timeout=120000) public void testInstanceof4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInstanceof4(); } }; testcase.run(); } } @Test(timeout=120000) public void testInstanceof5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInstanceof5(); } }; testcase.run(); } } @Test(timeout=120000) public void testInstanceof6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInstanceof6(); } }; testcase.run(); } } @Test(timeout=120000) public void testInstanceOfReduction3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInstanceOfReduction3(); } }; testcase.run(); } } @Test(timeout=120000) public void testScoping1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testScoping1(); } }; testcase.run(); } } @Test(timeout=120000) public void testScoping2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testScoping2(); } }; testcase.run(); } } @Test(timeout=120000) public void testScoping3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testScoping3(); } }; testcase.run(); } } @Test(timeout=120000) public void testScoping4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testScoping4(); } }; testcase.run(); } } @Test(timeout=120000) public void testScoping5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testScoping5(); } }; testcase.run(); } } @Test(timeout=120000) public void testScoping6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testScoping6(); } }; testcase.run(); } } @Test(timeout=120000) public void testScoping7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testScoping7(); } }; testcase.run(); } } @Test(timeout=120000) public void testScoping8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testScoping8(); } }; testcase.run(); } } @Test(timeout=120000) public void testScoping9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testScoping9(); } }; testcase.run(); } } @Test(timeout=120000) public void testScoping10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testScoping10(); } }; testcase.run(); } } @Test(timeout=120000) public void testScoping11() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testScoping11(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionArguments1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionArguments1(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionArguments2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionArguments2(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionArguments3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionArguments3(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionArguments4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionArguments4(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionArguments5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionArguments5(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionArguments6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionArguments6(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionArguments7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionArguments7(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionArguments8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionArguments8(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionArguments9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionArguments9(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionArguments10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionArguments10(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionArguments11() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionArguments11(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionArguments12() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionArguments12(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionArguments13() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionArguments13(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionArguments14() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionArguments14(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionArguments15() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionArguments15(); } }; testcase.run(); } } @Test(timeout=120000) public void testPrintFunctionName1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testPrintFunctionName1(); } }; testcase.run(); } } @Test(timeout=120000) public void testPrintFunctionName2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testPrintFunctionName2(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionInference1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionInference1(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionInference2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionInference2(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionInference3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionInference3(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionInference4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionInference4(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionInference5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionInference5(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionInference6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionInference6(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionInference7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionInference7(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionInference8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionInference8(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionInference9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionInference9(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionInference10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionInference10(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionInference11() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionInference11(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionInference12() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionInference12(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionInference13() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionInference13(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionInference14() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionInference14(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionInference15() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionInference15(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionInference16() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionInference16(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionInference17() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionInference17(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionInference18() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionInference18(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionInference19() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionInference19(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionInference20() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionInference20(); } }; testcase.run(); } } @Test(timeout=120000) public void testInnerFunction5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInnerFunction5(); } }; testcase.run(); } } @Test(timeout=120000) public void testInnerFunction6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInnerFunction6(); } }; testcase.run(); } } @Test(timeout=120000) public void testInnerFunction7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInnerFunction7(); } }; testcase.run(); } } @Test(timeout=120000) public void testInnerFunction8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInnerFunction8(); } }; testcase.run(); } } @Test(timeout=120000) public void testInnerFunction9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInnerFunction9(); } }; testcase.run(); } } @Test(timeout=120000) public void testAbstractMethodHandling1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAbstractMethodHandling1(); } }; testcase.run(); } } @Test(timeout=120000) public void testAbstractMethodHandling2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAbstractMethodHandling2(); } }; testcase.run(); } } @Test(timeout=120000) public void testAbstractMethodHandling3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAbstractMethodHandling3(); } }; testcase.run(); } } @Test(timeout=120000) public void testAbstractMethodHandling4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAbstractMethodHandling4(); } }; testcase.run(); } } @Test(timeout=120000) public void testAbstractMethodHandling5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAbstractMethodHandling5(); } }; testcase.run(); } } @Test(timeout=120000) public void testAbstractMethodHandling6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAbstractMethodHandling6(); } }; testcase.run(); } } @Test(timeout=120000) public void testMethodInference1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMethodInference1(); } }; testcase.run(); } } @Test(timeout=120000) public void testMethodInference2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMethodInference2(); } }; testcase.run(); } } @Test(timeout=120000) public void testMethodInference3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMethodInference3(); } }; testcase.run(); } } @Test(timeout=120000) public void testMethodInference4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMethodInference4(); } }; testcase.run(); } } @Test(timeout=120000) public void testMethodInference5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMethodInference5(); } }; testcase.run(); } } @Test(timeout=120000) public void testMethodInference6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMethodInference6(); } }; testcase.run(); } } @Test(timeout=120000) public void testMethodInference7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMethodInference7(); } }; testcase.run(); } } @Test(timeout=120000) public void testMethodInference8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMethodInference8(); } }; testcase.run(); } } @Test(timeout=120000) public void testMethodInference9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMethodInference9(); } }; testcase.run(); } } @Test(timeout=120000) public void testStaticMethodDeclaration1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testStaticMethodDeclaration1(); } }; testcase.run(); } } @Test(timeout=120000) public void testStaticMethodDeclaration2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testStaticMethodDeclaration2(); } }; testcase.run(); } } @Test(timeout=120000) public void testStaticMethodDeclaration3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testStaticMethodDeclaration3(); } }; testcase.run(); } } @Test(timeout=120000) public void testDuplicateStaticMethodDecl1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDuplicateStaticMethodDecl1(); } }; testcase.run(); } } @Test(timeout=120000) public void testDuplicateStaticMethodDecl2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDuplicateStaticMethodDecl2(); } }; testcase.run(); } } @Test(timeout=120000) public void testDuplicateStaticMethodDecl3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDuplicateStaticMethodDecl3(); } }; testcase.run(); } } @Test(timeout=120000) public void testDuplicateStaticMethodDecl4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDuplicateStaticMethodDecl4(); } }; testcase.run(); } } @Test(timeout=120000) public void testDuplicateStaticMethodDecl5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDuplicateStaticMethodDecl5(); } }; testcase.run(); } } @Test(timeout=120000) public void testDuplicateStaticPropertyDecl1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDuplicateStaticPropertyDecl1(); } }; testcase.run(); } } @Test(timeout=120000) public void testDuplicateStaticPropertyDecl2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDuplicateStaticPropertyDecl2(); } }; testcase.run(); } } @Test(timeout=120000) public void testDuplicateStaticPropertyDecl3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDuplicateStaticPropertyDecl3(); } }; testcase.run(); } } @Test(timeout=120000) public void testDuplicateStaticPropertyDecl4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDuplicateStaticPropertyDecl4(); } }; testcase.run(); } } @Test(timeout=120000) public void testDuplicateStaticPropertyDecl5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDuplicateStaticPropertyDecl5(); } }; testcase.run(); } } @Test(timeout=120000) public void testDuplicateStaticPropertyDecl6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDuplicateStaticPropertyDecl6(); } }; testcase.run(); } } @Test(timeout=120000) public void testDuplicateStaticPropertyDecl7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDuplicateStaticPropertyDecl7(); } }; testcase.run(); } } @Test(timeout=120000) public void testDuplicateStaticPropertyDecl8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDuplicateStaticPropertyDecl8(); } }; testcase.run(); } } @Test(timeout=120000) public void testDuplicateStaticPropertyDecl9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDuplicateStaticPropertyDecl9(); } }; testcase.run(); } } @Test(timeout=120000) public void testDuplicateLocalVarDecl() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDuplicateLocalVarDecl(); } }; testcase.run(); } } @Test(timeout=120000) public void testStubFunctionDeclaration1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testStubFunctionDeclaration1(); } }; testcase.run(); } } @Test(timeout=120000) public void testStubFunctionDeclaration2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testStubFunctionDeclaration2(); } }; testcase.run(); } } @Test(timeout=120000) public void testStubFunctionDeclaration3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testStubFunctionDeclaration3(); } }; testcase.run(); } } @Test(timeout=120000) public void testStubFunctionDeclaration4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testStubFunctionDeclaration4(); } }; testcase.run(); } } @Test(timeout=120000) public void testStubFunctionDeclaration5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testStubFunctionDeclaration5(); } }; testcase.run(); } } @Test(timeout=120000) public void testStubFunctionDeclaration6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testStubFunctionDeclaration6(); } }; testcase.run(); } } @Test(timeout=120000) public void testStubFunctionDeclaration7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testStubFunctionDeclaration7(); } }; testcase.run(); } } @Test(timeout=120000) public void testStubFunctionDeclaration8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testStubFunctionDeclaration8(); } }; testcase.run(); } } @Test(timeout=120000) public void testStubFunctionDeclaration9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testStubFunctionDeclaration9(); } }; testcase.run(); } } @Test(timeout=120000) public void testStubFunctionDeclaration10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testStubFunctionDeclaration10(); } }; testcase.run(); } } @Test(timeout=120000) public void testNestedFunctionInference1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNestedFunctionInference1(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeRedefinition() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeRedefinition(); } }; testcase.run(); } } @Test(timeout=120000) public void testIn1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIn1(); } }; testcase.run(); } } @Test(timeout=120000) public void testIn2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIn2(); } }; testcase.run(); } } @Test(timeout=120000) public void testIn3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIn3(); } }; testcase.run(); } } @Test(timeout=120000) public void testIn4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIn4(); } }; testcase.run(); } } @Test(timeout=120000) public void testIn5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIn5(); } }; testcase.run(); } } @Test(timeout=120000) public void testIn6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIn6(); } }; testcase.run(); } } @Test(timeout=120000) public void testIn7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIn7(); } }; testcase.run(); } } @Test(timeout=120000) public void testComparison5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testComparison5(); } }; testcase.run(); } } @Test(timeout=120000) public void testComparison6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testComparison6(); } }; testcase.run(); } } @Test(timeout=120000) public void testComparison7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testComparison7(); } }; testcase.run(); } } @Test(timeout=120000) public void testComparison8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testComparison8(); } }; testcase.run(); } } @Test(timeout=120000) public void testComparison9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testComparison9(); } }; testcase.run(); } } @Test(timeout=120000) public void testComparison10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testComparison10(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnumStaticMethod1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnumStaticMethod1(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnumStaticMethod2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnumStaticMethod2(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum1(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum2(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum3(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum4(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum5(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum6(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum7(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum8(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum9(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum10(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum11() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum11(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum12() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum12(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum13() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum13(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum14() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum14(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum15() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum15(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum16() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum16(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum17() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum17(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum18() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum18(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum19() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum19(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum20() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum20(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum21() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum21(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum22() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum22(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum23() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum23(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum24() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum24(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum25() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum25(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum26() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum26(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum27() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum27(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum28() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum28(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum29() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum29(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum30() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum30(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum31() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum31(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum32() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum32(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum34() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum34(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum35() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum35(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum36() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum36(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum37() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum37(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum38() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum38(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum39() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum39(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum40() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum40(); } }; testcase.run(); } } @Test(timeout=120000) public void testAliasedEnum1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAliasedEnum1(); } }; testcase.run(); } } @Test(timeout=120000) public void testAliasedEnum2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAliasedEnum2(); } }; testcase.run(); } } @Test(timeout=120000) public void testAliasedEnum3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAliasedEnum3(); } }; testcase.run(); } } @Test(timeout=120000) public void testAliasedEnum4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAliasedEnum4(); } }; testcase.run(); } } @Test(timeout=120000) public void testAliasedEnum5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAliasedEnum5(); } }; testcase.run(); } } @Test(timeout=120000) public void testBackwardsEnumUse1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBackwardsEnumUse1(); } }; testcase.run(); } } @Test(timeout=120000) public void testBackwardsEnumUse2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBackwardsEnumUse2(); } }; testcase.run(); } } @Test(timeout=120000) public void testBackwardsEnumUse3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBackwardsEnumUse3(); } }; testcase.run(); } } @Test(timeout=120000) public void testBackwardsEnumUse4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBackwardsEnumUse4(); } }; testcase.run(); } } @Test(timeout=120000) public void testBackwardsEnumUse5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBackwardsEnumUse5(); } }; testcase.run(); } } @Test(timeout=120000) public void testBackwardsConstructor1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBackwardsConstructor1(); } }; testcase.run(); } } @Test(timeout=120000) public void testBackwardsConstructor2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBackwardsConstructor2(); } }; testcase.run(); } } @Test(timeout=120000) public void testMinimalConstructorAnnotation() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMinimalConstructorAnnotation(); } }; testcase.run(); } } @Test(timeout=120000) public void testGoodExtends1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGoodExtends1(); } }; testcase.run(); } } @Test(timeout=120000) public void testGoodExtends2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGoodExtends2(); } }; testcase.run(); } } @Test(timeout=120000) public void testGoodExtends3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGoodExtends3(); } }; testcase.run(); } } @Test(timeout=120000) public void testGoodExtends4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGoodExtends4(); } }; testcase.run(); } } @Test(timeout=120000) public void testGoodExtends5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGoodExtends5(); } }; testcase.run(); } } @Test(timeout=120000) public void testGoodExtends6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGoodExtends6(); } }; testcase.run(); } } @Test(timeout=120000) public void testGoodExtends7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGoodExtends7(); } }; testcase.run(); } } @Test(timeout=120000) public void testGoodExtends8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGoodExtends8(); } }; testcase.run(); } } @Test(timeout=120000) public void testGoodExtends9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGoodExtends9(); } }; testcase.run(); } } @Test(timeout=120000) public void testGoodExtends10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGoodExtends10(); } }; testcase.run(); } } @Test(timeout=120000) public void testGoodExtends11() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGoodExtends11(); } }; testcase.run(); } } @Test(timeout=120000) public void testBadExtends1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBadExtends1(); } }; testcase.run(); } } @Test(timeout=120000) public void testBadExtends2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBadExtends2(); } }; testcase.run(); } } @Test(timeout=120000) public void testBadExtends3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBadExtends3(); } }; testcase.run(); } } @Test(timeout=120000) public void testLateExtends() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testLateExtends(); } }; testcase.run(); } } @Test(timeout=120000) public void testSuperclassMatch() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testSuperclassMatch(); } }; testcase.run(); } } @Test(timeout=120000) public void testSuperclassMatchWithMixin() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testSuperclassMatchWithMixin(); } }; testcase.run(); } } @Test(timeout=120000) public void testSuperclassMismatch1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testSuperclassMismatch1(); } }; testcase.run(); } } @Test(timeout=120000) public void testSuperclassMismatch2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testSuperclassMismatch2(); } }; testcase.run(); } } @Test(timeout=120000) public void testSuperClassDefinedAfterSubClass1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testSuperClassDefinedAfterSubClass1(); } }; testcase.run(); } } @Test(timeout=120000) public void testSuperClassDefinedAfterSubClass2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testSuperClassDefinedAfterSubClass2(); } }; testcase.run(); } } @Test(timeout=120000) public void testDirectPrototypeAssignment1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDirectPrototypeAssignment1(); } }; testcase.run(); } } @Test(timeout=120000) public void testDirectPrototypeAssignment2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDirectPrototypeAssignment2(); } }; testcase.run(); } } @Test(timeout=120000) public void testGoodImplements1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGoodImplements1(); } }; testcase.run(); } } @Test(timeout=120000) public void testGoodImplements2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGoodImplements2(); } }; testcase.run(); } } @Test(timeout=120000) public void testBadImplements1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBadImplements1(); } }; testcase.run(); } } @Test(timeout=120000) public void testBadImplements2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBadImplements2(); } }; testcase.run(); } } @Test(timeout=120000) public void testBadImplements3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBadImplements3(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceExtends() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceExtends(); } }; testcase.run(); } } @Test(timeout=120000) public void testBadInterfaceExtends1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBadInterfaceExtends1(); } }; testcase.run(); } } @Test(timeout=120000) public void testBadInterfaceExtends2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBadInterfaceExtends2(); } }; testcase.run(); } } @Test(timeout=120000) public void testBadInterfaceExtends3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBadInterfaceExtends3(); } }; testcase.run(); } } @Test(timeout=120000) public void testBadInterfaceExtends4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBadInterfaceExtends4(); } }; testcase.run(); } } @Test(timeout=120000) public void testBadInterfaceExtends5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBadInterfaceExtends5(); } }; testcase.run(); } } @Test(timeout=120000) public void testBadImplementsAConstructor() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBadImplementsAConstructor(); } }; testcase.run(); } } @Test(timeout=120000) public void testBadImplementsNonInterfaceType() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBadImplementsNonInterfaceType(); } }; testcase.run(); } } @Test(timeout=120000) public void testBadImplementsNonObjectType() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBadImplementsNonObjectType(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceAssignment1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceAssignment1(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceAssignment2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceAssignment2(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceAssignment3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceAssignment3(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceAssignment4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceAssignment4(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceAssignment5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceAssignment5(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceAssignment6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceAssignment6(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceAssignment7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceAssignment7(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceAssignment8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceAssignment8(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceAssignment9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceAssignment9(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceAssignment10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceAssignment10(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceAssignment11() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceAssignment11(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceAssignment12() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceAssignment12(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceAssignment13() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceAssignment13(); } }; testcase.run(); } } @Test(timeout=120000) public void testGetprop1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGetprop1(); } }; testcase.run(); } } @Test(timeout=120000) public void testArrayAccess1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testArrayAccess1(); } }; testcase.run(); } } @Test(timeout=120000) public void testArrayAccess2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testArrayAccess2(); } }; testcase.run(); } } @Test(timeout=120000) public void testArrayAccess3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testArrayAccess3(); } }; testcase.run(); } } @Test(timeout=120000) public void testArrayAccess4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testArrayAccess4(); } }; testcase.run(); } } @Test(timeout=120000) public void testArrayAccess6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testArrayAccess6(); } }; testcase.run(); } } @Test(timeout=120000) public void testArrayAccess7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testArrayAccess7(); } }; testcase.run(); } } @Test(timeout=120000) public void testArrayAccess8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testArrayAccess8(); } }; testcase.run(); } } @Test(timeout=120000) public void testPropAccess() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testPropAccess(); } }; testcase.run(); } } @Test(timeout=120000) public void testPropAccess2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testPropAccess2(); } }; testcase.run(); } } @Test(timeout=120000) public void testPropAccess3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testPropAccess3(); } }; testcase.run(); } } @Test(timeout=120000) public void testPropAccess4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testPropAccess4(); } }; testcase.run(); } } @Test(timeout=120000) public void testSwitchCase1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testSwitchCase1(); } }; testcase.run(); } } @Test(timeout=120000) public void testSwitchCase2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testSwitchCase2(); } }; testcase.run(); } } @Test(timeout=120000) public void testVar1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testVar1(); } }; testcase.run(); } } @Test(timeout=120000) public void testVar2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testVar2(); } }; testcase.run(); } } @Test(timeout=120000) public void testVar3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testVar3(); } }; testcase.run(); } } @Test(timeout=120000) public void testVar4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testVar4(); } }; testcase.run(); } } @Test(timeout=120000) public void testVar5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testVar5(); } }; testcase.run(); } } @Test(timeout=120000) public void testVar6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testVar6(); } }; testcase.run(); } } @Test(timeout=120000) public void testVar7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testVar7(); } }; testcase.run(); } } @Test(timeout=120000) public void testVar8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testVar8(); } }; testcase.run(); } } @Test(timeout=120000) public void testVar9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testVar9(); } }; testcase.run(); } } @Test(timeout=120000) public void testVar10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testVar10(); } }; testcase.run(); } } @Test(timeout=120000) public void testVar11() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testVar11(); } }; testcase.run(); } } @Test(timeout=120000) public void testVar12() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testVar12(); } }; testcase.run(); } } @Test(timeout=120000) public void testVar13() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testVar13(); } }; testcase.run(); } } @Test(timeout=120000) public void testVar14() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testVar14(); } }; testcase.run(); } } @Test(timeout=120000) public void testVar15() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testVar15(); } }; testcase.run(); } } @Test(timeout=120000) public void testAssign1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAssign1(); } }; testcase.run(); } } @Test(timeout=120000) public void testAssign2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAssign2(); } }; testcase.run(); } } @Test(timeout=120000) public void testAssign3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAssign3(); } }; testcase.run(); } } @Test(timeout=120000) public void testAssign4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAssign4(); } }; testcase.run(); } } @Test(timeout=120000) public void testAssignInference() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAssignInference(); } }; testcase.run(); } } @Test(timeout=120000) public void testOr1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOr1(); } }; testcase.run(); } } @Test(timeout=120000) public void testOr2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOr2(); } }; testcase.run(); } } @Test(timeout=120000) public void testOr3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOr3(); } }; testcase.run(); } } @Test(timeout=120000) public void testOr4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOr4(); } }; testcase.run(); } } @Test(timeout=120000) public void testOr5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOr5(); } }; testcase.run(); } } @Test(timeout=120000) public void testAnd1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAnd1(); } }; testcase.run(); } } @Test(timeout=120000) public void testAnd2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAnd2(); } }; testcase.run(); } } @Test(timeout=120000) public void testAnd3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAnd3(); } }; testcase.run(); } } @Test(timeout=120000) public void testAnd4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAnd4(); } }; testcase.run(); } } @Test(timeout=120000) public void testAnd5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAnd5(); } }; testcase.run(); } } @Test(timeout=120000) public void testAnd6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAnd6(); } }; testcase.run(); } } @Test(timeout=120000) public void testAnd7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAnd7(); } }; testcase.run(); } } @Test(timeout=120000) public void testHookRestrictsType1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testHookRestrictsType1(); } }; testcase.run(); } } @Test(timeout=120000) public void testHookRestrictsType2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testHookRestrictsType2(); } }; testcase.run(); } } @Test(timeout=120000) public void testHookRestrictsType3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testHookRestrictsType3(); } }; testcase.run(); } } @Test(timeout=120000) public void testHookRestrictsType4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testHookRestrictsType4(); } }; testcase.run(); } } @Test(timeout=120000) public void testHookRestrictsType5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testHookRestrictsType5(); } }; testcase.run(); } } @Test(timeout=120000) public void testHookRestrictsType6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testHookRestrictsType6(); } }; testcase.run(); } } @Test(timeout=120000) public void testHookRestrictsType7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testHookRestrictsType7(); } }; testcase.run(); } } @Test(timeout=120000) public void testWhileRestrictsType1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testWhileRestrictsType1(); } }; testcase.run(); } } @Test(timeout=120000) public void testWhileRestrictsType2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testWhileRestrictsType2(); } }; testcase.run(); } } @Test(timeout=120000) public void testHigherOrderFunctions1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testHigherOrderFunctions1(); } }; testcase.run(); } } @Test(timeout=120000) public void testHigherOrderFunctions2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testHigherOrderFunctions2(); } }; testcase.run(); } } @Test(timeout=120000) public void testHigherOrderFunctions3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testHigherOrderFunctions3(); } }; testcase.run(); } } @Test(timeout=120000) public void testHigherOrderFunctions4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testHigherOrderFunctions4(); } }; testcase.run(); } } @Test(timeout=120000) public void testConstructorAlias1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testConstructorAlias1(); } }; testcase.run(); } } @Test(timeout=120000) public void testConstructorAlias2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testConstructorAlias2(); } }; testcase.run(); } } @Test(timeout=120000) public void testConstructorAlias3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testConstructorAlias3(); } }; testcase.run(); } } @Test(timeout=120000) public void testConstructorAlias4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testConstructorAlias4(); } }; testcase.run(); } } @Test(timeout=120000) public void testConstructorAlias5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testConstructorAlias5(); } }; testcase.run(); } } @Test(timeout=120000) public void testConstructorAlias6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testConstructorAlias6(); } }; testcase.run(); } } @Test(timeout=120000) public void testConstructorAlias7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testConstructorAlias7(); } }; testcase.run(); } } @Test(timeout=120000) public void testConstructorAlias8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testConstructorAlias8(); } }; testcase.run(); } } @Test(timeout=120000) public void testConstructorAlias9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testConstructorAlias9(); } }; testcase.run(); } } @Test(timeout=120000) public void testConstructorAlias10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testConstructorAlias10(); } }; testcase.run(); } } @Test(timeout=120000) public void testClosure1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testClosure1(); } }; testcase.run(); } } @Test(timeout=120000) public void testClosure2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testClosure2(); } }; testcase.run(); } } @Test(timeout=120000) public void testClosure3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testClosure3(); } }; testcase.run(); } } @Test(timeout=120000) public void testClosure4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testClosure4(); } }; testcase.run(); } } @Test(timeout=120000) public void testClosure5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testClosure5(); } }; testcase.run(); } } @Test(timeout=120000) public void testClosure6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testClosure6(); } }; testcase.run(); } } @Test(timeout=120000) public void testReturn1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testReturn1(); } }; testcase.run(); } } @Test(timeout=120000) public void testReturn2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testReturn2(); } }; testcase.run(); } } @Test(timeout=120000) public void testReturn3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testReturn3(); } }; testcase.run(); } } @Test(timeout=120000) public void testReturn4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testReturn4(); } }; testcase.run(); } } @Test(timeout=120000) public void testReturn5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testReturn5(); } }; testcase.run(); } } @Test(timeout=120000) public void testReturn6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testReturn6(); } }; testcase.run(); } } @Test(timeout=120000) public void testReturn7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testReturn7(); } }; testcase.run(); } } @Test(timeout=120000) public void testReturn8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testReturn8(); } }; testcase.run(); } } @Test(timeout=120000) public void testThis1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testThis1(); } }; testcase.run(); } } @Test(timeout=120000) public void testThis2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testThis2(); } }; testcase.run(); } } @Test(timeout=120000) public void testThis3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testThis3(); } }; testcase.run(); } } @Test(timeout=120000) public void testThis4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testThis4(); } }; testcase.run(); } } @Test(timeout=120000) public void testThis5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testThis5(); } }; testcase.run(); } } @Test(timeout=120000) public void testThis6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testThis6(); } }; testcase.run(); } } @Test(timeout=120000) public void testThis7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testThis7(); } }; testcase.run(); } } @Test(timeout=120000) public void testThis8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testThis8(); } }; testcase.run(); } } @Test(timeout=120000) public void testThis9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testThis9(); } }; testcase.run(); } } @Test(timeout=120000) public void testThis10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testThis10(); } }; testcase.run(); } } @Test(timeout=120000) public void testControlFlowRestrictsType2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testControlFlowRestrictsType2(); } }; testcase.run(); } } @Test(timeout=120000) public void testControlFlowRestrictsType3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testControlFlowRestrictsType3(); } }; testcase.run(); } } @Test(timeout=120000) public void testControlFlowRestrictsType4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testControlFlowRestrictsType4(); } }; testcase.run(); } } @Test(timeout=120000) public void testControlFlowRestrictsType5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testControlFlowRestrictsType5(); } }; testcase.run(); } } @Test(timeout=120000) public void testControlFlowRestrictsType6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testControlFlowRestrictsType6(); } }; testcase.run(); } } @Test(timeout=120000) public void testControlFlowRestrictsType7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testControlFlowRestrictsType7(); } }; testcase.run(); } } @Test(timeout=120000) public void testControlFlowRestrictsType8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testControlFlowRestrictsType8(); } }; testcase.run(); } } @Test(timeout=120000) public void testControlFlowRestrictsType9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testControlFlowRestrictsType9(); } }; testcase.run(); } } @Test(timeout=120000) public void testSwitchCase3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testSwitchCase3(); } }; testcase.run(); } } @Test(timeout=120000) public void testSwitchCase4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testSwitchCase4(); } }; testcase.run(); } } @Test(timeout=120000) public void testSwitchCase5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testSwitchCase5(); } }; testcase.run(); } } @Test(timeout=120000) public void testSwitchCase6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testSwitchCase6(); } }; testcase.run(); } } @Test(timeout=120000) public void testSwitchCase7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testSwitchCase7(); } }; testcase.run(); } } @Test(timeout=120000) public void testSwitchCase8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testSwitchCase8(); } }; testcase.run(); } } @Test(timeout=120000) public void testNoTypeCheck1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNoTypeCheck1(); } }; testcase.run(); } } @Test(timeout=120000) public void testNoTypeCheck2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNoTypeCheck2(); } }; testcase.run(); } } @Test(timeout=120000) public void testNoTypeCheck3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNoTypeCheck3(); } }; testcase.run(); } } @Test(timeout=120000) public void testNoTypeCheck4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNoTypeCheck4(); } }; testcase.run(); } } @Test(timeout=120000) public void testNoTypeCheck5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNoTypeCheck5(); } }; testcase.run(); } } @Test(timeout=120000) public void testNoTypeCheck6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNoTypeCheck6(); } }; testcase.run(); } } @Test(timeout=120000) public void testNoTypeCheck7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNoTypeCheck7(); } }; testcase.run(); } } @Test(timeout=120000) public void testNoTypeCheck8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNoTypeCheck8(); } }; testcase.run(); } } @Test(timeout=120000) public void testImplicitCast() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testImplicitCast(); } }; testcase.run(); } } @Test(timeout=120000) public void testImplicitCastSubclassAccess() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testImplicitCastSubclassAccess(); } }; testcase.run(); } } @Test(timeout=120000) public void testImplicitCastNotInExterns() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testImplicitCastNotInExterns(); } }; testcase.run(); } } @Test(timeout=120000) public void testNumberNode() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNumberNode(); } }; testcase.run(); } } @Test(timeout=120000) public void testStringNode() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testStringNode(); } }; testcase.run(); } } @Test(timeout=120000) public void testBooleanNodeTrue() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBooleanNodeTrue(); } }; testcase.run(); } } @Test(timeout=120000) public void testBooleanNodeFalse() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBooleanNodeFalse(); } }; testcase.run(); } } @Test(timeout=120000) public void testUndefinedNode() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testUndefinedNode(); } }; testcase.run(); } } @Test(timeout=120000) public void testNumberAutoboxing() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNumberAutoboxing(); } }; testcase.run(); } } @Test(timeout=120000) public void testNumberUnboxing() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNumberUnboxing(); } }; testcase.run(); } } @Test(timeout=120000) public void testStringAutoboxing() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testStringAutoboxing(); } }; testcase.run(); } } @Test(timeout=120000) public void testStringUnboxing() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testStringUnboxing(); } }; testcase.run(); } } @Test(timeout=120000) public void testBooleanAutoboxing() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBooleanAutoboxing(); } }; testcase.run(); } } @Test(timeout=120000) public void testBooleanUnboxing() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBooleanUnboxing(); } }; testcase.run(); } } @Test(timeout=120000) public void testIssue86() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIssue86(); } }; testcase.run(); } } @Test(timeout=120000) public void testIssue124() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIssue124(); } }; testcase.run(); } } @Test(timeout=120000) public void testIssue124b() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIssue124b(); } }; testcase.run(); } } @Test(timeout=120000) public void testBug592170() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBug592170(); } }; testcase.run(); } } @Test(timeout=120000) public void testBug901455() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBug901455(); } }; testcase.run(); } } @Test(timeout=120000) public void testBug908701() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBug908701(); } }; testcase.run(); } } @Test(timeout=120000) public void testBug908625() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBug908625(); } }; testcase.run(); } } @Test(timeout=120000) public void testBug911118() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBug911118(); } }; testcase.run(); } } @Test(timeout=120000) public void testBug909000() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBug909000(); } }; testcase.run(); } } @Test(timeout=120000) public void testBug930117() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBug930117(); } }; testcase.run(); } } @Test(timeout=120000) public void testBug1484445() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBug1484445(); } }; testcase.run(); } } @Test(timeout=120000) public void testBug1859535() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBug1859535(); } }; testcase.run(); } } @Test(timeout=120000) public void testBug1940591() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBug1940591(); } }; testcase.run(); } } @Test(timeout=120000) public void testBug1942972() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBug1942972(); } }; testcase.run(); } } @Test(timeout=120000) public void testBug1943776() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBug1943776(); } }; testcase.run(); } } @Test(timeout=120000) public void testBug1987544() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBug1987544(); } }; testcase.run(); } } @Test(timeout=120000) public void testBug1940769() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBug1940769(); } }; testcase.run(); } } @Test(timeout=120000) public void testBug2335992() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBug2335992(); } }; testcase.run(); } } @Test(timeout=120000) public void testBug2341812() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBug2341812(); } }; testcase.run(); } } @Test(timeout=120000) public void testQualifiedNameInference1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testQualifiedNameInference1(); } }; testcase.run(); } } @Test(timeout=120000) public void testQualifiedNameInference2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testQualifiedNameInference2(); } }; testcase.run(); } } @Test(timeout=120000) public void testQualifiedNameInference3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testQualifiedNameInference3(); } }; testcase.run(); } } @Test(timeout=120000) public void testQualifiedNameInference4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testQualifiedNameInference4(); } }; testcase.run(); } } @Test(timeout=120000) public void testSheqRefinedScope() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testSheqRefinedScope(); } }; testcase.run(); } } @Test(timeout=120000) public void testAssignToUntypedVariable() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAssignToUntypedVariable(); } }; testcase.run(); } } @Test(timeout=120000) public void testAssignToUntypedProperty() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAssignToUntypedProperty(); } }; testcase.run(); } } @Test(timeout=120000) public void testNew1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNew1(); } }; testcase.run(); } } @Test(timeout=120000) public void testNew2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNew2(); } }; testcase.run(); } } @Test(timeout=120000) public void testNew3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNew3(); } }; testcase.run(); } } @Test(timeout=120000) public void testNew4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNew4(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionCall4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionCall4(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionCall5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionCall5(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionCall6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionCall6(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionCall7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionCall7(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionCall8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionCall8(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast2(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast3(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast4(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast5(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast6(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast7(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast8(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast9(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast10(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast11() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast11(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast12() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast12(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast13() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast13(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast14() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast14(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast15() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast15(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast16() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast16(); } }; testcase.run(); } } @Test(timeout=120000) public void testNestedCasts() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNestedCasts(); } }; testcase.run(); } } @Test(timeout=120000) public void testNativeCast1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNativeCast1(); } }; testcase.run(); } } @Test(timeout=120000) public void testNativeCast2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNativeCast2(); } }; testcase.run(); } } @Test(timeout=120000) public void testNativeCast3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNativeCast3(); } }; testcase.run(); } } @Test(timeout=120000) public void testNativeCast4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNativeCast4(); } }; testcase.run(); } } @Test(timeout=120000) public void testBadConstructorCall() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBadConstructorCall(); } }; testcase.run(); } } @Test(timeout=120000) public void testConstructorType1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testConstructorType1(); } }; testcase.run(); } } @Test(timeout=120000) public void testConstructorType2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testConstructorType2(); } }; testcase.run(); } } @Test(timeout=120000) public void testConstructorType3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testConstructorType3(); } }; testcase.run(); } } @Test(timeout=120000) public void testConstructorType4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testConstructorType4(); } }; testcase.run(); } } @Test(timeout=120000) public void testConstructorType5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testConstructorType5(); } }; testcase.run(); } } @Test(timeout=120000) public void testConstructorType6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testConstructorType6(); } }; testcase.run(); } } @Test(timeout=120000) public void testConstructorType7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testConstructorType7(); } }; testcase.run(); } } @Test(timeout=120000) public void testAnonymousType1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAnonymousType1(); } }; testcase.run(); } } @Test(timeout=120000) public void testAnonymousType2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAnonymousType2(); } }; testcase.run(); } } @Test(timeout=120000) public void testAnonymousType3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAnonymousType3(); } }; testcase.run(); } } @Test(timeout=120000) public void testBang1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBang1(); } }; testcase.run(); } } @Test(timeout=120000) public void testBang2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBang2(); } }; testcase.run(); } } @Test(timeout=120000) public void testBang3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBang3(); } }; testcase.run(); } } @Test(timeout=120000) public void testBang4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBang4(); } }; testcase.run(); } } @Test(timeout=120000) public void testBang5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBang5(); } }; testcase.run(); } } @Test(timeout=120000) public void testBang6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBang6(); } }; testcase.run(); } } @Test(timeout=120000) public void testBang7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBang7(); } }; testcase.run(); } } @Test(timeout=120000) public void testDefinePropertyOnNullableObject1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDefinePropertyOnNullableObject1(); } }; testcase.run(); } } @Test(timeout=120000) public void testDefinePropertyOnNullableObject2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDefinePropertyOnNullableObject2(); } }; testcase.run(); } } @Test(timeout=120000) public void testUnknownConstructorInstanceType1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testUnknownConstructorInstanceType1(); } }; testcase.run(); } } @Test(timeout=120000) public void testUnknownConstructorInstanceType2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testUnknownConstructorInstanceType2(); } }; testcase.run(); } } @Test(timeout=120000) public void testUnknownConstructorInstanceType3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testUnknownConstructorInstanceType3(); } }; testcase.run(); } } @Test(timeout=120000) public void testUnknownPrototypeChain() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testUnknownPrototypeChain(); } }; testcase.run(); } } @Test(timeout=120000) public void testNamespacedConstructor() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNamespacedConstructor(); } }; testcase.run(); } } @Test(timeout=120000) public void testComplexNamespace() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testComplexNamespace(); } }; testcase.run(); } } @Test(timeout=120000) public void testAddingMethodsUsingPrototypeIdiomSimpleNamespace() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAddingMethodsUsingPrototypeIdiomSimpleNamespace(); } }; testcase.run(); } } @Test(timeout=120000) public void testAddingMethodsUsingPrototypeIdiomComplexNamespace1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAddingMethodsUsingPrototypeIdiomComplexNamespace1(); } }; testcase.run(); } } @Test(timeout=120000) public void testAddingMethodsUsingPrototypeIdiomComplexNamespace2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAddingMethodsUsingPrototypeIdiomComplexNamespace2(); } }; testcase.run(); } } @Test(timeout=120000) public void testAddingMethodsPrototypeIdiomAndObjectLiteralSimpleNamespace() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAddingMethodsPrototypeIdiomAndObjectLiteralSimpleNamespace(); } }; testcase.run(); } } @Test(timeout=120000) public void testDontAddMethodsIfNoConstructor() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDontAddMethodsIfNoConstructor(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionAssignement() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionAssignement(); } }; testcase.run(); } } @Test(timeout=120000) public void testAddMethodsPrototypeTwoWays() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAddMethodsPrototypeTwoWays(); } }; testcase.run(); } } @Test(timeout=120000) public void testPrototypePropertyTypes() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testPrototypePropertyTypes(); } }; testcase.run(); } } @Test(timeout=120000) public void testValueTypeBuiltInPrototypePropertyType() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testValueTypeBuiltInPrototypePropertyType(); } }; testcase.run(); } } @Test(timeout=120000) public void testDeclareBuiltInConstructor() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDeclareBuiltInConstructor(); } }; testcase.run(); } } @Test(timeout=120000) public void testExtendBuiltInType1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testExtendBuiltInType1(); } }; testcase.run(); } } @Test(timeout=120000) public void testExtendBuiltInType2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testExtendBuiltInType2(); } }; testcase.run(); } } @Test(timeout=120000) public void testExtendFunction1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testExtendFunction1(); } }; testcase.run(); } } @Test(timeout=120000) public void testExtendFunction2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testExtendFunction2(); } }; testcase.run(); } } @Test(timeout=120000) public void testInheritanceCheck1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInheritanceCheck1(); } }; testcase.run(); } } @Test(timeout=120000) public void testInheritanceCheck2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInheritanceCheck2(); } }; testcase.run(); } } @Test(timeout=120000) public void testInheritanceCheck3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInheritanceCheck3(); } }; testcase.run(); } } @Test(timeout=120000) public void testInheritanceCheck4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInheritanceCheck4(); } }; testcase.run(); } } @Test(timeout=120000) public void testInheritanceCheck5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInheritanceCheck5(); } }; testcase.run(); } } @Test(timeout=120000) public void testInheritanceCheck6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInheritanceCheck6(); } }; testcase.run(); } } @Test(timeout=120000) public void testInheritanceCheck7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInheritanceCheck7(); } }; testcase.run(); } } @Test(timeout=120000) public void testInheritanceCheck8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInheritanceCheck8(); } }; testcase.run(); } } @Test(timeout=120000) public void testInheritanceCheck9_1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInheritanceCheck9_1(); } }; testcase.run(); } } @Test(timeout=120000) public void testInheritanceCheck9_2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInheritanceCheck9_2(); } }; testcase.run(); } } @Test(timeout=120000) public void testInheritanceCheck9_3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInheritanceCheck9_3(); } }; testcase.run(); } } @Test(timeout=120000) public void testInheritanceCheck10_1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInheritanceCheck10_1(); } }; testcase.run(); } } @Test(timeout=120000) public void testInheritanceCheck10_2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInheritanceCheck10_2(); } }; testcase.run(); } } @Test(timeout=120000) public void testInheritanceCheck10_3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInheritanceCheck10_3(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceInheritanceCheck11() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceInheritanceCheck11(); } }; testcase.run(); } } @Test(timeout=120000) public void testInheritanceCheck12() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInheritanceCheck12(); } }; testcase.run(); } } @Test(timeout=120000) public void testInheritanceCheck13() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInheritanceCheck13(); } }; testcase.run(); } } @Test(timeout=120000) public void testInheritanceCheck14() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInheritanceCheck14(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceInheritanceCheck1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceInheritanceCheck1(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceInheritanceCheck2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceInheritanceCheck2(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceInheritanceCheck3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceInheritanceCheck3(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceInheritanceCheck4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceInheritanceCheck4(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceInheritanceCheck5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceInheritanceCheck5(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceInheritanceCheck6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceInheritanceCheck6(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceInheritanceCheck7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceInheritanceCheck7(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceInheritanceCheck8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceInheritanceCheck8(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfacePropertyNotImplemented() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfacePropertyNotImplemented(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfacePropertyNotImplemented2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfacePropertyNotImplemented2(); } }; testcase.run(); } } @Test(timeout=120000) public void testStubConstructorImplementingInterface() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testStubConstructorImplementingInterface(); } }; testcase.run(); } } @Test(timeout=120000) public void testObjectLiteralDeclaration1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testObjectLiteralDeclaration1(); } }; testcase.run(); } } @Test(timeout=120000) public void testCallDateConstructorAsFunction() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCallDateConstructorAsFunction(); } }; testcase.run(); } } @Test(timeout=120000) public void testCallErrorConstructorAsFunction() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCallErrorConstructorAsFunction(); } }; testcase.run(); } } @Test(timeout=120000) public void testCallArrayConstructorAsFunction() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCallArrayConstructorAsFunction(); } }; testcase.run(); } } @Test(timeout=120000) public void testPropertyTypeOfUnionType() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testPropertyTypeOfUnionType(); } }; testcase.run(); } } @Test(timeout=120000) public void testAnnotatedPropertyOnInterface1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAnnotatedPropertyOnInterface1(); } }; testcase.run(); } } @Test(timeout=120000) public void testAnnotatedPropertyOnInterface2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAnnotatedPropertyOnInterface2(); } }; testcase.run(); } } @Test(timeout=120000) public void testAnnotatedPropertyOnInterface3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAnnotatedPropertyOnInterface3(); } }; testcase.run(); } } @Test(timeout=120000) public void testAnnotatedPropertyOnInterface4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAnnotatedPropertyOnInterface4(); } }; testcase.run(); } } @Test(timeout=120000) public void testWarnUnannotatedPropertyOnInterface5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testWarnUnannotatedPropertyOnInterface5(); } }; testcase.run(); } } @Test(timeout=120000) public void testWarnUnannotatedPropertyOnInterface6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testWarnUnannotatedPropertyOnInterface6(); } }; testcase.run(); } } @Test(timeout=120000) public void testWarnDataPropertyOnInterface3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testWarnDataPropertyOnInterface3(); } }; testcase.run(); } } @Test(timeout=120000) public void testWarnDataPropertyOnInterface4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testWarnDataPropertyOnInterface4(); } }; testcase.run(); } } @Test(timeout=120000) public void testErrorMismatchingPropertyOnInterface4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testErrorMismatchingPropertyOnInterface4(); } }; testcase.run(); } } @Test(timeout=120000) public void testErrorMismatchingPropertyOnInterface5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testErrorMismatchingPropertyOnInterface5(); } }; testcase.run(); } } @Test(timeout=120000) public void testErrorMismatchingPropertyOnInterface6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testErrorMismatchingPropertyOnInterface6(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceNonEmptyFunction() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceNonEmptyFunction(); } }; testcase.run(); } } @Test(timeout=120000) public void testDoubleNestedInterface() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDoubleNestedInterface(); } }; testcase.run(); } } @Test(timeout=120000) public void testStaticDataPropertyOnNestedInterface() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testStaticDataPropertyOnNestedInterface(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceInstantiation() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceInstantiation(); } }; testcase.run(); } } @Test(timeout=120000) public void testPrototypeLoop() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testPrototypeLoop(); } }; testcase.run(); } } @Test(timeout=120000) public void testDirectPrototypeAssign() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDirectPrototypeAssign(); } }; testcase.run(); } } @Test(timeout=120000) public void testResolutionViaRegistry1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testResolutionViaRegistry1(); } }; testcase.run(); } } @Test(timeout=120000) public void testResolutionViaRegistry2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testResolutionViaRegistry2(); } }; testcase.run(); } } @Test(timeout=120000) public void testResolutionViaRegistry3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testResolutionViaRegistry3(); } }; testcase.run(); } } @Test(timeout=120000) public void testResolutionViaRegistry4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testResolutionViaRegistry4(); } }; testcase.run(); } } @Test(timeout=120000) public void testResolutionViaRegistry5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testResolutionViaRegistry5(); } }; testcase.run(); } } @Test(timeout=120000) public void testGatherProperyWithoutAnnotation1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGatherProperyWithoutAnnotation1(); } }; testcase.run(); } } @Test(timeout=120000) public void testGatherProperyWithoutAnnotation2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGatherProperyWithoutAnnotation2(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionMasksVariableBug() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionMasksVariableBug(); } }; testcase.run(); } } @Test(timeout=120000) public void testDfa1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDfa1(); } }; testcase.run(); } } @Test(timeout=120000) public void testDfa2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDfa2(); } }; testcase.run(); } } @Test(timeout=120000) public void testDfa3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDfa3(); } }; testcase.run(); } } @Test(timeout=120000) public void testDfa4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDfa4(); } }; testcase.run(); } } @Test(timeout=120000) public void testDfa5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDfa5(); } }; testcase.run(); } } @Test(timeout=120000) public void testDfa6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDfa6(); } }; testcase.run(); } } @Test(timeout=120000) public void testDfa7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDfa7(); } }; testcase.run(); } } @Test(timeout=120000) public void testDfa8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDfa8(); } }; testcase.run(); } } @Test(timeout=120000) public void testDfa9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDfa9(); } }; testcase.run(); } } @Test(timeout=120000) public void testDfa10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDfa10(); } }; testcase.run(); } } @Test(timeout=120000) public void testDfa11() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDfa11(); } }; testcase.run(); } } @Test(timeout=120000) public void testDfa12() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDfa12(); } }; testcase.run(); } } @Test(timeout=120000) public void testDfa13() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDfa13(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeInferenceWithCast1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeInferenceWithCast1(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeInferenceWithCast2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeInferenceWithCast2(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeInferenceWithCast3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeInferenceWithCast3(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeInferenceWithCast4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeInferenceWithCast4(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeInferenceWithCast5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeInferenceWithCast5(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeInferenceWithClosure1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeInferenceWithClosure1(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeInferenceWithClosure2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeInferenceWithClosure2(); } }; testcase.run(); } } @Test(timeout=120000) public void testForwardPropertyReference() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testForwardPropertyReference(); } }; testcase.run(); } } @Test(timeout=120000) public void testNoForwardTypeDeclaration() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNoForwardTypeDeclaration(); } }; testcase.run(); } } @Test(timeout=120000) public void testNoForwardTypeDeclarationAndNoBraces() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNoForwardTypeDeclarationAndNoBraces(); } }; testcase.run(); } } @Test(timeout=120000) public void testForwardTypeDeclaration1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testForwardTypeDeclaration1(); } }; testcase.run(); } } @Test(timeout=120000) public void testForwardTypeDeclaration2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testForwardTypeDeclaration2(); } }; testcase.run(); } } @Test(timeout=120000) public void testForwardTypeDeclaration3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testForwardTypeDeclaration3(); } }; testcase.run(); } } @Test(timeout=120000) public void testDuplicateTypeDef() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDuplicateTypeDef(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeDef1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeDef1(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeDef2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeDef2(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeDef3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeDef3(); } }; testcase.run(); } } @Test(timeout=120000) public void testCircularTypeDef() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCircularTypeDef(); } }; testcase.run(); } } @Test(timeout=120000) public void testGetTypedPercent1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGetTypedPercent1(); } }; testcase.run(); } } @Test(timeout=120000) public void testGetTypedPercent2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGetTypedPercent2(); } }; testcase.run(); } } @Test(timeout=120000) public void testGetTypedPercent3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGetTypedPercent3(); } }; testcase.run(); } } @Test(timeout=120000) public void testGetTypedPercent4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGetTypedPercent4(); } }; testcase.run(); } } @Test(timeout=120000) public void testPrototypePropertyReference() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testPrototypePropertyReference(); } }; testcase.run(); } } @Test(timeout=120000) public void testResolvingNamedTypes() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testResolvingNamedTypes(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty1(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty2(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty3(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty4(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty5(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty6(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty7(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty8(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty9(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty10(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty11() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty11(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty12() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty12(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty13() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty13(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty14() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty14(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty15() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty15(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty16() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty16(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty17() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty17(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty18() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty18(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty19() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty19(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty21() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty21(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty22() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty22(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty23() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty23(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty24() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty24(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty25() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty25(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty26() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty26(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty27() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty27(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty28() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty28(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty29() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty29(); } }; testcase.run(); } } @Test(timeout=120000) public void testDeclaredNativeTypeEquality() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDeclaredNativeTypeEquality(); } }; testcase.run(); } } @Test(timeout=120000) public void testUndefinedVar() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testUndefinedVar(); } }; testcase.run(); } } @Test(timeout=120000) public void testFlowScopeBug1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFlowScopeBug1(); } }; testcase.run(); } } @Test(timeout=120000) public void testFlowScopeBug2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFlowScopeBug2(); } }; testcase.run(); } } @Test(timeout=120000) public void testAddSingletonGetter() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAddSingletonGetter(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheckStandaloneAST() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheckStandaloneAST(); } }; testcase.run(); } } @Test(timeout=120000) public void testForIn1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testForIn1(); } }; testcase.run(); } } @Test(timeout=120000) public void testForIn2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testForIn2(); } }; testcase.run(); } } @Test(timeout=120000) public void testDeleteOperator1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDeleteOperator1(); } }; testcase.run(); } } @Test(timeout=120000) public void testDeleteOperator2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDeleteOperator2(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeof2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeof2(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeof3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeof3(); } }; testcase.run(); } } @Test(timeout=120000) public void testNew5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNew5(); } }; testcase.run(); } } @Test(timeout=120000) public void testNew6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNew6(); } }; testcase.run(); } } @Test(timeout=120000) public void testNew7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNew7(); } }; testcase.run(); } } @Test(timeout=120000) public void testNew8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNew8(); } }; testcase.run(); } } @Test(timeout=120000) public void testNew9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNew9(); } }; testcase.run(); } } @Test(timeout=120000) public void testNew10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNew10(); } }; testcase.run(); } } @Test(timeout=120000) public void testNew11() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNew11(); } }; testcase.run(); } } @Test(timeout=120000) public void testNew12() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNew12(); } }; testcase.run(); } } @Test(timeout=120000) public void testNew13() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNew13(); } }; testcase.run(); } } @Test(timeout=120000) public void testNew14() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNew14(); } }; testcase.run(); } } @Test(timeout=120000) public void testNew15() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNew15(); } }; testcase.run(); } } @Test(timeout=120000) public void testNew16() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNew16(); } }; testcase.run(); } } @Test(timeout=120000) public void testName1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testName1(); } }; testcase.run(); } } @Test(timeout=120000) public void testName2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testName2(); } }; testcase.run(); } } @Test(timeout=120000) public void testName3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testName3(); } }; testcase.run(); } } @Test(timeout=120000) public void testName4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testName4(); } }; testcase.run(); } } @Test(timeout=120000) public void testName5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testName5(); } }; testcase.run(); } } @Test(timeout=120000) public void testBitOperation1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBitOperation1(); } }; testcase.run(); } } @Test(timeout=120000) public void testBitOperation2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBitOperation2(); } }; testcase.run(); } } @Test(timeout=120000) public void testBitOperation3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBitOperation3(); } }; testcase.run(); } } @Test(timeout=120000) public void testBitOperation4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBitOperation4(); } }; testcase.run(); } } @Test(timeout=120000) public void testBitOperation5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBitOperation5(); } }; testcase.run(); } } @Test(timeout=120000) public void testBitOperation6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBitOperation6(); } }; testcase.run(); } } @Test(timeout=120000) public void testBitOperation7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBitOperation7(); } }; testcase.run(); } } @Test(timeout=120000) public void testBitOperation8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBitOperation8(); } }; testcase.run(); } } @Test(timeout=120000) public void testBitOperation9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBitOperation9(); } }; testcase.run(); } } @Test(timeout=120000) public void testCall1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCall1(); } }; testcase.run(); } } @Test(timeout=120000) public void testCall2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCall2(); } }; testcase.run(); } } @Test(timeout=120000) public void testCall3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCall3(); } }; testcase.run(); } } @Test(timeout=120000) public void testCall4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCall4(); } }; testcase.run(); } } @Test(timeout=120000) public void testCall5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCall5(); } }; testcase.run(); } } @Test(timeout=120000) public void testCall6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCall6(); } }; testcase.run(); } } @Test(timeout=120000) public void testCall7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCall7(); } }; testcase.run(); } } @Test(timeout=120000) public void testCall8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCall8(); } }; testcase.run(); } } @Test(timeout=120000) public void testCall9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCall9(); } }; testcase.run(); } } @Test(timeout=120000) public void testCall10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCall10(); } }; testcase.run(); } } @Test(timeout=120000) public void testCall11() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCall11(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionCall1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionCall1(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionCall2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionCall2(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionCall3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionCall3(); } }; testcase.run(); } } @Test(timeout=120000) public void testHook() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testHook(); } }; testcase.run(); } } @Test(timeout=120000) public void testObjectLiteral() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testObjectLiteral(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheck16() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheck16(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeCheckCustomExterns2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeCheckCustomExterns2(); } }; testcase.run(); } } @Test(timeout=120000) public void testParameterizedObject5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testParameterizedObject5(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeOfReduction16() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeOfReduction16(); } }; testcase.run(); } } @Test(timeout=120000) public void testQualifiedNameReduction5a() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testQualifiedNameReduction5a(); } }; testcase.run(); } } @Test(timeout=120000) public void testQualifiedNameReduction5b() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testQualifiedNameReduction5b(); } }; testcase.run(); } } @Test(timeout=120000) public void testQualifiedNameReduction5c() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testQualifiedNameReduction5c(); } }; testcase.run(); } } @Test(timeout=120000) public void testQualifiedNameReduction6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testQualifiedNameReduction6(); } }; testcase.run(); } } @Test(timeout=120000) public void testQualifiedNameReduction7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testQualifiedNameReduction7(); } }; testcase.run(); } } @Test(timeout=120000) public void testQualifiedNameReduction7a() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testQualifiedNameReduction7a(); } }; testcase.run(); } } @Test(timeout=120000) public void testQualifiedNameReduction8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testQualifiedNameReduction8(); } }; testcase.run(); } } @Test(timeout=120000) public void testQualifiedNameReduction9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testQualifiedNameReduction9(); } }; testcase.run(); } } @Test(timeout=120000) public void testQualifiedNameReduction10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testQualifiedNameReduction10(); } }; testcase.run(); } } @Test(timeout=120000) public void testObjLitDef1a() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testObjLitDef1a(); } }; testcase.run(); } } @Test(timeout=120000) public void testObjLitDef1b() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testObjLitDef1b(); } }; testcase.run(); } } @Test(timeout=120000) public void testObjLitDef2a() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testObjLitDef2a(); } }; testcase.run(); } } @Test(timeout=120000) public void testObjLitDef2b() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testObjLitDef2b(); } }; testcase.run(); } } @Test(timeout=120000) public void testObjLitDef3a() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testObjLitDef3a(); } }; testcase.run(); } } @Test(timeout=120000) public void testObjLitDef3b() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testObjLitDef3b(); } }; testcase.run(); } } @Test(timeout=120000) public void testObjLitDef4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testObjLitDef4(); } }; testcase.run(); } } @Test(timeout=120000) public void testObjLitDef5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testObjLitDef5(); } }; testcase.run(); } } @Test(timeout=120000) public void testObjLitDef6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testObjLitDef6(); } }; testcase.run(); } } @Test(timeout=120000) public void testObjLitDef7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testObjLitDef7(); } }; testcase.run(); } } @Test(timeout=120000) public void testUndeclaredGlobalProperty1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testUndeclaredGlobalProperty1(); } }; testcase.run(); } } @Test(timeout=120000) public void testUndeclaredGlobalProperty2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testUndeclaredGlobalProperty2(); } }; testcase.run(); } } @Test(timeout=120000) public void testLocallyInferredGlobalProperty1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testLocallyInferredGlobalProperty1(); } }; testcase.run(); } } @Test(timeout=120000) public void testPropertyInference9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testPropertyInference9(); } }; testcase.run(); } } @Test(timeout=120000) public void testPropertyInference10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testPropertyInference10(); } }; testcase.run(); } } @Test(timeout=120000) public void testScoping12() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testScoping12(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionArguments16() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionArguments16(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionArguments17() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionArguments17(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionInference21() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionInference21(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionInference22() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionInference22(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionInference23() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionInference23(); } }; testcase.run(); } } @Test(timeout=120000) public void testInnerFunction10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInnerFunction10(); } }; testcase.run(); } } @Test(timeout=120000) public void testInnerFunction11() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInnerFunction11(); } }; testcase.run(); } } @Test(timeout=120000) public void testDuplicateStaticPropertyDec20() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDuplicateStaticPropertyDec20(); } }; testcase.run(); } } @Test(timeout=120000) public void testDuplicateInstanceMethod1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDuplicateInstanceMethod1(); } }; testcase.run(); } } @Test(timeout=120000) public void testDuplicateInstanceMethod2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDuplicateInstanceMethod2(); } }; testcase.run(); } } @Test(timeout=120000) public void testDuplicateInstanceMethod3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDuplicateInstanceMethod3(); } }; testcase.run(); } } @Test(timeout=120000) public void testDuplicateInstanceMethod4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDuplicateInstanceMethod4(); } }; testcase.run(); } } @Test(timeout=120000) public void testDuplicateInstanceMethod5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDuplicateInstanceMethod5(); } }; testcase.run(); } } @Test(timeout=120000) public void testDuplicateInstanceMethod6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDuplicateInstanceMethod6(); } }; testcase.run(); } } @Test(timeout=120000) public void testForIn3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testForIn3(); } }; testcase.run(); } } @Test(timeout=120000) public void testForIn4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testForIn4(); } }; testcase.run(); } } @Test(timeout=120000) public void testForIn5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testForIn5(); } }; testcase.run(); } } @Test(timeout=120000) public void testComparison11() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testComparison11(); } }; testcase.run(); } } @Test(timeout=120000) public void testComparison12() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testComparison12(); } }; testcase.run(); } } @Test(timeout=120000) public void testComparison13() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testComparison13(); } }; testcase.run(); } } @Test(timeout=120000) public void testComparison14() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testComparison14(); } }; testcase.run(); } } @Test(timeout=120000) public void testComparison15() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testComparison15(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum41() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum41(); } }; testcase.run(); } } @Test(timeout=120000) public void testEnum42() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testEnum42(); } }; testcase.run(); } } @Test(timeout=120000) public void testBackwardsTypedefUse2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBackwardsTypedefUse2(); } }; testcase.run(); } } @Test(timeout=120000) public void testBackwardsTypedefUse4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBackwardsTypedefUse4(); } }; testcase.run(); } } @Test(timeout=120000) public void testBackwardsTypedefUse6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBackwardsTypedefUse6(); } }; testcase.run(); } } @Test(timeout=120000) public void testBackwardsTypedefUse7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBackwardsTypedefUse7(); } }; testcase.run(); } } @Test(timeout=120000) public void testBackwardsTypedefUse8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBackwardsTypedefUse8(); } }; testcase.run(); } } @Test(timeout=120000) public void testBackwardsTypedefUse9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBackwardsTypedefUse9(); } }; testcase.run(); } } @Test(timeout=120000) public void testBackwardsTypedefUse10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBackwardsTypedefUse10(); } }; testcase.run(); } } @Test(timeout=120000) public void testGoodExtends12() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGoodExtends12(); } }; testcase.run(); } } @Test(timeout=120000) public void testGoodExtends13() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGoodExtends13(); } }; testcase.run(); } } @Test(timeout=120000) public void testGoodExtends14() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGoodExtends14(); } }; testcase.run(); } } @Test(timeout=120000) public void testGoodExtends15() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGoodExtends15(); } }; testcase.run(); } } @Test(timeout=120000) public void testGoodExtends16() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGoodExtends16(); } }; testcase.run(); } } @Test(timeout=120000) public void testGoodExtends17() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGoodExtends17(); } }; testcase.run(); } } @Test(timeout=120000) public void testBadExtends4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBadExtends4(); } }; testcase.run(); } } @Test(timeout=120000) public void testDirectPrototypeAssignment3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDirectPrototypeAssignment3(); } }; testcase.run(); } } @Test(timeout=120000) public void testGoodImplements3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGoodImplements3(); } }; testcase.run(); } } @Test(timeout=120000) public void testGoodImplements4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGoodImplements4(); } }; testcase.run(); } } @Test(timeout=120000) public void testGoodImplements5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGoodImplements5(); } }; testcase.run(); } } @Test(timeout=120000) public void testGoodImplements6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGoodImplements6(); } }; testcase.run(); } } @Test(timeout=120000) public void testGoodImplements7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGoodImplements7(); } }; testcase.run(); } } @Test(timeout=120000) public void testBadImplements4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBadImplements4(); } }; testcase.run(); } } @Test(timeout=120000) public void testBadImplements5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBadImplements5(); } }; testcase.run(); } } @Test(timeout=120000) public void testBadImplements6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBadImplements6(); } }; testcase.run(); } } @Test(timeout=120000) public void testBadInterfaceExtendsNonExistentInterfaces() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBadInterfaceExtendsNonExistentInterfaces(); } }; testcase.run(); } } @Test(timeout=120000) public void testGetprop2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGetprop2(); } }; testcase.run(); } } @Test(timeout=120000) public void testGetprop3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGetprop3(); } }; testcase.run(); } } @Test(timeout=120000) public void testGetprop4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGetprop4(); } }; testcase.run(); } } @Test(timeout=120000) public void testSetprop1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testSetprop1(); } }; testcase.run(); } } @Test(timeout=120000) public void testSetprop2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testSetprop2(); } }; testcase.run(); } } @Test(timeout=120000) public void testSetprop3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testSetprop3(); } }; testcase.run(); } } @Test(timeout=120000) public void testSetprop4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testSetprop4(); } }; testcase.run(); } } @Test(timeout=120000) public void testSetprop5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testSetprop5(); } }; testcase.run(); } } @Test(timeout=120000) public void testSetprop6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testSetprop6(); } }; testcase.run(); } } @Test(timeout=120000) public void testSetprop7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testSetprop7(); } }; testcase.run(); } } @Test(timeout=120000) public void testSetprop8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testSetprop8(); } }; testcase.run(); } } @Test(timeout=120000) public void testSetprop9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testSetprop9(); } }; testcase.run(); } } @Test(timeout=120000) public void testSetprop10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testSetprop10(); } }; testcase.run(); } } @Test(timeout=120000) public void testSetprop11() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testSetprop11(); } }; testcase.run(); } } @Test(timeout=120000) public void testGetpropDict1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGetpropDict1(); } }; testcase.run(); } } @Test(timeout=120000) public void testGetpropDict2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGetpropDict2(); } }; testcase.run(); } } @Test(timeout=120000) public void testGetpropDict3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGetpropDict3(); } }; testcase.run(); } } @Test(timeout=120000) public void testGetpropDict4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGetpropDict4(); } }; testcase.run(); } } @Test(timeout=120000) public void testGetpropDict5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGetpropDict5(); } }; testcase.run(); } } @Test(timeout=120000) public void testGetpropDict6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGetpropDict6(); } }; testcase.run(); } } @Test(timeout=120000) public void testGetpropDict7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGetpropDict7(); } }; testcase.run(); } } @Test(timeout=120000) public void testGetelemStruct1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGetelemStruct1(); } }; testcase.run(); } } @Test(timeout=120000) public void testGetelemStruct2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGetelemStruct2(); } }; testcase.run(); } } @Test(timeout=120000) public void testGetelemStruct3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGetelemStruct3(); } }; testcase.run(); } } @Test(timeout=120000) public void testGetelemStruct4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGetelemStruct4(); } }; testcase.run(); } } @Test(timeout=120000) public void testGetelemStruct5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGetelemStruct5(); } }; testcase.run(); } } @Test(timeout=120000) public void testGetelemStruct6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGetelemStruct6(); } }; testcase.run(); } } @Test(timeout=120000) public void testGetelemStruct7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGetelemStruct7(); } }; testcase.run(); } } @Test(timeout=120000) public void testInOnStruct() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInOnStruct(); } }; testcase.run(); } } @Test(timeout=120000) public void testForinOnStruct() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testForinOnStruct(); } }; testcase.run(); } } @Test(timeout=120000) public void testArrayAccess9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testArrayAccess9(); } }; testcase.run(); } } @Test(timeout=120000) public void testHigherOrderFunctions5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testHigherOrderFunctions5(); } }; testcase.run(); } } @Test(timeout=120000) public void testClosure7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testClosure7(); } }; testcase.run(); } } @Test(timeout=120000) public void testInferredReturn1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInferredReturn1(); } }; testcase.run(); } } @Test(timeout=120000) public void testInferredReturn2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInferredReturn2(); } }; testcase.run(); } } @Test(timeout=120000) public void testInferredReturn3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInferredReturn3(); } }; testcase.run(); } } @Test(timeout=120000) public void testInferredReturn4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInferredReturn4(); } }; testcase.run(); } } @Test(timeout=120000) public void testInferredReturn5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInferredReturn5(); } }; testcase.run(); } } @Test(timeout=120000) public void testInferredReturn6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInferredReturn6(); } }; testcase.run(); } } @Test(timeout=120000) public void testInferredReturn7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInferredReturn7(); } }; testcase.run(); } } @Test(timeout=120000) public void testInferredReturn8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInferredReturn8(); } }; testcase.run(); } } @Test(timeout=120000) public void testInferredParam1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInferredParam1(); } }; testcase.run(); } } @Test(timeout=120000) public void testInferredParam2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInferredParam2(); } }; testcase.run(); } } @Test(timeout=120000) public void testInferredParam3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInferredParam3(); } }; testcase.run(); } } @Test(timeout=120000) public void testInferredParam4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInferredParam4(); } }; testcase.run(); } } @Test(timeout=120000) public void testInferredParam5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInferredParam5(); } }; testcase.run(); } } @Test(timeout=120000) public void testInferredParam6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInferredParam6(); } }; testcase.run(); } } @Test(timeout=120000) public void testInferredParam7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInferredParam7(); } }; testcase.run(); } } @Test(timeout=120000) public void testOverriddenParams1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOverriddenParams1(); } }; testcase.run(); } } @Test(timeout=120000) public void testOverriddenParams2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOverriddenParams2(); } }; testcase.run(); } } @Test(timeout=120000) public void testOverriddenParams3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOverriddenParams3(); } }; testcase.run(); } } @Test(timeout=120000) public void testOverriddenParams4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOverriddenParams4(); } }; testcase.run(); } } @Test(timeout=120000) public void testOverriddenParams5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOverriddenParams5(); } }; testcase.run(); } } @Test(timeout=120000) public void testOverriddenParams6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOverriddenParams6(); } }; testcase.run(); } } @Test(timeout=120000) public void testOverriddenReturn1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOverriddenReturn1(); } }; testcase.run(); } } @Test(timeout=120000) public void testOverriddenReturn2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOverriddenReturn2(); } }; testcase.run(); } } @Test(timeout=120000) public void testOverriddenProperty1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOverriddenProperty1(); } }; testcase.run(); } } @Test(timeout=120000) public void testOverriddenProperty2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOverriddenProperty2(); } }; testcase.run(); } } @Test(timeout=120000) public void testOverriddenProperty3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOverriddenProperty3(); } }; testcase.run(); } } @Test(timeout=120000) public void testOverriddenProperty4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOverriddenProperty4(); } }; testcase.run(); } } @Test(timeout=120000) public void testOverriddenProperty5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOverriddenProperty5(); } }; testcase.run(); } } @Test(timeout=120000) public void testOverriddenProperty6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testOverriddenProperty6(); } }; testcase.run(); } } @Test(timeout=120000) public void testThis11() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testThis11(); } }; testcase.run(); } } @Test(timeout=120000) public void testThis12() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testThis12(); } }; testcase.run(); } } @Test(timeout=120000) public void testThis13() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testThis13(); } }; testcase.run(); } } @Test(timeout=120000) public void testThis14() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testThis14(); } }; testcase.run(); } } @Test(timeout=120000) public void testThisTypeOfFunction1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testThisTypeOfFunction1(); } }; testcase.run(); } } @Test(timeout=120000) public void testThisTypeOfFunction2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testThisTypeOfFunction2(); } }; testcase.run(); } } @Test(timeout=120000) public void testThisTypeOfFunction3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testThisTypeOfFunction3(); } }; testcase.run(); } } @Test(timeout=120000) public void testThisTypeOfFunction4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testThisTypeOfFunction4(); } }; testcase.run(); } } @Test(timeout=120000) public void testGlobalThis2b() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGlobalThis2b(); } }; testcase.run(); } } @Test(timeout=120000) public void testGlobalThis8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGlobalThis8(); } }; testcase.run(); } } @Test(timeout=120000) public void testGlobalThis9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGlobalThis9(); } }; testcase.run(); } } @Test(timeout=120000) public void testControlFlowRestrictsType1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testControlFlowRestrictsType1(); } }; testcase.run(); } } @Test(timeout=120000) public void testControlFlowRestrictsType10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testControlFlowRestrictsType10(); } }; testcase.run(); } } @Test(timeout=120000) public void testControlFlowRestrictsType11() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testControlFlowRestrictsType11(); } }; testcase.run(); } } @Test(timeout=120000) public void testNoTypeCheck9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNoTypeCheck9(); } }; testcase.run(); } } @Test(timeout=120000) public void testNoTypeCheck10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNoTypeCheck10(); } }; testcase.run(); } } @Test(timeout=120000) public void testNoTypeCheck11() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNoTypeCheck11(); } }; testcase.run(); } } @Test(timeout=120000) public void testNoTypeCheck12() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNoTypeCheck12(); } }; testcase.run(); } } @Test(timeout=120000) public void testNoTypeCheck13() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNoTypeCheck13(); } }; testcase.run(); } } @Test(timeout=120000) public void testNoTypeCheck14() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNoTypeCheck14(); } }; testcase.run(); } } @Test(timeout=120000) public void testIIFE1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIIFE1(); } }; testcase.run(); } } @Test(timeout=120000) public void testIIFE2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIIFE2(); } }; testcase.run(); } } @Test(timeout=120000) public void testIIFE3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIIFE3(); } }; testcase.run(); } } @Test(timeout=120000) public void testIIFE4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIIFE4(); } }; testcase.run(); } } @Test(timeout=120000) public void testIIFE5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIIFE5(); } }; testcase.run(); } } @Test(timeout=120000) public void testNotIIFE1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNotIIFE1(); } }; testcase.run(); } } @Test(timeout=120000) public void testIssue61() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIssue61(); } }; testcase.run(); } } @Test(timeout=120000) public void testIssue61b() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIssue61b(); } }; testcase.run(); } } @Test(timeout=120000) public void testIssue259() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIssue259(); } }; testcase.run(); } } @Test(timeout=120000) public void testIssue301() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIssue301(); } }; testcase.run(); } } @Test(timeout=120000) public void testIssue368() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIssue368(); } }; testcase.run(); } } @Test(timeout=120000) public void testIssue380() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIssue380(); } }; testcase.run(); } } @Test(timeout=120000) public void testIssue483() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIssue483(); } }; testcase.run(); } } @Test(timeout=120000) public void testIssue537a() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIssue537a(); } }; testcase.run(); } } @Test(timeout=120000) public void testIssue537b() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIssue537b(); } }; testcase.run(); } } @Test(timeout=120000) public void testIssue537c() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIssue537c(); } }; testcase.run(); } } @Test(timeout=120000) public void testIssue537d() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIssue537d(); } }; testcase.run(); } } @Test(timeout=120000) public void testIssue586() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIssue586(); } }; testcase.run(); } } @Test(timeout=120000) public void testIssue635() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIssue635(); } }; testcase.run(); } } @Test(timeout=120000) public void testIssue635b() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIssue635b(); } }; testcase.run(); } } @Test(timeout=120000) public void testIssue669() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIssue669(); } }; testcase.run(); } } @Test(timeout=120000) public void testIssue688() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIssue688(); } }; testcase.run(); } } @Test(timeout=120000) public void testIssue700() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIssue700(); } }; testcase.run(); } } @Test(timeout=120000) public void testIssue725() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIssue725(); } }; testcase.run(); } } @Test(timeout=120000) public void testIssue726() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIssue726(); } }; testcase.run(); } } @Test(timeout=120000) public void testIssue765() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIssue765(); } }; testcase.run(); } } @Test(timeout=120000) public void testIssue783() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIssue783(); } }; testcase.run(); } } @Test(timeout=120000) public void testIssue791() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIssue791(); } }; testcase.run(); } } @Test(timeout=120000) public void testIssue810() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testIssue810(); } }; testcase.run(); } } @Test(timeout=120000) public void testBug7701884() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBug7701884(); } }; testcase.run(); } } @Test(timeout=120000) public void testScopedConstructors1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testScopedConstructors1(); } }; testcase.run(); } } @Test(timeout=120000) public void testScopedConstructors2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testScopedConstructors2(); } }; testcase.run(); } } @Test(timeout=120000) public void testQualifiedNameInference5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testQualifiedNameInference5(); } }; testcase.run(); } } @Test(timeout=120000) public void testQualifiedNameInference6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testQualifiedNameInference6(); } }; testcase.run(); } } @Test(timeout=120000) public void testQualifiedNameInference7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testQualifiedNameInference7(); } }; testcase.run(); } } @Test(timeout=120000) public void testQualifiedNameInference8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testQualifiedNameInference8(); } }; testcase.run(); } } @Test(timeout=120000) public void testQualifiedNameInference9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testQualifiedNameInference9(); } }; testcase.run(); } } @Test(timeout=120000) public void testQualifiedNameInference10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testQualifiedNameInference10(); } }; testcase.run(); } } @Test(timeout=120000) public void testQualifiedNameInference11() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testQualifiedNameInference11(); } }; testcase.run(); } } @Test(timeout=120000) public void testQualifiedNameInference12() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testQualifiedNameInference12(); } }; testcase.run(); } } @Test(timeout=120000) public void testQualifiedNameInference13() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testQualifiedNameInference13(); } }; testcase.run(); } } @Test(timeout=120000) public void testNew17() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNew17(); } }; testcase.run(); } } @Test(timeout=120000) public void testNew18() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testNew18(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionBind1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionBind1(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionBind2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionBind2(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionBind3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionBind3(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionBind4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionBind4(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionBind5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionBind5(); } }; testcase.run(); } } @Test(timeout=120000) public void testGoogBind1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGoogBind1(); } }; testcase.run(); } } @Test(timeout=120000) public void testGoogBind2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGoogBind2(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast3a() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast3a(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast5a() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast5a(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast17a() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast17a(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast17b() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast17b(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast18() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast18(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast19() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast19(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast20() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast20(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast21() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast21(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast22() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast22(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast23() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast23(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast24() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast24(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast25() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast25(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast26() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast26(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast27() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast27(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast27a() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast27a(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast28() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast28(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast28a() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast28a(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast29a() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast29a(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast29b() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast29b(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast29c() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast29c(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast30() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast30(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast31() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast31(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast32() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast32(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast33() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast33(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast34a() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast34a(); } }; testcase.run(); } } @Test(timeout=120000) public void testCast34b() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCast34b(); } }; testcase.run(); } } @Test(timeout=120000) public void testConstructorType8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testConstructorType8(); } }; testcase.run(); } } @Test(timeout=120000) public void testConstructorType9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testConstructorType9(); } }; testcase.run(); } } @Test(timeout=120000) public void testConstructorType10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testConstructorType10(); } }; testcase.run(); } } @Test(timeout=120000) public void testConstructorType11() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testConstructorType11(); } }; testcase.run(); } } @Test(timeout=120000) public void testConstructorType12() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testConstructorType12(); } }; testcase.run(); } } @Test(timeout=120000) public void testBadStruct() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBadStruct(); } }; testcase.run(); } } @Test(timeout=120000) public void testBadDict() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBadDict(); } }; testcase.run(); } } @Test(timeout=120000) public void testAnonymousPrototype1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAnonymousPrototype1(); } }; testcase.run(); } } @Test(timeout=120000) public void testAnonymousPrototype2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testAnonymousPrototype2(); } }; testcase.run(); } } @Test(timeout=120000) public void testInheritanceCheck15() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInheritanceCheck15(); } }; testcase.run(); } } @Test(timeout=120000) public void testInheritanceCheck16() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInheritanceCheck16(); } }; testcase.run(); } } @Test(timeout=120000) public void testInheritanceCheck17() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInheritanceCheck17(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfacePropertyOverride1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfacePropertyOverride1(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfacePropertyOverride2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfacePropertyOverride2(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceInheritanceCheck9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceInheritanceCheck9(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceInheritanceCheck10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceInheritanceCheck10(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceInheritanceCheck12() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceInheritanceCheck12(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceInheritanceCheck13() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceInheritanceCheck13(); } }; testcase.run(); } } @Test(timeout=120000) public void testObjectLiteralDeclaration2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testObjectLiteralDeclaration2(); } }; testcase.run(); } } @Test(timeout=120000) public void testObjectLiteralDeclaration3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testObjectLiteralDeclaration3(); } }; testcase.run(); } } @Test(timeout=120000) public void testObjectLiteralDeclaration4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testObjectLiteralDeclaration4(); } }; testcase.run(); } } @Test(timeout=120000) public void testObjectLiteralDeclaration5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testObjectLiteralDeclaration5(); } }; testcase.run(); } } @Test(timeout=120000) public void testObjectLiteralDeclaration6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testObjectLiteralDeclaration6(); } }; testcase.run(); } } @Test(timeout=120000) public void testObjectLiteralDeclaration7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testObjectLiteralDeclaration7(); } }; testcase.run(); } } @Test(timeout=120000) public void testDataPropertyOnInterface1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDataPropertyOnInterface1(); } }; testcase.run(); } } @Test(timeout=120000) public void testDataPropertyOnInterface2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDataPropertyOnInterface2(); } }; testcase.run(); } } @Test(timeout=120000) public void testDataPropertyOnInterface3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDataPropertyOnInterface3(); } }; testcase.run(); } } @Test(timeout=120000) public void testDataPropertyOnInterface4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDataPropertyOnInterface4(); } }; testcase.run(); } } @Test(timeout=120000) public void testImplementsLoop() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testImplementsLoop(); } }; testcase.run(); } } @Test(timeout=120000) public void testImplementsExtendsLoop() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testImplementsExtendsLoop(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceExtendsLoop() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceExtendsLoop(); } }; testcase.run(); } } @Test(timeout=120000) public void testConversionFromInterfaceToRecursiveConstructor() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testConversionFromInterfaceToRecursiveConstructor(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeInferenceWithNoEntry1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeInferenceWithNoEntry1(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeInferenceWithNoEntry2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeInferenceWithNoEntry2(); } }; testcase.run(); } } @Test(timeout=120000) public void testForwardTypeDeclaration4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testForwardTypeDeclaration4(); } }; testcase.run(); } } @Test(timeout=120000) public void testForwardTypeDeclaration5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testForwardTypeDeclaration5(); } }; testcase.run(); } } @Test(timeout=120000) public void testForwardTypeDeclaration6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testForwardTypeDeclaration6(); } }; testcase.run(); } } @Test(timeout=120000) public void testForwardTypeDeclaration7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testForwardTypeDeclaration7(); } }; testcase.run(); } } @Test(timeout=120000) public void testForwardTypeDeclaration8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testForwardTypeDeclaration8(); } }; testcase.run(); } } @Test(timeout=120000) public void testForwardTypeDeclaration9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testForwardTypeDeclaration9(); } }; testcase.run(); } } @Test(timeout=120000) public void testForwardTypeDeclaration10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testForwardTypeDeclaration10(); } }; testcase.run(); } } @Test(timeout=120000) public void testForwardTypeDeclaration12() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testForwardTypeDeclaration12(); } }; testcase.run(); } } @Test(timeout=120000) public void testForwardTypeDeclaration13() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testForwardTypeDeclaration13(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeDef4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeDef4(); } }; testcase.run(); } } @Test(timeout=120000) public void testTypeDef5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTypeDef5(); } }; testcase.run(); } } @Test(timeout=120000) public void testGetTypedPercent5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGetTypedPercent5(); } }; testcase.run(); } } @Test(timeout=120000) public void testGetTypedPercent6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGetTypedPercent6(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty20() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty20(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty30() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty30(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty31() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty31(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty32() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty32(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty33() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty33(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty34() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty34(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty35() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty35(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty36() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty36(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty37() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty37(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty38() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty38(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty39() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty39(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty40() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty40(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty41() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty41(); } }; testcase.run(); } } @Test(timeout=120000) public void testMissingProperty42() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMissingProperty42(); } }; testcase.run(); } } @Test(timeout=120000) public void testReflectObject1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testReflectObject1(); } }; testcase.run(); } } @Test(timeout=120000) public void testReflectObject2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testReflectObject2(); } }; testcase.run(); } } @Test(timeout=120000) public void testLends1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testLends1(); } }; testcase.run(); } } @Test(timeout=120000) public void testLends2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testLends2(); } }; testcase.run(); } } @Test(timeout=120000) public void testLends3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testLends3(); } }; testcase.run(); } } @Test(timeout=120000) public void testLends4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testLends4(); } }; testcase.run(); } } @Test(timeout=120000) public void testLends5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testLends5(); } }; testcase.run(); } } @Test(timeout=120000) public void testLends6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testLends6(); } }; testcase.run(); } } @Test(timeout=120000) public void testLends7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testLends7(); } }; testcase.run(); } } @Test(timeout=120000) public void testLends8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testLends8(); } }; testcase.run(); } } @Test(timeout=120000) public void testLends9() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testLends9(); } }; testcase.run(); } } @Test(timeout=120000) public void testLends10() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testLends10(); } }; testcase.run(); } } @Test(timeout=120000) public void testLends11() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testLends11(); } }; testcase.run(); } } @Test(timeout=120000) public void testUpdateParameterTypeOnClosure() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testUpdateParameterTypeOnClosure(); } }; testcase.run(); } } @Test(timeout=120000) public void testTemplatedThisType1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTemplatedThisType1(); } }; testcase.run(); } } @Test(timeout=120000) public void testTemplatedThisType2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTemplatedThisType2(); } }; testcase.run(); } } @Test(timeout=120000) public void testTemplateType1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTemplateType1(); } }; testcase.run(); } } @Test(timeout=120000) public void testTemplateType2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTemplateType2(); } }; testcase.run(); } } @Test(timeout=120000) public void testTemplateType3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTemplateType3(); } }; testcase.run(); } } @Test(timeout=120000) public void testTemplateType4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTemplateType4(); } }; testcase.run(); } } @Test(timeout=120000) public void testTemplateType5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testTemplateType5(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionLiteralDefinedThisArgument() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionLiteralDefinedThisArgument(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionLiteralDefinedThisArgument2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionLiteralDefinedThisArgument2(); } }; testcase.run(); } } @Test(timeout=120000) public void testFunctionLiteralUnreadNullThisArgument() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFunctionLiteralUnreadNullThisArgument(); } }; testcase.run(); } } @Test(timeout=120000) public void testUnionTemplateThisType() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testUnionTemplateThisType(); } }; testcase.run(); } } @Test(timeout=120000) public void testActiveXObject() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testActiveXObject(); } }; testcase.run(); } } @Test(timeout=120000) public void testRecordType1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testRecordType1(); } }; testcase.run(); } } @Test(timeout=120000) public void testRecordType2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testRecordType2(); } }; testcase.run(); } } @Test(timeout=120000) public void testRecordType3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testRecordType3(); } }; testcase.run(); } } @Test(timeout=120000) public void testRecordType4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testRecordType4(); } }; testcase.run(); } } @Test(timeout=120000) public void testRecordType5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testRecordType5(); } }; testcase.run(); } } @Test(timeout=120000) public void testRecordType6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testRecordType6(); } }; testcase.run(); } } @Test(timeout=120000) public void testRecordType7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testRecordType7(); } }; testcase.run(); } } @Test(timeout=120000) public void testRecordType8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testRecordType8(); } }; testcase.run(); } } @Test(timeout=120000) public void testDuplicateRecordFields1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDuplicateRecordFields1(); } }; testcase.run(); } } @Test(timeout=120000) public void testDuplicateRecordFields2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testDuplicateRecordFields2(); } }; testcase.run(); } } @Test(timeout=120000) public void testMultipleExtendsInterface1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMultipleExtendsInterface1(); } }; testcase.run(); } } @Test(timeout=120000) public void testMultipleExtendsInterface2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMultipleExtendsInterface2(); } }; testcase.run(); } } @Test(timeout=120000) public void testMultipleExtendsInterface3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMultipleExtendsInterface3(); } }; testcase.run(); } } @Test(timeout=120000) public void testMultipleExtendsInterface4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMultipleExtendsInterface4(); } }; testcase.run(); } } @Test(timeout=120000) public void testMultipleExtendsInterface5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMultipleExtendsInterface5(); } }; testcase.run(); } } @Test(timeout=120000) public void testMultipleExtendsInterface6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMultipleExtendsInterface6(); } }; testcase.run(); } } @Test(timeout=120000) public void testMultipleExtendsInterfaceAssignment() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMultipleExtendsInterfaceAssignment(); } }; testcase.run(); } } @Test(timeout=120000) public void testMultipleExtendsInterfaceParamPass() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testMultipleExtendsInterfaceParamPass(); } }; testcase.run(); } } @Test(timeout=120000) public void testBadMultipleExtendsClass() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBadMultipleExtendsClass(); } }; testcase.run(); } } @Test(timeout=120000) public void testInterfaceExtendsResolution() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testInterfaceExtendsResolution(); } }; testcase.run(); } } @Test(timeout=120000) public void testPropertyCanBeDefinedInObject() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testPropertyCanBeDefinedInObject(); } }; testcase.run(); } } @Test(timeout=120000) public void testExtendedInterfacePropertiesCompatibility1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testExtendedInterfacePropertiesCompatibility1(); } }; testcase.run(); } } @Test(timeout=120000) public void testExtendedInterfacePropertiesCompatibility2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testExtendedInterfacePropertiesCompatibility2(); } }; testcase.run(); } } @Test(timeout=120000) public void testExtendedInterfacePropertiesCompatibility3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testExtendedInterfacePropertiesCompatibility3(); } }; testcase.run(); } } @Test(timeout=120000) public void testExtendedInterfacePropertiesCompatibility4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testExtendedInterfacePropertiesCompatibility4(); } }; testcase.run(); } } @Test(timeout=120000) public void testExtendedInterfacePropertiesCompatibility5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testExtendedInterfacePropertiesCompatibility5(); } }; testcase.run(); } } @Test(timeout=120000) public void testExtendedInterfacePropertiesCompatibility6() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testExtendedInterfacePropertiesCompatibility6(); } }; testcase.run(); } } @Test(timeout=120000) public void testExtendedInterfacePropertiesCompatibility7() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testExtendedInterfacePropertiesCompatibility7(); } }; testcase.run(); } } @Test(timeout=120000) public void testExtendedInterfacePropertiesCompatibility8() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testExtendedInterfacePropertiesCompatibility8(); } }; testcase.run(); } } @Test(timeout=120000) public void testGenerics1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testGenerics1(); } }; testcase.run(); } } @Test(timeout=120000) public void testFilter0() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFilter0(); } }; testcase.run(); } } @Test(timeout=120000) public void testFilter1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFilter1(); } }; testcase.run(); } } @Test(timeout=120000) public void testFilter2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFilter2(); } }; testcase.run(); } } @Test(timeout=120000) public void testFilter3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testFilter3(); } }; testcase.run(); } } @Test(timeout=120000) public void testBackwardsInferenceGoogArrayFilter1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBackwardsInferenceGoogArrayFilter1(); } }; testcase.run(); } } @Test(timeout=120000) public void testBackwardsInferenceGoogArrayFilter2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBackwardsInferenceGoogArrayFilter2(); } }; testcase.run(); } } @Test(timeout=120000) public void testBackwardsInferenceGoogArrayFilter3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBackwardsInferenceGoogArrayFilter3(); } }; testcase.run(); } } @Test(timeout=120000) public void testBackwardsInferenceGoogArrayFilter4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testBackwardsInferenceGoogArrayFilter4(); } }; testcase.run(); } } @Test(timeout=120000) public void testCatchExpression1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCatchExpression1(); } }; testcase.run(); } } @Test(timeout=120000) public void testCatchExpression2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testCatchExpression2(); } }; testcase.run(); } } @Test(timeout=120000) public void testParameterized1() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testParameterized1(); } }; testcase.run(); } } @Test(timeout=120000) public void testParameterized2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testParameterized2(); } }; testcase.run(); } } @Test(timeout=120000) public void testParameterized3() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testParameterized3(); } }; testcase.run(); } } @Test(timeout=120000) public void testParameterized4() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testParameterized4(); } }; testcase.run(); } } @Test(timeout=120000) public void testParameterized5() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testParameterized5(); } }; testcase.run(); } } @Test(timeout=120000) public void testParameterizedTypeSubtypes2() throws Exception { if (verifyNoPropertyViolation(config)) { TestCase testcase = new com.google.javascript.jscomp.TypeCheckTest() { public void runTest() throws Exception { testParameterizedTypeSubtypes2(); } }; testcase.run(); } } }