Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ac
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OATS-CADC
ac
Commits
393fe5ef
Commit
393fe5ef
authored
10 years ago
by
Jeff Burke
Browse files
Options
Downloads
Patches
Plain Diff
s1651: more unit test coverage
parent
643c9b28
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
projects/cadcAccessControl-Server/build.xml
+6
-5
6 additions, 5 deletions
projects/cadcAccessControl-Server/build.xml
projects/cadcAccessControl-Server/src/ca/nrc/cadc/ac/server/RequestValidator.java
+1
-1
1 addition, 1 deletion
...ol-Server/src/ca/nrc/cadc/ac/server/RequestValidator.java
with
7 additions
and
6 deletions
projects/cadcAccessControl-Server/build.xml
+
6
−
5
View file @
393fe5ef
...
...
@@ -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>
This diff is collapsed.
Click to expand it.
projects/cadcAccessControl-Server/src/ca/nrc/cadc/ac/server/RequestValidator.java
+
1
−
1
View file @
393fe5ef
...
...
@@ -106,7 +106,7 @@ public class RequestValidator
if
(
paramList
==
null
||
paramList
.
isEmpty
())
{
throw
new
IllegalArgumentException
(
"Missing required parameters: ID
and TYP
E"
);
"Missing required parameters: ID
, IDTYPE, ROL
E"
);
}
// ID
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment