Don't call the test method assert
Mac OS X apparently uses a macro for assert(), completely breaking compilation of this file Change-Id: I51379da6e0c702e4d021dcd9a84af39889d24c2d Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
This commit is contained in:
parent
6503b4924f
commit
9100b85cc5
|
@ -47,7 +47,7 @@ private slots:
|
||||||
void logging();
|
void logging();
|
||||||
void tracing();
|
void tracing();
|
||||||
void profiling();
|
void profiling();
|
||||||
void assert();
|
void testAssert();
|
||||||
void exception();
|
void exception();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
@ -122,7 +122,7 @@ void tst_qqmlconsole::profiling()
|
||||||
delete object;
|
delete object;
|
||||||
}
|
}
|
||||||
|
|
||||||
void tst_qqmlconsole::assert()
|
void tst_qqmlconsole::testAssert()
|
||||||
{
|
{
|
||||||
QUrl testUrl = testFileUrl("assert.qml");
|
QUrl testUrl = testFileUrl("assert.qml");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue