mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Add Debug unit test to check bassert behavior
This commit is contained in:
@@ -293,3 +293,22 @@ String commandLineToString (const String& commandLine)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
class DebugTests : public UnitTest
|
||||
{
|
||||
public:
|
||||
DebugTests () : UnitTest ("Debug", "beast", runManual)
|
||||
{
|
||||
}
|
||||
|
||||
void runTest ()
|
||||
{
|
||||
beginTestCase ("bassert");
|
||||
bassertfalse;
|
||||
fail ();
|
||||
}
|
||||
};
|
||||
|
||||
static DebugTests debugTests;
|
||||
|
||||
Reference in New Issue
Block a user