fixed failing test "testWrapMethodAnnotationBeforeParams"

Added possibility to specify parent block for AbstractJavaBlock. When processing method, wrap after annotation (on keyword "public, private, protected") is set to be parent of method parameters wrap. So when wrap occurs parent wrap is used instead of method parameter wrap (which is now child)
This commit is contained in:
Yaroslav Lepenkin
2014-10-27 22:19:08 +04:00
parent ccb3f71fce
commit d253c4201d
6 changed files with 60 additions and 16 deletions
@@ -260,7 +260,6 @@ public class JavaFormatterWrapTest extends AbstractJavaFormatterTest {
);
}
@Bombed(user = "Roman Shevchenko", year = 2014, month = Calendar.MARCH, day = 14)
public void testWrapMethodAnnotationBeforeParams() {
// Inspired by IDEA-59536
getSettings().RIGHT_MARGIN = 90;