Tweaking JUnit tests to be more complete

git-svn-id: https://pmd.svn.sourceforge.net/svnroot/pmd/trunk@4643 51baf565-9d33-0410-a72c-fc3788e3496d
This commit is contained in:
Allan Caplan
2006-10-14 00:38:37 +00:00
parent b32e7fbd6b
commit dd9da8fc4e
2 changed files with 2 additions and 2 deletions

View File

@ -33,5 +33,5 @@ public class DuplicateJspImportTest extends SimpleAggregatorTst {
private static final String TEST5_FAIL =
"<%@ page import=\"com.foo.MyClass,com.foo.MyClass\"%><%@ page import=\"com.foo.MyClass\"%><html><body><b><img src=\"<%=Some.get()%>/foo\">xx</img>text</b></body></html>";
private static final String TEST6_OK =
"<%@ page import=\"com.foo.AClass\"%><%@ page import=\"com.foo.MyClass\"%><html><body><b><img src=\"<%=Some.get()%>/foo\">xx</img>text</b></body></html>";
"<%@ page errorPage=\"error.jsp\" %><%@ page import=\"com.foo.AClass\"%><%@ page import=\"com.foo.MyClass\"%><html><body><b><img src=\"<%=Some.get()%>/foo\">xx</img>text</b></body></html>";
}

View File

@ -24,5 +24,5 @@ public class NoInlineStyleInformationTest extends SimpleAggregatorTst {
"<html><body><p font='arial' align='center'>text</p></body></html>";
private static final String JSP_NO_VIOLATION1 =
"<html><body><p>text</p></body></html>";
"<html><body><p id='p_tag'>text</p></body></html>";
}