Fix tests
This commit is contained in:
@@ -31,7 +31,7 @@ import org.springframework.ide.vscode.commons.rewrite.java.FixDescriptor;
|
||||
public class ImplicitWebAnnotationNamesReconciler implements JdtAstReconciler {
|
||||
|
||||
private static final String PROBLEM_LABEL = "Unnecessary path variable definition";
|
||||
private static final String FIX_LABEL = "Remove implicit eeb annotation name";
|
||||
private static final String FIX_LABEL = "Remove implicit web annotation name";
|
||||
private static final String FIX_LABEL_PLURAL = "Remove implicit web annotation names";
|
||||
|
||||
private static final Set<String> PARAM_ANNOTATIONS = new HashSet<>(
|
||||
|
||||
@@ -71,9 +71,9 @@ public class ImplicitWebAnnotationNamesReconcilerTest extends BaseReconcilerTest
|
||||
assertEquals("@PathVariable(\"message\")", markedStr);
|
||||
|
||||
assertEquals(3, problem.getQuickfixes().size());
|
||||
assertEquals("Remove Implicit Web Annotation Name", problems.get(0).getQuickfixes().get(0).title);
|
||||
assertEquals("Remove Implicit Web Annotation Names in file", problems.get(0).getQuickfixes().get(1).title);
|
||||
assertEquals("Remove Implicit Web Annotation Names in project", problems.get(0).getQuickfixes().get(2).title);
|
||||
assertEquals("Remove implicit web annotation name", problems.get(0).getQuickfixes().get(0).title);
|
||||
assertEquals("Remove implicit web annotation names in file", problems.get(0).getQuickfixes().get(1).title);
|
||||
assertEquals("Remove implicit web annotation names in project", problems.get(0).getQuickfixes().get(2).title);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user