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
|
* @created 2015-12-03
|
||||||
* @since 1.0
|
* @since 1.0
|
||||||
*/
|
*/
|
||||||
@SuppressWarnings("unused")
|
|
||||||
public class UtilsTest {
|
public class UtilsTest {
|
||||||
@Test
|
@Test
|
||||||
public void testEscapeXml()
|
public void testEscapeXml() {
|
||||||
throws Exception {
|
assertEquals(Utils.escapeXml(
|
||||||
Assert.assertEquals(
|
"This is a test. We wan't to make sure that everything is <encoded> according the \"encoding\" parameter "
|
||||||
"This is a test. We wan't to make sure that everything is <encoded> according the "encoding" parameter & value.",
|
+ "& value."), "This is a test. We wan't to make sure that everything is <encoded> according "
|
||||||
Utils.escapeXml(
|
+ "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")
|
@SuppressWarnings("PMD.AvoidDuplicateLiterals")
|
||||||
@Test
|
@Test
|
||||||
public void testOutWrite() throws IOException {
|
public void testOutWrite() throws IOException {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue