Add PerformanceResult class
[platform/core/test/security-tests.git] / src / framework / include / dpl / test / test_results_collector_summary.h
index f0edfcc..ffc8769 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2014-2015 Samsung Electronics Co., Ltd All Rights Reserved
  *
  *    Licensed under the Apache License, Version 2.0 (the "License");
  *    you may not use this file except in compliance with the License.
@@ -48,11 +48,7 @@ private:
     virtual void CollectResult(const std::string& id,
                                const FailStatus status = FailStatus::NONE,
                                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());
+                               const ConstPerformanceResultPtr &performanceResult = nullptr);
     virtual void Finish();
 
     void writeStats(bool segfault);