示例#1
0
 public void testAllFilesPresentInRecovery() throws Exception {
   JetTestUtils.assertAllTestsPresentByMetadata(
       this.getClass(),
       "org.jetbrains.jet.generators.tests.GenerateTests",
       new File("compiler/testData/psi/recovery"),
       Pattern.compile("^(.+)\\.kt$"),
       true);
 }
 public void testAllFilesPresentInType() throws Exception {
   JetTestUtils.assertAllTestsPresentByMetadata(
       this.getClass(),
       "org.jetbrains.jet.generators.tests.GenerateTests",
       new File("idea/testData/hierarchy/class/type"),
       Pattern.compile("^(.+)$"),
       false);
 }
 public void testAllFilesPresentInGenericWithoutTypeVariables() throws Exception {
   JetTestUtils.assertAllTestsPresentByMetadata(
       this.getClass(),
       "org.jetbrains.jet.generators.tests.GenerateTests",
       new File("compiler/testData/loadKotlin/fun/genericWithoutTypeVariables"),
       "kt",
       true);
 }
 public void testAllFilesPresentInVisibility() throws Exception {
   JetTestUtils.assertAllTestsPresentByMetadata(
       this.getClass(),
       "org.jetbrains.jet.generators.tests.GenerateTests",
       new File("compiler/testData/loadKotlin/visibility"),
       "kt",
       true);
 }
 public void testAllFilesPresentInIf() throws Exception {
   JetTestUtils.assertAllTestsPresentByMetadata(
       this.getClass(),
       "org.jetbrains.jet.generators.tests.GenerateTests",
       new File("idea/testData/codeInsight/surroundWith/if"),
       Pattern.compile("^(.+)\\.kt$"),
       true);
 }