Commit a1f57880 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

typedef ConfigMap

parent 58d40f7f
......@@ -4,7 +4,7 @@
#include "TestEnvironment.hpp"
using ConfigMap = std::map<std::string, std::string>;
typedef std::map<std::string, std::string> ConfigMap;
struct ConfigMapsForTest {
ConfigMap defaultMap;
......@@ -16,10 +16,8 @@ protected:
std::unique_ptr<MainProgram> mainProgram;
void SetUp() override {
std::map<std::string, std::string> finalMap =
GetParam().defaultMap;
std::map<std::string, std::string> additionalMap =
GetParam().additionalConfigMap;
ConfigMap finalMap = GetParam().defaultMap;
ConfigMap additionalMap = GetParam().additionalConfigMap;
for (auto &pair: additionalMap)
finalMap[pair.first] = pair.second;
......
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