23std::unique_ptr<o2::framework::ConfigContext>
mockupLabels(std::string labelArg)
27 std::vector<std::unique_ptr<ParamRetriever>> retrievers;
29 specs.push_back(
ConfigParamSpec{
"labels", VariantType::String, std::move(labelArg), {
"labels specification"}});
30 auto store = std::make_unique<ConfigParamStore>(specs, std::move(retrievers));
35 auto context = std::make_unique<ConfigContext>(registry,
ServiceRegistryRef{services}, 0,
nullptr);
79 REQUIRE(workflow[0].
labels.size() == 1);
85 workflow[0].labels.push_back({
"a1"});
88 REQUIRE(workflow[0].
labels.size() == 1);
void overrideLabels(o2::framework::ConfigContext &ctx, std::vector< o2::framework::DataProcessorSpec > &workflow)
Helper used to add labels to Data Processors.