Some refactorings towards a fix.
This commit is contained in:
@@ -3155,6 +3155,35 @@ public class ApplicationYamlEditorTest extends AbstractPropsEditorTest {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* TODO: Delete this tempotary test.
|
||||
* This test is just one piece copied from another test to do more focussed debugging. If you find this test
|
||||
* in the git repo, then it was committed by accident. So feel free to delete it.
|
||||
*/
|
||||
@Test public void testClasspathResourceCompletionTemp() throws Exception {
|
||||
CachingValueProvider.TIMEOUT = Duration.ofSeconds(20);
|
||||
|
||||
useProject(createPredefinedMavenProject("empty-boot-1.3.0-app"));
|
||||
|
||||
data("my.nice.resource", "org.springframework.core.io.Resource", null, "A very nice resource.");
|
||||
data("my.nice.list", "java.util.List<org.springframework.core.io.Resource>", null, "A nice list of resources.");
|
||||
|
||||
assertCompletionWithLabel(
|
||||
"my:\n" +
|
||||
" nice:\n" +
|
||||
" list:\n"+
|
||||
" - classpath:<*>\n"
|
||||
,// ==========
|
||||
"classpath:application.yml"
|
||||
, // =>
|
||||
"my:\n" +
|
||||
" nice:\n" +
|
||||
" list:\n"+
|
||||
" - classpath:application.yml<*>\n"
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
@Test public void testClasspathResourceCompletion() throws Exception {
|
||||
CachingValueProvider.TIMEOUT = Duration.ofSeconds(20);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user