|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdtu.library.app.TestAddBook
public class TestAddBook
This class contains tests, testing the functionality of adding books to the library.
Constructor Summary | |
---|---|
TestAddBook()
|
Method Summary | |
---|---|
void |
testAdminAddBook()
Tests the scenario that the administrator can add a book to the library via the library application. |
void |
testAdminAddBookNotLoggedIn()
Tests the scenario when the administrator wants to add a book, but is not logged in. |
void |
testLogin()
Tests the scenario when the administrator successfully logs in. |
void |
testLoginFailed()
Tests the scenario when the administrator wants to log in with the wrong password. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestAddBook()
Method Detail |
---|
public void testLogin()
public void testLoginFailed()
public void testAdminAddBook() throws java.lang.Exception
java.lang.Exception
public void testAdminAddBookNotLoggedIn()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |