Fix incorrect function name in assertion.
Change-Id: I3eb8e7afe3f7ca514dd4839e603612b56c7d8082 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
parent
a3109c8b0b
commit
95cb93dc59
@ -2243,7 +2243,7 @@ QTestData &QTest::newRow(const char *dataTag)
|
||||
{
|
||||
QTEST_ASSERT_X(dataTag, "QTest::newRow()", "Data tag can not be null");
|
||||
QTestTable *tbl = QTestTable::currentTestTable();
|
||||
QTEST_ASSERT_X(tbl, "QTest::addColumn()", "Cannot add testdata outside of a _data slot.");
|
||||
QTEST_ASSERT_X(tbl, "QTest::newRow()", "Cannot add testdata outside of a _data slot.");
|
||||
|
||||
return *tbl->newData(dataTag);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user