Skip to content

Commit

Permalink
add support for unidirectional agents
Browse files Browse the repository at this point in the history
  • Loading branch information
pnguyen committed Sep 8, 2009
1 parent 5209406 commit 4222d71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/org/hyperic/hq/hqapi1/test/AgentGetAgents_test.java
Expand Up @@ -54,7 +54,7 @@ public void testGetAllAgents() throws Exception {

for (Agent a : agents) {
assertTrue(a.getAddress().length() > 0);
assertTrue(a.getPort() > 0);
assertTrue(a.getPort() > 0 || a.getPort() == -1);
assertTrue(a.getVersion().length() > 0);
assertTrue(a.getId() > 0);
}
Expand Down
2 changes: 1 addition & 1 deletion src/org/hyperic/hq/hqapi1/test/AgentGet_test.java
Expand Up @@ -39,7 +39,7 @@ public AgentGet_test(String name) {

private void validateAgent(Agent a) {
assertTrue(a.getAddress().length() > 0);
assertTrue(a.getPort() > 0);
assertTrue(a.getPort() > 0 || a.getPort() == -1);
assertTrue(a.getVersion().length() > 0);
assertTrue(a.getId() > 0);
}
Expand Down

0 comments on commit 4222d71

Please sign in to comment.