Adjustment needed for performance tests in wrt-commons
[platform/core/test/security-tests.git] / tests / common / summary_collector.h
index 3a1cdf9..3f2eb3c 100644 (file)
@@ -25,6 +25,7 @@
 #define _RAW_RESULTS_COLLECTOR_H_
 
 #include <dpl/test/test_results_collector.h>
+#include <chrono>
 
 /*
  * Custom test runner results collector. The results (total test cases, failed, etc.) are
@@ -42,6 +43,15 @@ class SummaryCollector : public DPL::Test::TestResultsCollectorBase
                        const std::string& /*description*/,
                        const FailStatus::Type status,
                        const std::string& /*reason = ""*/);
+    void CollectResult(const std::string& /*id*/,
+                       const std::string& /*description*/,
+                       const FailStatus::Type status,
+                       const std::string& /*reason = ""*/,
+                       const bool& isPerformanceTest = false,
+                       const std::chrono::system_clock::duration&
+                               performanceTime = std::chrono::microseconds::zero(),
+                       const std::chrono::system_clock::duration&
+                               performanceMaxTime = std::chrono::microseconds::zero());
 
 public:
     static TestResultsCollectorBase* Constructor();