forked from qt-creator/qt-creator
AutoTestUnitTests: Remove TestStringTable scenario
Instead, we should provide tst_StringTable that would
run GC, make a sleep inside GC being run in other thread
and execute destructor of StringTable in main thread.
In this case the test should ensure that destructor of
StringTable waits for its internal thread to finish.
Amends 7a02b39f26
Change-Id: I017b5a8f98b41ef6884c43d319858dcb16f17fba
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -291,11 +291,6 @@ static int executeScenario(const QString &scenario)
|
||||
return QProcess::execute(data.m_executable, data.m_args + additionalArgs);
|
||||
}
|
||||
|
||||
void AutoTestUnitTests::testStringTable()
|
||||
{
|
||||
QCOMPARE(executeScenario("TestStringTable"), 0);
|
||||
}
|
||||
|
||||
void AutoTestUnitTests::testModelManagerInterface()
|
||||
{
|
||||
QCOMPARE(executeScenario("TestModelManagerInterface"), 0);
|
||||
|
||||
Reference in New Issue
Block a user