-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-1463: additional test cases for concatenated bean names in compone…
…nt annotations
- Loading branch information
1 parent
edbf870
commit 0851877
Showing
5 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
...ources/test-projects/test-annotation-indexing-beans/src/main/java/org/test/Constants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package org.test; | ||
|
||
public class Constants { | ||
|
||
public static final String SAMPLE_CONSTANT = "SampleConstant"; | ||
|
||
} |
7 changes: 7 additions & 0 deletions
7
.../src/main/java/org/test/SpecialNameComponentWithAttributeNameWithStringConcatenation.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package org.test; | ||
|
||
import org.springframework.stereotype.Component; | ||
|
||
@Component(value = "specialName" + "WithAttributeName") | ||
public class SpecialNameComponentWithAttributeNameWithStringConcatenation { | ||
} |
7 changes: 7 additions & 0 deletions
7
...on-indexing-beans/src/main/java/org/test/SpecialNameComponentWithStringConcatenation.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package org.test; | ||
|
||
import org.springframework.stereotype.Component; | ||
|
||
@Component("special" + "Name") | ||
public class SpecialNameComponentWithStringConcatenation { | ||
} |
7 changes: 7 additions & 0 deletions
7
...-beans/src/main/java/org/test/SpecialNameComponentWithStringConcatenationAndConstant.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package org.test; | ||
|
||
import org.springframework.stereotype.Component; | ||
|
||
@Component("special" + "Name" + Constants.SAMPLE_CONSTANT) | ||
public class SpecialNameComponentWithStringConcatenationAndConstant { | ||
} |