Fix quick-doc tests generation
This commit is contained in:
@@ -390,7 +390,7 @@ fun main(args: Array<String>) {
|
||||
}
|
||||
|
||||
testClass<AbstractQuickDocProviderTest> {
|
||||
model("editor/quickDoc", pattern = """^([^_]+)\.[^\.]*$""")
|
||||
model("editor/quickDoc", pattern = """^([^_]+)\.(kt|java)$""")
|
||||
}
|
||||
|
||||
testClass<AbstractSafeDeleteTest> {
|
||||
|
||||
@@ -391,7 +391,7 @@ fun main(args: Array<String>) {
|
||||
}
|
||||
|
||||
testClass<AbstractQuickDocProviderTest> {
|
||||
model("editor/quickDoc", pattern = """^([^_]+)\.[^\.]*$""")
|
||||
model("editor/quickDoc", pattern = """^([^_]+)\.(kt|java)$""")
|
||||
}
|
||||
|
||||
testClass<AbstractSafeDeleteTest> {
|
||||
|
||||
@@ -389,7 +389,7 @@ fun main(args: Array<String>) {
|
||||
}
|
||||
|
||||
testClass<AbstractQuickDocProviderTest> {
|
||||
model("editor/quickDoc", pattern = """^([^_]+)\.[^\.]*$""")
|
||||
model("editor/quickDoc", pattern = """^([^_]+)\.(kt|java)$""")
|
||||
}
|
||||
|
||||
testClass<AbstractSafeDeleteTest> {
|
||||
|
||||
@@ -389,7 +389,7 @@ fun main(args: Array<String>) {
|
||||
}
|
||||
|
||||
testClass<AbstractQuickDocProviderTest> {
|
||||
model("editor/quickDoc", pattern = """^([^_]+)\.[^\.]*$""")
|
||||
model("editor/quickDoc", pattern = """^([^_]+)\.(kt|java)$""")
|
||||
}
|
||||
|
||||
testClass<AbstractSafeDeleteTest> {
|
||||
|
||||
@@ -378,7 +378,7 @@ fun main(args: Array<String>) {
|
||||
}
|
||||
|
||||
testClass<AbstractQuickDocProviderTest> {
|
||||
model("editor/quickDoc", pattern = """^([^_]+)\.[^\.]*$""")
|
||||
model("editor/quickDoc", pattern = """^([^_]+)\.(kt|java)$""")
|
||||
}
|
||||
|
||||
testClass<AbstractSafeDeleteTest> {
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ public class QuickDocProviderTestGenerated extends AbstractQuickDocProviderTest
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInQuickDoc() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/editor/quickDoc"), Pattern.compile("^([^_]+)\\.[^\\.]*$"), TargetBackend.ANY, true);
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("idea/testData/editor/quickDoc"), Pattern.compile("^([^_]+)\\.(kt|java)$"), TargetBackend.ANY, true);
|
||||
}
|
||||
|
||||
@TestMetadata("AnonymousObjectLocalVariable.kt")
|
||||
|
||||
Reference in New Issue
Block a user