Merged 2 tests

This commit is contained in:
Valentin Kipyatkov
2015-08-15 01:04:19 +03:00
parent ba8c2f1084
commit 275299f5e2
3 changed files with 2 additions and 14 deletions
+2 -1
View File
@@ -3,7 +3,8 @@ fun foo(): Boolean {
}
// INVOCATION_COUNT: 1
// WITH_ORDER: true
// EXIST: { lookupString: "return", itemText: "return", tailText: null, attributes: "bold" }
// EXIST: { lookupString: "return true", itemText: "return true", tailText: null, attributes: "bold" }
// EXIST: { lookupString: "return false", itemText: "return false", tailText: null, attributes: "bold" }
// EXIST: { lookupString: "return true", itemText: "return true", tailText: null, attributes: "bold" }
// NOTHING_ELSE
@@ -1,7 +0,0 @@
fun foo(): Boolean {
ret<caret>
}
// ORDER: return
// ORDER: return false
// ORDER: return true
@@ -137,12 +137,6 @@ public class BasicCompletionWeigherTestGenerated extends AbstractBasicCompletion
doTest(fileName);
}
@TestMetadata("ReturnBoolean.kt")
public void testReturnBoolean() throws Exception {
String fileName = JetTestUtils.navigationMetadata("idea/idea-completion/testData/weighers/basic/ReturnBoolean.kt");
doTest(fileName);
}
@TestMetadata("idea/idea-completion/testData/weighers/basic/expectedInfo")
@TestDataPath("$PROJECT_ROOT")
@RunWith(JUnit3RunnerWithInners.class)