Commit 845916a9 authored by Dominik Charousset's avatar Dominik Charousset

Clean up obsolete files for unit tests

parent 59cc884e
......@@ -219,7 +219,7 @@ caf_add_component(
caf/uri_builder.cpp
caf/uuid.cpp
LEGACY_TEST_SOURCES
test/core-legacy-test.cpp
test/core-test.cpp
test/nasty.cpp
LEGACY_TEST_SUITES
action
......
......@@ -60,7 +60,7 @@ caf_add_component(
caf/policy/tcp.cpp
caf/policy/udp.cpp
LEGACY_TEST_SOURCES
test/io-legacy-test.cpp
test/io-test.cpp
LEGACY_TEST_SUITES
detail.prometheus_broker
io.basp.message_queue
......
#define CAF_TEST_NO_MAIN
#include "caf/test/unit_test_impl.hpp"
#include "io-test.hpp"
int main(int argc, char** argv) {
using namespace caf;
init_global_meta_objects<id_block::io_test>();
io::middleman::init_global_meta_objects();
core::init_global_meta_objects();
return test::main(argc, argv);
}
// This file is part of CAF, the C++ Actor Framework. See the file LICENSE in
// the main distribution directory for license terms and copyright or visit
// https://github.com/actor-framework/actor-framework/blob/master/LICENSE.
#define CAF_TEST_NO_MAIN
#include "caf/io/middleman.hpp"
#include "caf/test/caf_test_main.hpp"
#include "caf/test/unit_test_impl.hpp"
CAF_TEST_MAIN(caf::io::middleman)
#include "io-test.hpp"
int main(int argc, char** argv) {
using namespace caf;
init_global_meta_objects<id_block::io_test>();
io::middleman::init_global_meta_objects();
core::init_global_meta_objects();
return test::main(argc, argv);
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment