blob: 5a7765b68de009b3e6c22d512525ad5a8c8f7e60 [file] [log] [blame]
#ifndef MQ_CLIENT_BASE_TEST_H
#define MQ_CLIENT_BASE_TEST_H
#include <iostream>
#include "ONSFactory.h"
#include <sys/types.h>
#include <unistd.h>
class OrderClientBaseTest : public testing::Test {
protected:
void SetUp() override {
factoryInfo.setFactoryProperty(ons::ONSFactoryProperty::ProducerId, "GID_opensource_unit_test_order");
factoryInfo.setFactoryProperty(ons::ONSFactoryProperty::AccessKey, "AK");
factoryInfo.setFactoryProperty(ons::ONSFactoryProperty::SecretKey, "SK");
factoryInfo.setFactoryProperty(ons::ONSFactoryProperty::NAMESRV_ADDR,"47.100.33.127:9876");
}
void TearDown() override {
}
ons::ONSFactoryProperty factoryInfo;
};
#endif //MQ_CLIENT_BASE_TEST_H