Refactored app_config unit tests
This commit is contained in:
parent
c61afabbea
commit
f8b71093c7
@ -30,8 +30,6 @@
|
|||||||
namespace repertory {
|
namespace repertory {
|
||||||
class app_config_test : public ::testing::Test {
|
class app_config_test : public ::testing::Test {
|
||||||
public:
|
public:
|
||||||
console_consumer cs;
|
|
||||||
|
|
||||||
static std::atomic<std::uint64_t> idx;
|
static std::atomic<std::uint64_t> idx;
|
||||||
|
|
||||||
std::string encrypt_directory;
|
std::string encrypt_directory;
|
||||||
@ -67,10 +65,7 @@ public:
|
|||||||
"sia",
|
"sia",
|
||||||
std::to_string(++idx),
|
std::to_string(++idx),
|
||||||
});
|
});
|
||||||
event_system::instance().start();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void TearDown() override { event_system::instance().stop(); }
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static void remove_unused_types(auto &data, provider_type prov) {
|
static void remove_unused_types(auto &data, provider_type prov) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user