|
Revision 34498, 0.7 kB
(checked in by saturday06, 4 years ago)
|
|
asdfladif
|
-
Property svn:executable set to
*
|
| Rev | Line | |
|---|
| [34498] | 1 | #include <PrecompiledHeaders.h>
|
|---|
| 2 | #include "Common.h"
|
|---|
| 3 | #include "Mediator.h"
|
|---|
| 4 | #include <boost/algorithm/string.hpp>
|
|---|
| 5 | #include <algorithm>
|
|---|
| 6 | #include <boost/range.hpp>
|
|---|
| 7 | #include <mil/MscCrt.h>
|
|---|
| 8 |
|
|---|
| 9 | #include <quicktest/quicktest.h>
|
|---|
| 10 |
|
|---|
| 11 | using namespace std;
|
|---|
| 12 | using namespace boost;
|
|---|
| 13 |
|
|---|
| 14 | namespace i3 {
|
|---|
| 15 | void DummyModule::run() {
|
|---|
| 16 | sleep(3);
|
|---|
| 17 | mil::do_auto_join();
|
|---|
| 18 | }
|
|---|
| 19 | }
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 | QT_TEST(test_InputWindow1) {
|
|---|
| 23 | using namespace std;
|
|---|
| 24 | using namespace boost;
|
|---|
| 25 | using namespace mil;
|
|---|
| 26 | using namespace i3;
|
|---|
| 27 |
|
|---|
| 28 | int argc = 0;
|
|---|
| 29 | char** argv = NULL;
|
|---|
| 30 |
|
|---|
| 31 | QT_CHECK(init_os_global_data(argc, argv));
|
|---|
| 32 | QT_CHECK(init_gui_global_data(argc, argv));
|
|---|
| 33 |
|
|---|
| 34 | i3::Mediator mediator;
|
|---|
| 35 | QT_CHECK(mediator.start());
|
|---|
| 36 | }
|
|---|
| 37 |
|
|---|