Commit Graph

3 Commits (b7cffa5e82d70aec265830dff5102f45d1990424)

Author SHA1 Message Date
Nicolas Hake b7cffa5e82 Aul tests: Assert that Translate() warns when a translation is missing
I'm not a huge fan of testing for warnings by hijacking the logging
routines, but right now there's no way to exfiltrate warnings from Aul
any other way, so it'll have to do.

Overriding the logging functions from C4SimpleLog.cpp has the nice
additional advantage that expected runtime errors no longer get written
to stdout - this is okay because we're already checking that an
exception is thrown.
2016-01-23 13:49:09 +01:00
Nicolas Hake 53fe0fa1cc Aul Tests: Move Translate() test stub to predefined functions test
As small as the Translate() test is, it is exercising a predefined
function and not just the Aul engine itself.
2016-01-23 13:49:08 +01:00
Nicolas Hake 24839204ce Tests: Add tests for Min, Max 2016-01-23 13:49:07 +01:00