Public Member Functions | |
Override void | logEntryReceived (ILogEntry logEntry) |
FilesManagerTest () | |
void | testFolderName () throws Exception |
void | testGetFiles () throws Exception |
void | testIsOperational () throws Exception |
Override void | errorReceived (String xml) |
void | testGetAllLogs () throws Exception |
Override void | zoomReadingFile (int num) |
Override void | zoomTotalFileToRead (int num) |
Protected Member Functions | |
Override void | setUp () throws Exception |
Override void | tearDown () throws Exception |
Private Attributes | |
IsoDateFormat | dateFormat = new IsoDateFormat() |
FilesManager | manager |
int | logsRead = 0 |
int | filesToRead |
|
|
|
|
|
|
|
|
|
|
|
Check if the right folder is used for getting XML files
|
|
Test the getting of logs with no constraints so the engine should return all the logs of all the files in the folder
We do not need to test other cases because the generation of the list of the files to read is tested in testGetFiles for all possible cases. |
|
Test the selection of files with a given interval
|
|
Test isOperational()
|
|
|
|
|
|
The date format |
|
The number of files that the zoom engine will read |
|
The number of logs received |
|
The object to test |