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