8000 dropping assertLocalInspectionIsEmpty test assert · Koc/idea-php-symfony2-plugin@c4017e8 · GitHub
[go: up one dir, main page]

Skip to content

Commit c4017e8

Browse files
committed
dropping assertLocalInspectionIsEmpty test assert
1 parent 602ce89 commit c4017e8

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

tests/fr/adrienbrault/idea/symfony2plugin/tests/SymfonyLightCodeInsightFixtureTestCase.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -546,17 +546,6 @@ public void visitElement(PsiElement element) {
546546
return Pair.create(problemsHolder.getResults(), caretOffset);
547547
}
548548

549-
protected void assertLocalInspectionIsEmpty(String filename, String content) {
550-
Pair<List<ProblemDescriptor>, Integer> localInspectionsAtCaret = getLocalInspectionsAtCaret(filename, content);
551-
552-
for (ProblemDescriptor result : localInspectionsAtCaret.getFirst()) {
553-
TextRange textRange = result.getPsiElement().getTextRange();
554-
if (textRange.contains(localInspectionsAtCaret.getSecond())) {
555-
fail("Fail that matches is empty");
556-
}
557-
}
558-
}
559-
560549
protected void createDummyFiles(String... files) throws Exception {
561550
for (String file : files) {
562551
String path = myFixture.getProject().getBaseDir().getPath() + "/" + file;

0 commit comments

Comments
 (0)
0