Skip to content

Instantly share code, notes, and snippets.

@caetanus
Created August 4, 2013 15:39
Show Gist options
  • Select an option

  • Save caetanus/6150725 to your computer and use it in GitHub Desktop.

Select an option

Save caetanus/6150725 to your computer and use it in GitHub Desktop.
#include <QCoreApplication>
#include <QObject>
#include <QSet>
#include <QDir>
#include <QUuid>
#include <QBetterFileWatcher>
class CreateFileTestCase : public QObject
{
Q_OBJECT
QString m_tempPath;
void createTempDirectory()
{
QString path = QDir::tempPath() + QDir::separator() + QUuid::createUuid().toByteArray();
QDir dpath(path);
dpath.mkpath(path);
}
public:
QSet<QString> selfEvents;
CreateFileTestCase()
{
setUp();
}
void setUp()
{
}
void createRandomFile()
{
}
}
int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);
return a.exec();
}
#include "main.moc"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment