Implement new validation api

This commit is contained in:
Trever Fischer
2012-03-05 19:19:13 -05:00
parent 47ab875a7a
commit 906871dfc2
2 changed files with 16 additions and 13 deletions

View File

@ -41,11 +41,11 @@ public class JoinTest {
server.stop();
}
@Test public void validUser() throws IOException {
@Test public void validUser() throws IOException, JSONException {
assertTrue(listener.isUserAuthed("TestUser"));
}
@Test public void invaliduser() throws IOException {
@Test public void invaliduser() throws IOException, JSONException {
assertFalse(listener.isUserAuthed("InvalidUser"));
}