10 #include <gtest/gtest.h> 39 TEST(MessageMuxDemux,registryAdd) {
40 int result = MessageRegistry::add<MatchedBeanCount, int>(
"unused_description");
42 result = MessageRegistry::add<UnMatchedBeanCount, unsigned int>();
44 result = MessageRegistry::add<UnMatchedBeanCount, std::string>();
48 TEST(MessageMuxDemux,isRegistered) {
53 TEST(MessageMuxDemux,isRegisteredWithType) {
58 int main(
int argc,
char **argv)
60 testing::InitGoogleTest(&argc,argv);
61 return RUN_ALL_TESTS();
MM_REGISTER_PACKET_INFO(Description, std::string,"Description of the current state of the system.")
static bool isRegistered(const int &id)
TEST(MessageMuxDemux, registryAdd)
int main(int argc, char **argv)