Référence du fichier F:/KPlato/koffice/libs/store/tests/storage_test.cpp

#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!"


Documentation des fonctions

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 :


Documentation des variables

const char* const badStorage = "Ooops, bad storage???" [static]

Définition à la ligne 41 du fichier storage_test.cpp.

Référencé par test().

const char* const brokenPath = "Path handling broken!" [static]

Définition à la ligne 43 du fichier storage_test.cpp.

Référencé par test().

const char* const test1 = "This test checks whether we're able to write to some arbitrary directory.\n" [static]

Définition à la ligne 32 du fichier storage_test.cpp.

Référencé par test().

const char* const test2 = "This time we try to append the given relative path to the current dir.\n" [static]

Définition à la ligne 35 du fichier storage_test.cpp.

Référencé par test().

const char* const test3 = "<xml>Hello World</xml>" [static]

Définition à la ligne 36 du fichier storage_test.cpp.

Référencé par test().

const char* const test4 = "<xml>Heureka, it works</xml>" [static]

Définition à la ligne 39 du fichier storage_test.cpp.

Référencé par test().

const char* const testDir = "0" [static]

Définition à la ligne 33 du fichier storage_test.cpp.

Référencé par main(), et test().

const char* const testDir2 = "test2/with/a" [static]

Définition à la ligne 37 du fichier storage_test.cpp.

Référencé par test().

const char* const testDir2Result = "0/test2/with/a/" [static]

Définition à la ligne 38 du fichier storage_test.cpp.

Référencé par test().

const char* const testDirResult = "0/" [static]

Définition à la ligne 34 du fichier storage_test.cpp.

Référencé par test().

const char* const unableToOpen = "Couldn't open storage!" [static]

Définition à la ligne 42 du fichier storage_test.cpp.

Référencé par test().

const char* const unableToRead = "Couldn't read stream back!" [static]

Définition à la ligne 44 du fichier storage_test.cpp.

Référencé par test().


Généré le Wed Nov 22 23:43:11 2006 pour KPlato par  doxygen 1.5.1-p1