Warrning! TL!
This is the grading information for lab <2>, calculated using the <120> deadline:
Test series 1: Testing RMI search client functionality (1):
[OK] Instantiate ShareMeImpl class
[FAILED] Execute search() method with correct host list and matching search query
[FAILED] Check number of owners in search result (correct list/non-empty result)
[FAILED] Check number of entries per owner (correct list/non-empty result)
-------------------------------------------------------------------------
Points for test series 1: 0,1 / 1,7
Test series 2: Testing RMI search client functionality (2) :
[OK] Instantiate ShareMeImpl class
[FAILED] Execute search() method with correct host list and not matching search query
[FAILED] Check number of owners in search result (correct list/empty result)
[FAILED] Check number of entries per owner (correct list/empty result)
-------------------------------------------------------------------------
Points for test series 2: 0,1 / 1,5
Test series 3: Testing RMI search client functionality (3):
[OK] Instantiate ShareMeImpl class
[FAILED] Execute search() method with correct host list and 'null' search query
-------------------------------------------------------------------------
Points for test series 3: 0,1 / 0,5
Test series 4: Testing RMI search client functionality (4):
[OK] Instantiate ShareMeImpl class
[FAILED] Execute search() method with host list containing unreachable contact
[FAILED] Check number of owners in search result (unreachable contact)
[FAILED] Check number of entries per owner (unreachable contact)
-------------------------------------------------------------------------
Points for test series 4: 0,1 / 1,5
Test series 5: Testing search engine (RMI server):
[OK] Instantiate ISearchEngine implementation
[OK] ISearchEngine object is instance of RemoteUnicastObject
[OK] Invoke search() method of ISearchEngine implementation
[OK] Check returned ISearchResponse
-------------------------------------------------------------------------
Points for test series 5: 2,4 / 2,4
Test series 6: Testing integration of components:
[OK] Check use of rebind()
[OK] Instantiate ShareMeImpl and call start() method
[OK] Check registration of server with RMI registry
[OK] Stop ShareMeImpl via UDP packet sent to the ShutdownListener
[OK] Check use of unbind()
-------------------------------------------------------------------------
Points for test series 6: 5,4 / 5,4
Sum of all tests 8,2 points
Percentage 120 %
-------------------------------------------------------------------------
Total points 9,84
Ohladom toho som pisal Tomasekovi, nepripada mi ze by tam malo byt nieco zle, na prechadzanie listov som si daval pozor, aby zobralo vsetkych uzivatelov, pri chybe som nehadzal ShareMeException ale len vypisal hlasku a dany uzol nezobralo do vysledku. Dalsia vec, to ze trebalo cekovat vstupny retazec na null - dodany program ktory bol na testovanie-spustanie zobral vpohode prazdny riadok a vyhladal vsetky subory od kazdeho...to mi pride celkom normalne nie?