Public Member Functions | |
FileHelperTest () | |
Override void | errorReceived (String xml) |
Override void | logEntryReceived (ILogEntry logEntry) |
Override void | bytesRead (long bytes) |
Override void | bytesWritten (long bytes) |
Override void | logsRead (int numOfLogs) |
Override void | logsWritten (int numOfLogs) |
void | testLoadAll () throws Exception |
void | testLoadLevelRange () throws Exception |
void | testLoadTimelRange () throws Exception |
void | testLoadFilterAll () throws Exception |
Protected Member Functions | |
Override void | setUp () throws Exception |
Override void | tearDown () throws Exception |
Private Attributes | |
File | testFile |
FileHelper | fileHelper |
int | numOfLogsRead |
Static Private Attributes | |
final String | xmlFileName = "logOutput2008-09-19T11_21_49.212--2008-09-19T11_21_49.670.xml" |
final int | totalLogsInFile = 202 |
|
|
|
|
|
|
|
Print a message in the standard output: the error will be visible thanks to tat.
|
|
|
|
|
|
|
|
|
|
|
|
Test loading with no times and no levels restrictions |
|
Test the loading of logs between a defined time interval and a definit log level interval |
|
Test the loading of logs between a defined range of levels |
|
Test the loading of logs between a defined time interval |
|
The |
|
Number of logs read
|
|
The file to read for testing |
|
Total number of logs in the XML |
|
The xml file used for testing |