Skip to content

Commit

Permalink
Issue checkstyle#3648: Remove line length verification
Browse files Browse the repository at this point in the history
  • Loading branch information
xpdavid committed Mar 8, 2017
1 parent dbff885 commit 29d1365
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,7 @@ private void verifyCorrectTestDataInFrameModel(MainFrameModel model, File javaFi
assertEquals(javaFile, model.getCurrentFile());
assertEquals(getGuiTitleForTestFile(FILE_NAME_TEST_DATA), model.getTitle());
assertTrue(model.isReloadActionEnabled());
assertEquals(getLinesToPositionAsStringForTestFile(),
model.getLinesToPosition().toString());
assertEquals(17, model.getLinesToPosition().size());
assertTrue(model.getText().contains("InputJavadocAttributesAndMethods"));
assertEquals(getPath(""), model.getLastDirectory() + File.separator);
assertNotNull(model.getParseTreeTableModel());
Expand All @@ -150,10 +149,6 @@ private static String getGuiTitleForTestFile(String fileName) {
return "Checkstyle GUI : " + fileName;
}

private static String getLinesToPositionAsStringForTestFile() {
return "[0, 0, 4, 20, 23, 64, 65, 93, 112, 113, 121, 142, 149, 177, 204, 210, 211]";
}

private static String getNonCompilableFilePath() {
return "src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/"
+ FILE_NAME_NON_COMPIABLE;
Expand Down

0 comments on commit 29d1365

Please sign in to comment.