Kitware and KbPort announce the launch of SimPulse
1 /* Distributed under the Apache License, Version 2.0.
2  See accompanying NOTICE file for details.*/
4 #pragma once
5 CDM_BIND_DECL2(TestCase)
6 CDM_BIND_DECL2(TestErrorStatistics)
7 CDM_BIND_DECL2(TestReport)
8 CDM_BIND_DECL2(TestSuite)
10 class CDM_DECL PBTestReport
11 {
12 public:
14  static void Load(const CDM_BIND::TestCaseData& src, SETestCase& dst);
15  static CDM_BIND::TestCaseData* Unload(const SETestCase& src);
16  static void Serialize(const CDM_BIND::TestCaseData& src, SETestCase& dst);
17  static void Serialize(const SETestCase& src, CDM_BIND::TestCaseData& dst);
19  static void Load(const CDM_BIND::TestErrorStatisticsData& src, SETestErrorStatistics& dst);
20  static CDM_BIND::TestErrorStatisticsData* Unload(const SETestErrorStatistics& src);
21  static void Serialize(const CDM_BIND::TestErrorStatisticsData& src, SETestErrorStatistics& dst);
22  static void Serialize(const SETestErrorStatistics& src, CDM_BIND::TestErrorStatisticsData& dst);
24  static void Load(const CDM_BIND::TestReportData& src, SETestReport& dst);
25  static CDM_BIND::TestReportData* Unload(const SETestReport& src);
26  static void Serialize(const CDM_BIND::TestReportData& src, SETestReport& dst);
27  static void Serialize(const SETestReport& src, CDM_BIND::TestReportData& dst);
29  static void Load(const CDM_BIND::TestSuiteData& src, SETestSuite& dst);
30  static CDM_BIND::TestSuiteData* Unload(const SETestSuite& src);
31  static void Serialize(const CDM_BIND::TestSuiteData& src, SETestSuite& dst);
32  static void Serialize(const SETestSuite& src, CDM_BIND::TestSuiteData& dst);
34  static bool SerializeToString(const SETestReport& src, std::string& output, eSerializationFormat m);
35  static bool SerializeToFile(const SETestReport& src, const std::string& filename);
36  static bool SerializeFromString(const std::string& src, SETestReport& dst, eSerializationFormat m);
37  static bool SerializeFromFile(const std::string& filename, SETestReport& dst);
38 };
Definition: SETestReport.h:9
Definition: SETestSuite.h:9
Definition: PBTestReport.h:10
Definition: SETestCase.h:8
Definition: SETestErrorStatistics.h:12

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.