eedb/tests/unit/test_eedb_authWidget.cpp
2017-03-18 07:56:25 +01:00

30 lines
825 B
C++

#include <gtest/gtest.h>
#include <eedb/EEDB.hpp>
#include <Wt/Test/WTestEnvironment>
TEST(a, b) {
// Wt::Test::WTestEnvironment environment;
// Wt::WApplication app(environment);
// BigWorkWidget * bw = new BigWorkWidget(app.root());
// Wt::WPushButton * b = dynamic_cast< Wt::WPushButton * >(app.findWidget("startbutton"));
// Wt::WProgressBar * bar = dynamic_cast< Wt::WProgressBar * >(app.findWidget("progress"));
// b->clicked().emit(Wt::WMouseEvent());
// environment.endRequest();
// for(;;) {
// boost::this_thread::sleep(boost::posix_time::milliseconds(50));
// std::cerr << "Progress: " << bar->value() << std::endl;
// if(b->isEnabled())
// break;
// }
// environment.startRequest();
}