test_notebook.cpp 902 B

123456789101112131415161718192021222324252627282930313233343536
  1. #include "test_notebook.h"
  2. #include <QDebug>
  3. #include <QTemporaryDir>
  4. #include <QFileInfo>
  5. #include <versioncontroller/dummyversioncontrollerfactory.h>
  6. #include <versioncontroller/iversioncontroller.h>
  7. #include <notebookconfigmgr/vxnotebookconfigmgrfactory.h>
  8. #include <notebookconfigmgr/inotebookconfigmgr.h>
  9. #include <notebookconfigmgr/bundlenotebookconfigmgr.h>
  10. #include <notebookbackend/localnotebookbackendfactory.h>
  11. #include <notebookbackend/inotebookbackend.h>
  12. #include <notebook/bundlenotebookfactory.h>
  13. #include <notebook/notebook.h>
  14. #include <notebook/notebookparameters.h>
  15. #include <utils/pathutils.h>
  16. #include "testnotebookdatabase.h"
  17. using namespace tests;
  18. using namespace vnotex;
  19. TestNotebook::TestNotebook(QObject *p_parent)
  20. : QObject(p_parent)
  21. {
  22. }
  23. void TestNotebook::testNotebookDatabase()
  24. {
  25. TestNotebookDatabase test;
  26. test.test();
  27. }
  28. QTEST_MAIN(tests::TestNotebook)