Remove boost dependency
[platform/core/appfw/app-installers.git] / test / smoke_tests / libs / test_assessor.cc
1 // Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
2 // Use of this source code is governed by an apache 2.0 license that can be
3 // found in the LICENSE file.
4
5 #include "smoke_tests/libs/test_assessor.h"
6
7 namespace common_installer {
8
9 const char kTagPluginName[] = "tag";
10 const char kCategoryPluginName[] = "category";
11 const char kMetadataPluginName[] = "metadata";
12 const char kTestPackageId[] = "org.tizen.testapp";
13 const char kTestApplicationId[] = "org.tizen.testapp.main";
14
15 void TestAssessor::ClearResults() {
16   results.clear();
17 }
18
19 void TestAssessor::AddResult(const ResultLine& result,
20                              const std::optional<std::string>& error) {
21   results.insert(std::make_pair(result, error));
22 }
23
24 const TestAssessor::ResultStore& TestAssessor::GetResults() const {
25   return results;
26 }
27
28 }  // namespace common_installer