Spring Support: Fix tests in IDEA 2017.1
Filter out duplicate reference targets. Fix test data as directory references are available inside of string literals. Fix test data as Spring @Autowired inspection no more reports parameterless methods. Fix gutter checking as configuration bean references now resolve to @ComponentScan annotation
This commit is contained in:
committed by
Dmitry Jemerov
parent
2804264289
commit
2e3617adbb
@@ -49,15 +49,6 @@
|
||||
<description>Only one constructor can have @Autowired annotation</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
<file>parameterlessFunction.kt</file>
|
||||
<line>15</line>
|
||||
<module>light_idea_test_case</module>
|
||||
<entry_point TYPE="file" FQNAME="temp:///src/parameterlessFunction.kt" />
|
||||
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Autowiring for Bean Class (Kotlin)</problem_class>
|
||||
<description>Autowired method without parameters</description>
|
||||
</problem>
|
||||
|
||||
<problem>
|
||||
<file>invalidAutowiredResource.kt</file>
|
||||
<line>24</line>
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// NO_XML_CONFIG
|
||||
// REF: java
|
||||
// REF: java.java
|
||||
|
||||
import org.springframework.context.annotation.ComponentScan
|
||||
import org.springframework.context.annotation.Configuration
|
||||
|
||||
Reference in New Issue
Block a user