Cleanup.
This commit is contained in:
parent
14cb07ef0d
commit
4dbc2bbc08
1 changed files with 7 additions and 7 deletions
|
@ -46,15 +46,15 @@ import static org.testng.Assert.assertEquals;
|
|||
* @created 2015-12-03
|
||||
* @since 1.0
|
||||
*/
|
||||
@SuppressWarnings("unused")
|
||||
public class UtilsTest {
|
||||
@Test
|
||||
public void testEscapeXml()
|
||||
throws Exception {
|
||||
Assert.assertEquals(
|
||||
"This is a test. We wan't to make sure that everything is <encoded> according the "encoding" parameter & value.",
|
||||
Utils.escapeXml(
|
||||
"This is a test. We wan't to make sure that everything is <encoded> according the \"encoding\" parameter & value."));
|
||||
public void testEscapeXml() {
|
||||
assertEquals(Utils.escapeXml(
|
||||
"This is a test. We wan't to make sure that everything is <encoded> according the \"encoding\" parameter "
|
||||
+ "& value."), "This is a test. We wan't to make sure that everything is <encoded> according "
|
||||
+ "the "encoding" parameter & value.");
|
||||
}
|
||||
|
||||
@SuppressWarnings("PMD.AvoidDuplicateLiterals")
|
||||
@Test
|
||||
public void testOutWrite() throws IOException {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue