assertEquals("Removing Chars", "helloworld\tqsdsds", result);
}
public void testRemoveChars2() {
String test = "hello\r\nworld\r\n\tqsdsds";
TagScanner scanner = new TagScanner() {
public Tag scan(Tag tag, String url, NodeReader reader, String currLine) {
return null;
}
public boolean evaluate(String s, TagScanner previousOpenScanner) {
return false;
}
public String[] getID() {
return null;
}
};
String result = scanner.removeChars(test, "\r\n");
assertEquals("Removing Chars", "helloworld\tqsdsds", result);
}