mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
FairMQ: Implement GetPropertyKeys config API
This commit is contained in:
committed by
Mohammad Al-Turany
parent
2589ca5ced
commit
8c8ee45914
@@ -8,6 +8,7 @@
|
||||
|
||||
#include "Fixture.h"
|
||||
#include <fairmq/Tools.h>
|
||||
#include <algorithm>
|
||||
|
||||
namespace
|
||||
{
|
||||
@@ -47,4 +48,13 @@ TEST_F(PluginServices, ConfigInvalidStateError)
|
||||
});
|
||||
}
|
||||
|
||||
TEST_F(PluginServices, KeyDiscovery)
|
||||
{
|
||||
mConfig.SetValue("foo", 0);
|
||||
|
||||
auto keys{mServices.GetPropertyKeys()};
|
||||
|
||||
EXPECT_TRUE(find(keys.begin(), keys.end(), "foo") != keys.end());
|
||||
}
|
||||
|
||||
} /* namespace */
|
||||
|
Reference in New Issue
Block a user