forked from phoedos/pmd
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:
@ -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>";
|
||||
}
|
||||
|
@ -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>";
|
||||
}
|
||||
|
Reference in New Issue
Block a user