Spring: fix for package-completion tests
because otherwise `java` package name interfere with `java` directory name completion from somewhere
This commit is contained in:
committed by
Nikolay Krasko
parent
1fd8abb0bb
commit
b51a7c6957
+2
-2
@@ -1,11 +1,11 @@
|
|||||||
// ELEMENT: java
|
// ELEMENT: lang
|
||||||
// CHAR: \n
|
// CHAR: \n
|
||||||
|
|
||||||
import org.springframework.context.annotation.ComponentScan
|
import org.springframework.context.annotation.ComponentScan
|
||||||
import org.springframework.context.annotation.Configuration
|
import org.springframework.context.annotation.Configuration
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@ComponentScan(basePackages = arrayOf("ja<caret>va"))
|
@ComponentScan(basePackages = arrayOf("java.la<caret>ng"))
|
||||||
open class App {
|
open class App {
|
||||||
|
|
||||||
}
|
}
|
||||||
+2
-2
@@ -1,11 +1,11 @@
|
|||||||
// ELEMENT: java
|
// ELEMENT: lang
|
||||||
// CHAR: \n
|
// CHAR: \n
|
||||||
|
|
||||||
import org.springframework.context.annotation.ComponentScan
|
import org.springframework.context.annotation.ComponentScan
|
||||||
import org.springframework.context.annotation.Configuration
|
import org.springframework.context.annotation.Configuration
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@ComponentScan(basePackages = arrayOf("javava"))
|
@ComponentScan(basePackages = arrayOf("java.langng"))
|
||||||
open class App {
|
open class App {
|
||||||
|
|
||||||
}
|
}
|
||||||
+2
-2
@@ -1,11 +1,11 @@
|
|||||||
// ELEMENT: java
|
// ELEMENT: lang
|
||||||
// CHAR: \t
|
// CHAR: \t
|
||||||
|
|
||||||
import org.springframework.context.annotation.ComponentScan
|
import org.springframework.context.annotation.ComponentScan
|
||||||
import org.springframework.context.annotation.Configuration
|
import org.springframework.context.annotation.Configuration
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@ComponentScan(basePackages = arrayOf("ja<caret>va"))
|
@ComponentScan(basePackages = arrayOf("java.la<caret>ng"))
|
||||||
open class App {
|
open class App {
|
||||||
|
|
||||||
}
|
}
|
||||||
+2
-2
@@ -1,11 +1,11 @@
|
|||||||
// ELEMENT: java
|
// ELEMENT: lang
|
||||||
// CHAR: \t
|
// CHAR: \t
|
||||||
|
|
||||||
import org.springframework.context.annotation.ComponentScan
|
import org.springframework.context.annotation.ComponentScan
|
||||||
import org.springframework.context.annotation.Configuration
|
import org.springframework.context.annotation.Configuration
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@ComponentScan(basePackages = arrayOf("java"))
|
@ComponentScan(basePackages = arrayOf("java.lang"))
|
||||||
open class App {
|
open class App {
|
||||||
|
|
||||||
}
|
}
|
||||||
+5
-4
@@ -1,12 +1,13 @@
|
|||||||
// NUMBER: 2
|
// NUMBER: 3
|
||||||
// EXIST: { lookupString:"java" }
|
// EXIST: { lookupString:"lang" }
|
||||||
// EXIST: { lookupString:"javax" }
|
// EXIST: { lookupString:"util" }
|
||||||
|
// EXIST: { lookupString:"sql" }
|
||||||
|
|
||||||
import org.springframework.context.annotation.ComponentScan
|
import org.springframework.context.annotation.ComponentScan
|
||||||
import org.springframework.context.annotation.Configuration
|
import org.springframework.context.annotation.Configuration
|
||||||
|
|
||||||
@Configuration
|
@Configuration
|
||||||
@ComponentScan(basePackages = arrayOf("ja<caret>va"))
|
@ComponentScan(basePackages = arrayOf("java.l<caret>ang"))
|
||||||
open class App {
|
open class App {
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user