#include "testtariffs.h"
#include "testadmin.h"
#include "teststore.h"
+#include "testservices.h"
namespace tut
{
TEST_TARIFFS tariffs;
TEST_ADMIN admin;
TEST_STORE store;
- USER_IMPL user(&settings, &store, &tariffs, &admin, NULL);
+ TEST_SERVICES services;
+ USER_IMPL user(&settings, &store, &tariffs, &admin, NULL, services);
USER_PROPERTY<double> & cash(user.GetProperty().cash);
USER_PROPERTY<std::string> & tariffName(user.GetProperty().tariffName);
TEST_TARIFFS tariffs;
TEST_ADMIN admin;
TEST_STORE store;
- USER_IMPL user(&settings, &store, &tariffs, &admin, NULL);
+ TEST_SERVICES services;
+ USER_IMPL user(&settings, &store, &tariffs, &admin, NULL, services);
USER_PROPERTY<double> & cash(user.GetProperty().cash);
USER_PROPERTY<double> & credit(user.GetProperty().credit);
TEST_TARIFFS tariffs;
TEST_ADMIN admin;
TEST_STORE store;
- USER_IMPL user(&settings, &store, &tariffs, &admin, NULL);
+ TEST_SERVICES services;
+ USER_IMPL user(&settings, &store, &tariffs, &admin, NULL, services);
USER_PROPERTY<double> & cash(user.GetProperty().cash);
USER_PROPERTY<double> & credit(user.GetProperty().credit);
#include "teststore.h"
#include "testauth.h"
#include "testusers.h"
+#include "testservices.h"
class AFTER_CONNECTED_NOTIFIER : public PROPERTY_NOTIFIER_BASE<bool>,
private NONCOPYABLE {
TEST_STORE store;
TEST_AUTH auth;
TEST_USERS users;
- USER_IMPL user(&settings, &store, &tariffs, &admin, &users);
+ TEST_SERVICES services;
+ USER_IMPL user(&settings, &store, &tariffs, &admin, &users, services);
AFTER_CONNECTED_NOTIFIER connectionNotifier;
TEST_STORE store;
TEST_AUTH auth;
TEST_USERS users;
- USER_IMPL user(&settings, &store, &tariffs, &admin, &users);
+ TEST_SERVICES services;
+ USER_IMPL user(&settings, &store, &tariffs, &admin, &users, services);
AFTER_CONNECTED_NOTIFIER connectionNotifier;