add tests for awkeys

This commit is contained in:
2016-06-28 11:19:33 +03:00
parent bee8e2f180
commit 5cd5272f10
7 changed files with 245 additions and 11 deletions

View File

@ -20,8 +20,8 @@
#include <QtTest>
#include "awtestlibrary.h"
#include "awconfighelper.h"
#include "awtestlibrary.h"
void TestAWConfigHelper::initTestCase()
@ -55,7 +55,8 @@ void TestAWConfigHelper::test_exportConfiguration()
void TestAWConfigHelper::test_importConfiguration()
{
QVariantMap imported = plugin->importConfiguration(filename, true, true, true);
QVariantMap imported
= plugin->importConfiguration(filename, true, true, true);
QVariantMap converted;
for (auto key : map.keys())
converted[key] = map.value(key);