Commit 3e34daca authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

BUG: fixed test utility behaviour when using a list of filenames to match that...

BUG: fixed test utility behaviour when using a list of filenames to match that when using a single filename.
parent 8f6cfd29
...@@ -149,6 +149,14 @@ void pqTestUtility::playTests(const QString& filename) ...@@ -149,6 +149,14 @@ void pqTestUtility::playTests(const QString& filename)
} }
} }
void pqTestUtility::playTests(const QStringList& filenames)
{
foreach(QString filename, filenames)
{
this->playTests(filename);
}
}
void pqTestUtility::recordTests(const QString& filename) void pqTestUtility::recordTests(const QString& filename)
{ {
#if defined(Q_WS_MAC) #if defined(Q_WS_MAC)
......
...@@ -80,6 +80,9 @@ public slots: ...@@ -80,6 +80,9 @@ public slots:
/// start the playing of tests in a file /// start the playing of tests in a file
virtual void playTests(const QString& filename); virtual void playTests(const QString& filename);
/// start playing the tests in the collection of files.
virtual void playTests(const QStringList& filenames);
/// start the recording of tests to a file /// start the recording of tests to a file
virtual void recordTests(const QString& filename); virtual void recordTests(const QString& filename);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment