More tests
This commit is contained in:
parent
024663b42b
commit
ce6b6faee3
2 changed files with 6 additions and 0 deletions
|
@ -62,6 +62,9 @@ void BasicTest::setMeUp (void) {
|
|||
userRegistration = new UserRegistration(component, userManager, storage);
|
||||
userRegistration->start();
|
||||
|
||||
itemsResponder = new DiscoItemsResponder(component);
|
||||
itemsResponder->start();
|
||||
|
||||
payloadSerializers = new Swift::FullPayloadSerializerCollection();
|
||||
payloadParserFactories = new Swift::FullPayloadParserFactoryCollection();
|
||||
|
||||
|
@ -108,6 +111,7 @@ void BasicTest::tearMeDown (void) {
|
|||
delete parser;
|
||||
delete storage;
|
||||
delete userRegistration;
|
||||
delete itemsResponder;
|
||||
received.clear();
|
||||
receivedData.clear();
|
||||
}
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#include "transport/conversation.h"
|
||||
#include "transport/usermanager.h"
|
||||
#include "transport/userregistration.h"
|
||||
#include "transport/discoitemsresponder.h"
|
||||
#include "transport/localbuddy.h"
|
||||
#include "transport/storagebackend.h"
|
||||
|
||||
|
@ -217,5 +218,6 @@ class BasicTest : public Swift::XMPPParserClient {
|
|||
std::string receivedData;
|
||||
StorageBackend *storage;
|
||||
UserRegistration *userRegistration;
|
||||
DiscoItemsResponder *itemsResponder;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue