Check loading of operation/usage mode from config.

Signed-off-by: Rob Caelers <robc@krandor.org>
Remove workrave namespace from tests

Signed-off-by: Rob Caelers <robc@krandor.org>
Test loading of modes from config.

Signed-off-by: Rob Caelers <robc@krandor.org>
Test overriding operation modes.

Signed-off-by: Rob Caelers <robc@krandor.org>
Remove  unused Sizeof from enums.

Signed-off-by: Rob Caelers <robc@krandor.org>
Fix daily reset and add tests.

Signed-off-by: Rob Caelers <robc@krandor.org>
Start tests at well defined time of day.

Signed-off-by: Rob Caelers <robc@krandor.org>
Daily limit tests.

Signed-off-by: Rob Caelers <robc@krandor.org>