@Test public void should_have_only_one_issue_with_secondaries() throws Exception { TabCharacterCheck check = new TabCharacterCheck(); check.setMarkAll(true); SonarXmlCheckVerifier.verifyIssueOnFile( "tabsEverywhere.xml", check, "Replace all tab characters in this file by sequences of white-spaces.", 2, 3, 4); SonarXmlCheckVerifier.verifyIssueOnFile( "tabsSinglePlace.xml", check, "Replace all tab characters in this file by sequences of white-spaces.", 4); }
public void setMarkAll(boolean markAll) { this.markAll = markAll; }
TabCharacterCheck extends SonarXmlCheck { public void setMarkAll(boolean markAll) { this.markAll = markAll; } }
TabCharacterCheck extends SonarXmlCheck { public void setMarkAll(boolean markAll) { this.markAll = markAll; }  }
TabCharacterCheck extends SonarXmlCheck { public void setMarkAll(boolean markAll) { this.markAll = markAll; }  @Override void scanFile(XmlFile file); void setMarkAll(boolean markAll); }
TabCharacterCheck extends SonarXmlCheck { public void setMarkAll(boolean markAll) { this.markAll = markAll; }  @Override void scanFile(XmlFile file); void setMarkAll(boolean markAll); static final String RULE_KEY; }