diff options
author | Vincent Richard <[email protected]> | 2005-08-25 21:25:45 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2005-08-25 21:25:45 +0000 |
commit | 5d18fce959ea74f99a8683c944c96881b2365bb2 (patch) | |
tree | d35b9177115606eedd84bbc64eb11aa21ca72878 /tests/lib/unit++/guitester.h | |
parent | Fixed undefined symbol 'UNSPECIFIED_PORT'. (diff) | |
download | vmime-5d18fce959ea74f99a8683c944c96881b2365bb2.tar.gz vmime-5d18fce959ea74f99a8683c944c96881b2365bb2.zip |
Moved to CppUnit for unit tests framework.
Diffstat (limited to 'tests/lib/unit++/guitester.h')
-rw-r--r-- | tests/lib/unit++/guitester.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/tests/lib/unit++/guitester.h b/tests/lib/unit++/guitester.h deleted file mode 100644 index aa241db4..00000000 --- a/tests/lib/unit++/guitester.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef __UNITPP__GUITESTER_H -#define __UNITPP__GUITESTER_H -#ifdef GUI -#include "tester.h" -#include "gui.h" -#include <stack> -#include <vector> -#include <qobject.h> - -/// \name unitpp -namespace unitpp { -/** - * The class for setting up the GUI. It visites all the tests, and create - * nodes for them in the test tree, count them and adjust all the GUI - * elements appropriately. - */ -class g_setup : public QObject, public visitor { - Q_OBJECT -private: - gui* gp; - bool running; - int n_suites; - int n_tests; - std::stack<suite_node*> branch; - std::vector<node*> nodes, selected; - std::map<QListViewItem*, node*> rev; - void find_selected(QListViewItem*); - void add_node(node* np); -public: - g_setup(gui* gp); - virtual void visit(test&); - virtual void visit(suite&); - virtual void visit(suite&, int); -public slots: - /// - void run(); -}; -} -#endif -#endif |