コード例 #1
0
 @Test
 public void should_find_an_issue_on_the_first_line_on_UTF8_file_with_BOM() {
   JavaPropertiesCheckVerifier.verify(
       check,
       CheckTestUtils.getTestFile("indentation/indentationUTF8WithBOMIssueFirstLine.properties"),
       Charsets.UTF_8);
 }
コード例 #2
0
 @Test
 public void
     should_find_some_keys_that_are_not_properly_indented_and_raise_issues_on_UTF8_file_with_BOM() {
   JavaPropertiesCheckVerifier.verify(
       check,
       CheckTestUtils.getTestFile("indentation/indentationUTF8WithBOM.properties"),
       Charsets.UTF_8);
 }
コード例 #3
0
 @Test
 public void should_find_an_issue_on_the_first_line_on_ISO_8859_1_file() {
   JavaPropertiesCheckVerifier.verify(
       check, CheckTestUtils.getTestFile("indentation/indentationIssueFirstLine.properties"));
 }
コード例 #4
0
 @Test
 public void should_find_some_keys_that_are_not_properly_indented_and_raise_issues() {
   JavaPropertiesCheckVerifier.verify(
       check, CheckTestUtils.getTestFile("indentation/indentation.properties"));
 }