mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
in fixture-based tests dispose things earlier to not treat them as leaks
This commit is contained in:
@@ -10,7 +10,7 @@ import com.jetbrains.rest.fixtures.RestFixtureTestCase;
|
||||
public class RestDirectiveCompletionTest extends RestFixtureTestCase {
|
||||
|
||||
public void testNote() {
|
||||
CamelHumpMatcher.forceStartMatching(getTestRootDisposable());
|
||||
CamelHumpMatcher.forceStartMatching(myFixture.getTestRootDisposable());
|
||||
doTest();
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ public class RestDirectiveCompletionTest extends RestFixtureTestCase {
|
||||
}
|
||||
|
||||
public void testMultiple() {
|
||||
CamelHumpMatcher.forceStartMatching(getTestRootDisposable());
|
||||
CamelHumpMatcher.forceStartMatching(myFixture.getTestRootDisposable());
|
||||
final String filePath = "/completion/directive/multiple.rst";
|
||||
myFixture.configureByFiles(filePath);
|
||||
final LookupElement[] items = myFixture.completeBasic();
|
||||
|
||||
Reference in New Issue
Block a user