Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
D
S
T
T
TestAddBook
- Class in
dtu.library.app
This class contains tests, testing the functionality of adding books to the library.
TestAddBook()
- Constructor for class dtu.library.app.
TestAddBook
testAdminAddBook()
- Method in class dtu.library.app.
TestAddBook
Tests the scenario that the administrator can add a book to the library via the library application.
testAdminAddBookNotLoggedIn()
- Method in class dtu.library.app.
TestAddBook
Tests the scenario when the administrator wants to add a book, but is not logged in.
TestBorrowBook
- Class in
dtu.library.app
This class contains the test for testing borrowing of books (and returning them).
TestBorrowBook()
- Constructor for class dtu.library.app.
TestBorrowBook
testBorrowBook()
- Method in class dtu.library.app.
TestBorrowBook
Tests that the user can borrow a book.
testBorrowBookMoreThan10()
- Method in class dtu.library.app.
TestBorrowBook
Test the case when the user has already borrowed 10 books and want to borrow one more.
testBorrowBookNull()
- Method in class dtu.library.app.
TestBorrowBook
Tests the case when the user tries to borrow the null value.
testBorrowWithOverdueBooks()
- Method in class dtu.library.app.
TestOverdue
Test that the user can't borrow a book if he has an overdue book.
TestDateServer
- Class in
dtu.library.app
TestDateServer()
- Constructor for class dtu.library.app.
TestDateServer
testDateServer()
- Method in class dtu.library.app.
TestDateServer
Tests that getDate function of the DateServer returns the current date.
testLibAppGetDate()
- Method in class dtu.library.app.
TestDateServer
Tests that the getDate function of the library application returns the current date.
TestLibraryThroughUI
- Class in
dtu.library.ui
TestLibraryThroughUI()
- Constructor for class dtu.library.ui.
TestLibraryThroughUI
testLogin()
- Method in class dtu.library.app.
TestAddBook
Tests the scenario when the administrator successfully logs in.
testLoginFailed()
- Method in class dtu.library.app.
TestAddBook
Tests the scenario when the administrator wants to log in with the wrong password.
TestOverdue
- Class in
dtu.library.app
TestOverdue()
- Constructor for class dtu.library.app.
TestOverdue
testOverdueBook()
- Method in class dtu.library.app.
TestOverdue
Tests the overdue status of a book.
testOverdueBookYearRollOver()
- Method in class dtu.library.app.
TestOverdue
Tests that the computation of when a book is overdue also works across year boundaries (e.g.
TestRegisterUser
- Class in
dtu.library.app
TestRegisterUser()
- Constructor for class dtu.library.app.
TestRegisterUser
testRegisterUser()
- Method in class dtu.library.app.
TestRegisterUser
Tests the registration of a user with an address.
testRegisterUserIfNotLoggedIn()
- Method in class dtu.library.app.
TestRegisterUser
Tests that it is not allowed to register a user if not logged in as administrator.
TestReturnBook
- Class in
dtu.library.app
TestReturnBook()
- Constructor for class dtu.library.app.
TestReturnBook
testReturnBook()
- Method in class dtu.library.app.
TestReturnBook
Tests that the user can return a book he has borrowed.
testReturningOverdueBook()
- Method in class dtu.library.app.
TestOverdue
Tests that the book is not overdue anymore, when it is being returned.
TestSearchBook
- Class in
dtu.library.app
Note that the test class has been refactor to inherit its setup method from class SampleDataSetup.
TestSearchBook()
- Constructor for class dtu.library.app.
TestSearchBook
testSearchBooksNothingFound()
- Method in class dtu.library.app.
TestSearchBook
Tests searching for books in the library.
testSearchBooksSignature()
- Method in class dtu.library.app.
TestSearchBook
Tests searching for books in the library.
testSearchBooksTitle()
- Method in class dtu.library.app.
TestSearchBook
Tests searching for books in the library.
testSearchBooksTitleAuthor()
- Method in class dtu.library.app.
TestSearchBook
Tests searching for books in the library.
testTestAddBook()
- Method in class dtu.library.ui.
TestLibraryThroughUI
Tests adding a book to the library by the administrator.
testTestExitApplication1()
- Method in class dtu.library.ui.
TestLibraryThroughUI
Tests that the main menu has an exit option and that selecting the exit option results in true being returned from the processSelection method.
testTestExitApplication2()
- Method in class dtu.library.ui.
TestLibraryThroughUI
Tests that a wrong input to the menu results in a "Wrong selection; please repeat." output, and that the exit status is still false.
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
D
S
T