Add PerformanceResult class
[platform/core/test/security-tests.git] / src / framework / include / dpl / test / test_results_collector_console.h
index 4fbe00f..d56ccfa 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.
@@ -46,11 +46,7 @@ private:
     virtual void CollectResult(const std::string& id,
                                const FailStatus status = FailStatus::NONE,
                                const std::string& reason = "",
-                               const bool& isPerformanceTest = true,
-                               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 PrintfErrorMessage(const char* type, const std::string& message);