mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-04 04:09:09 +07:00
Creating self-closing tag when annotation arguments list is not null, but empty. Added test.
This commit is contained in:
@@ -106,6 +106,8 @@ public class AddAnnotationFixTest extends UsefulTestCase {
|
||||
final PsiModifierListOwner listOwner = PsiTreeUtil.getParentOfType(psiElement, PsiModifierListOwner.class);
|
||||
assertNotNull(listOwner);
|
||||
assertNotNull(ExternalAnnotationsManager.getInstance(project).findExternalAnnotation(listOwner, AnnotationUtil.NOT_NULL));
|
||||
|
||||
myFixture.checkResultByFile("content/anno/p/annotations.xml", "content/anno/p/annotationsAnnotateLibrary_after.xml", false);
|
||||
}
|
||||
|
||||
public void testPrimitive() throws Throwable {
|
||||
|
||||
Reference in New Issue
Block a user