Skip to content
Snippets Groups Projects
Commit 393fe5ef authored by Jeff Burke's avatar Jeff Burke
Browse files

s1651: more unit test coverage

parent 643c9b28
No related branches found
No related tags found
No related merge requests found
......@@ -130,11 +130,11 @@
</copy>
</target>
<target name="test" depends="compile-test,resources">
<echo message="Running test" />
<!-- <target name="test" depends="compile-test,resources">
<echo message="Running test" />-->
Run the junit test suite
<echo message="Running test suite..." />
<!-- Run the junit test suite -->
<!-- <echo message="Running test suite..." />
<junit printsummary="yes" haltonfailure="yes" fork="yes">
<classpath>
<pathelement path="${build}/class"/>
......@@ -145,8 +145,9 @@
<test name="ca.nrc.cadc.ac.server.ldap.LdapGroupDAOTest" />
<test name="ca.nrc.cadc.ac.server.web.GroupActionFactoryTest" />
<test name="ca.nrc.cadc.ac.server.ldap.LdapUserDAOTest" />
<test name="ca.nrc.cadc.ac.server.RequestValidatorTest" />
<formatter type="plain" usefile="false" />
</junit>
</target>
</target>-->
</project>
......@@ -106,7 +106,7 @@ public class RequestValidator
if (paramList == null || paramList.isEmpty())
{
throw new IllegalArgumentException(
"Missing required parameters: ID and TYPE");
"Missing required parameters: ID, IDTYPE, ROLE");
}
// ID
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment