testStelFileMgr.cpp   testStelFileMgr.cpp 
skipping to change at line 34 skipping to change at line 34
#include <QFile> #include <QFile>
#include <QDir> #include <QDir>
#include <QString> #include <QString>
#include <QStringList> #include <QStringList>
#include <QDebug> #include <QDebug>
#include <QTest> #include <QTest>
#include <QRegExp> #include <QRegExp>
#include "StelFileMgr.hpp" #include "StelFileMgr.hpp"
QTEST_MAIN(TestStelFileMgr) QTEST_GUILESS_MAIN(TestStelFileMgr)
void TestStelFileMgr::initTestCase() void TestStelFileMgr::initTestCase()
{ {
partialPath1 = "testfilemgr/path1"; partialPath1 = "testfilemgr/path1";
partialPath2 = "testfilemgr/path2"; partialPath2 = "testfilemgr/path2";
workingDir = tempDir.path(); workingDir = tempDir.path();
workingDir.replace(QRegExp("/+$"), ""); // sometimes the temp path will have / on the end... zap it. workingDir.replace(QRegExp("/+$"), ""); // sometimes the temp path will have / on the end... zap it.
if (!QDir::setCurrent(workingDir)) if (!QDir::setCurrent(workingDir))
{ {
QFAIL(qPrintable("could not set the working directory to: "+ workingDir)); QFAIL(qPrintable("could not set the working directory to: "+ workingDir));
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/