Created
August 4, 2013 15:39
-
-
Save caetanus/6150725 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #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