[groovy] do not increment Java Structure modification count in method
[idea/community.git] / plugins / groovy / test / org / jetbrains / plugins / groovy / transformations / BaseScriptTransformationSupportTest.groovy
index 4e2f57a35599c659db68bb17302423f0aa1bf90e..da0c653327d5fae2dd3b939c4678c79dcc15420d 100644 (file)
@@ -41,8 +41,12 @@ import groovy.transform.BaseScript
 
 $text
 """) as GroovyFileImpl
+    file.treeElementPointer = null
+
     def clazz = fixture.findClass('Zzz')
     assert clazz instanceof GroovyScriptClass
+    assert !file.contentsLoaded
+
     assert InheritanceUtil.isInheritor(clazz as PsiClass, 'MyBaseScript')
     assert !file.contentsLoaded
   }