Added test with class referred in XML.

This commit is contained in:
Evgeny Gerashchenko
2014-12-18 15:57:19 +03:00
parent 47ae2364f3
commit 2d4e0be076
3 changed files with 5 additions and 1 deletions
@@ -0,0 +1,3 @@
package foo
class UsedInXmlOnly
@@ -0,0 +1 @@
<a b="foo.UsedInXmlOnly"/>
@@ -53,7 +53,7 @@ public abstract class AbstractJetInspectionTest: LightCodeInsightFixtureTestCase
setTestDataPath("${JetTestUtils.getHomeDirectory()}/$srcDir")
val psiFiles = srcDir
.listFiles { it.getName().endsWith(".kt") || it.getName().endsWith(".txt") }!!
.listFiles { it.getName().endsWith(".kt") || it.getName().endsWith(".txt") || it.getName().endsWith(".xml") }!!
.map {
file ->
val text = FileUtil.loadFile(file, true)