#include <QFile>
#include <QDir>
#include <kcmdlineargs.h>
#include <kapplication.h>
#include <KoStore.h>
#include <kdebug.h>
#include <stdlib.h>
#include <string.h>
Graphe des dépendances par inclusion de storage_test.cpp:
Aller au code source de ce fichier.
Fonctions | |
char | getch (QIODevice *dev) |
int | cleanUp (KoStore *store, const QString &testFile, const char *error) |
int | test (const char *testName, KoStore::Backend backend, const QString &testFile) |
int | main (int argc, char **argv) |
Variables | |
const char *const | test1 = "This test checks whether we're able to write to some arbitrary directory.\n" |
const char *const | testDir = "0" |
const char *const | testDirResult = "0/" |
const char *const | test2 = "This time we try to append the given relative path to the current dir.\n" |
const char *const | test3 = "<xml>Hello World</xml>" |
const char *const | testDir2 = "test2/with/a" |
const char *const | testDir2Result = "0/test2/with/a/" |
const char *const | test4 = "<xml>Heureka, it works</xml>" |
const char *const | badStorage = "Ooops, bad storage???" |
const char *const | unableToOpen = "Couldn't open storage!" |
const char *const | brokenPath = "Path handling broken!" |
const char *const | unableToRead = "Couldn't read stream back!" |
int cleanUp | ( | KoStore * | store, | |
const QString & | testFile, | |||
const char * | error | |||
) |
Définition à la ligne 53 du fichier storage_test.cpp.
Référencé par test().
Voici le graphe d'appel pour cette fonction :
char getch | ( | QIODevice * | dev | ) |
Définition à la ligne 47 du fichier storage_test.cpp.
Référencé par test().
Voici le graphe d'appel pour cette fonction :
int main | ( | int | argc, | |
char ** | argv | |||
) |
Définition à la ligne 212 du fichier storage_test.cpp.
Références app, KoStore::Directory, KoStore::Tar, test(), testDir, et KoStore::Zip.
Voici le graphe d'appel pour cette fonction :
int test | ( | const char * | testName, | |
KoStore::Backend | backend, | |||
const QString & | testFile | |||
) |
Définition à la ligne 61 du fichier storage_test.cpp.
Références KoStore::bad(), badStorage, brokenPath, cleanUp(), KoStore::createStore(), getch(), KoStore::Read, test1, test2, test3, test4, testDir, testDir2, testDir2Result, testDirResult, unableToOpen, unableToRead, et KoStore::Write.
Référencé par KoView::customEvent(), KoFrame::eventFilter(), et main().
Voici le graphe d'appel pour cette fonction :
Voici le graphe d'appel pour cette fonction :
const char* const badStorage = "Ooops, bad storage???" [static] |
const char* const brokenPath = "Path handling broken!" [static] |
const char* const test1 = "This test checks whether we're able to write to some arbitrary directory.\n" [static] |
const char* const test2 = "This time we try to append the given relative path to the current dir.\n" [static] |
const char* const test3 = "<xml>Hello World</xml>" [static] |
const char* const test4 = "<xml>Heureka, it works</xml>" [static] |
const char* const testDir = "0" [static] |
const char* const testDir2 = "test2/with/a" [static] |
const char* const testDir2Result = "0/test2/with/a/" [static] |
const char* const testDirResult = "0/" [static] |
const char* const unableToOpen = "Couldn't open storage!" [static] |
const char* const unableToRead = "Couldn't read stream back!" [static] |