+void TestDir::removeFiles(const QStringList& files)
+{
+ foreach (const QString& path, files) {
+ removeFile(path);
+ }
+}
+
+void TestDir::removeFile(const QString& path)
+{
+ QString absolutePath = path;
+ QFileInfo fileInfo(absolutePath);
+ if (!fileInfo.isAbsolute()) {
+ absolutePath = TestDir::path() + QLatin1Char('/') + path;
+ }
+ QFile::remove(absolutePath);
+}
+