@@ -695,15 +695,10 @@ def test_Subcommands_GoToReferences_MultipleProjects( self, app ):
695695 {
696696 'response' : requests .codes .ok ,
697697 'data' : contains_inanyorder (
698- # NOTE: Yes, jdt doubles the references in the second project.
699698 LocationMatcher ( abstract_test_widget , 10 , 15 ),
700699 LocationMatcher ( test_factory , 28 , 9 ),
701700 LocationMatcher ( test_launcher , 32 , 11 ),
702701 LocationMatcher ( test_widget_impl , 18 , 15 ),
703- LocationMatcher ( abstract_test_widget , 10 , 15 ),
704- LocationMatcher ( test_factory , 28 , 9 ),
705- LocationMatcher ( test_launcher , 32 , 11 ),
706- LocationMatcher ( test_widget_impl , 18 , 15 )
707702 )
708703 } ),
709704 ]:
@@ -1193,7 +1188,7 @@ def test_Subcommands_FixIt_SingleDiag_MultipleOption_Insertion( self, app ):
11931188 } ),
11941189 has_entries ( {
11951190 'kind' : 'quickassist' ,
1196- 'text' : "Add Javadoc for 'Wimble' "
1191+ 'text' : "Add Javadoc comment "
11971192 } ),
11981193 has_entries ( {
11991194 'text' : "Sort Members for 'TestFactory.java'"
@@ -1264,7 +1259,7 @@ def test_Subcommands_FixIt_SingleDiag_SingleOption_Modify( self, app ):
12641259 ),
12651260 } ),
12661261 has_entries ( {
1267- 'text' : "Add Javadoc for 'getWidget' "
1262+ 'text' : "Add Javadoc comment "
12681263 } ),
12691264 has_entries ( {
12701265 'text' : "Sort Members for 'TestFactory.java'"
@@ -1337,7 +1332,7 @@ def test_Subcommands_FixIt_SingleDiag_MultiOption_Delete( self, app ):
13371332 } ),
13381333 has_entries ( {
13391334 'kind' : 'quickassist' ,
1340- 'text' : "Add Javadoc for 'testString' " ,
1335+ 'text' : "Add Javadoc comment " ,
13411336 'chunks' : instance_of ( list )
13421337 } ),
13431338 has_entries ( {
@@ -1346,6 +1341,9 @@ def test_Subcommands_FixIt_SingleDiag_MultiOption_Delete( self, app ):
13461341 has_entries ( {
13471342 'text' : "Add all missing imports"
13481343 } ),
1344+ has_entries ( {
1345+ 'text' : "Add @SuppressWarnings 'unused' to 'testString'"
1346+ } ),
13491347 )
13501348 } )
13511349
@@ -1425,7 +1423,7 @@ def test_Subcommands_FixIt_MultipleDiags( self, app ):
14251423 'chunks' : instance_of ( list ),
14261424 } ),
14271425 has_entries ( {
1428- 'text' : "Add Javadoc for 'getWidget' " ,
1426+ 'text' : "Add Javadoc comment " ,
14291427 'chunks' : instance_of ( list ),
14301428 } ),
14311429 has_entries ( {
@@ -1559,7 +1557,7 @@ def test_Subcommands_FixIt_Range( self, app ):
15591557 'chunks' : instance_of ( list ),
15601558 } ),
15611559 has_entries ( {
1562- 'text' : "Add Javadoc for 'launch' " ,
1560+ 'text' : "Add Javadoc comment " ,
15631561 'chunks' : instance_of ( list ),
15641562 } ),
15651563 has_entries ( {
@@ -1658,7 +1656,7 @@ def test_Subcommands_FixIt_Unicode( self, app ):
16581656 'chunks' : instance_of ( list ),
16591657 } ),
16601658 has_entries ( {
1661- 'text' : "Add Javadoc for 'DoWhatever' "
1659+ 'text' : "Add Javadoc comment "
16621660 } ),
16631661 has_entries ( {
16641662 'text' : "Sort Members for 'Test.java'" ,
@@ -1725,7 +1723,7 @@ def test_Subcommands_FixIt_InvalidURI( self, app ):
17251723 ),
17261724 } ),
17271725 has_entries ( {
1728- 'text' : "Add Javadoc for 'getWidget' "
1726+ 'text' : "Add Javadoc comment "
17291727 } ),
17301728 has_entries ( {
17311729 'text' : "Sort Members for 'TestFactory.java'"
0 commit comments