filed and added corresponding JDT parser issues for disabled test cases around code completion difficulties
This commit is contained in:
@@ -189,7 +189,7 @@ public class ConditionalOnPropertyCompletionTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled
|
||||
@Disabled // https://github.com/eclipse-jdt/eclipse.jdt.core/issues/3260
|
||||
public void testConditionalOnPropertyCompletionWithPrefixAndAttributeWithNameAttribute() throws Exception {
|
||||
List<CompletionItem> completions = getCompletions("@ConditionalOnProperty(prefix = \"else\", name=<*>)");
|
||||
assertEquals(1, completions.size());
|
||||
@@ -210,7 +210,7 @@ public class ConditionalOnPropertyCompletionTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled
|
||||
@Disabled // https://github.com/eclipse-jdt/eclipse.jdt.core/issues/3419
|
||||
public void testConditionalOnPropertyCompletionWithEmptyPrefixAndEmptyNameAttribute() throws Exception {
|
||||
List<CompletionItem> completions = getCompletions("@ConditionalOnProperty(prefix = , name = <*>)");
|
||||
assertEquals(3, completions.size());
|
||||
@@ -221,7 +221,7 @@ public class ConditionalOnPropertyCompletionTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@Disabled
|
||||
@Disabled // https://github.com/eclipse-jdt/eclipse.jdt.core/issues/3419
|
||||
public void testConditionalOnPropertyCompletionWithEmptyPrefixAndEmptyNameAttributeInQuotes() throws Exception {
|
||||
List<CompletionItem> completions = getCompletions("@ConditionalOnProperty(prefix = , name = \"<*>\")");
|
||||
assertEquals(3, completions.size());
|
||||
|
||||
@@ -288,10 +288,8 @@ public class ValueCompletionTest {
|
||||
assertClasspathCompletions();
|
||||
}
|
||||
|
||||
// The parser removes the (spring.) piece from the AST in this case, so there is no way
|
||||
// to clearly identify this case
|
||||
@Test
|
||||
@Disabled
|
||||
@Disabled // https://github.com/eclipse-jdt/eclipse.jdt.core/issues/3420
|
||||
void testComplexPrefixCompletionParamNameCursorRightAfterDot() throws Exception {
|
||||
prepareCase("@Value(\"onField\")", "@Value(spring.<*>)");
|
||||
|
||||
@@ -321,19 +319,16 @@ public class ValueCompletionTest {
|
||||
assertClasspathCompletions();
|
||||
}
|
||||
|
||||
// The parser removes the (spring.) piece from the AST in this case, so there is no way
|
||||
// to clearly identify this case
|
||||
//
|
||||
// @Test
|
||||
// void testPrefixCompletionWithParamNameCursorRightAfterDot() throws Exception {
|
||||
// prepareCase("@Value(\"onField\")", "@Value(value=spring.<*>)");
|
||||
// prepareDefaultIndexData();
|
||||
//
|
||||
// assertPropertyCompletions(
|
||||
// "@Value(value=\"${spring.prop1}\"<*>)");
|
||||
//
|
||||
// assertClasspathCompletions();
|
||||
// }
|
||||
@Test
|
||||
@Disabled // https://github.com/eclipse-jdt/eclipse.jdt.core/issues/3421
|
||||
void testPrefixCompletionWithParamNameCursorRightAfterDot() throws Exception {
|
||||
prepareCase("@Value(\"onField\")", "@Value(value=spring.<*>)");
|
||||
|
||||
assertPropertyCompletions(
|
||||
"@Value(value=\"${spring.prop1}\"<*>)");
|
||||
|
||||
assertClasspathCompletions();
|
||||
}
|
||||
|
||||
@Test
|
||||
void testComplexPrefixCompletionWithParamName() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user