Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Unified Diff: mojo/public/tests/test_utils.cc

Issue 160003007: Mojo: Make a public test_support shared library. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased again Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/public/tests/test_support_private.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/tests/test_utils.cc
diff --git a/mojo/public/tests/test_utils.cc b/mojo/public/tests/test_utils.cc
index 7562e9e96d636981046be04316477a5eda2dc37a..9b6eeaaafde227771a380ebc81ac2e8704f00aaf 100644
--- a/mojo/public/tests/test_utils.cc
+++ b/mojo/public/tests/test_utils.cc
@@ -4,8 +4,8 @@
#include "mojo/public/tests/test_utils.h"
-#include "base/test/perf_log.h"
#include "mojo/public/system/core_cpp.h"
+#include "mojo/public/tests/test_support.h"
namespace mojo {
namespace test {
@@ -82,9 +82,9 @@ void IterateAndReportPerf(const char* test_name,
end_time = GetTimeTicksNow();
} while (end_time - start_time < kPerftestTimeMicroseconds);
- base::LogPerfResult(test_name,
- 1000000.0 * iterations / (end_time - start_time),
- "iterations/second");
+ MojoTestSupportLogPerfResult(test_name,
+ 1000000.0 * iterations / (end_time - start_time),
+ "iterations/second");
}
} // namespace test
« no previous file with comments | « mojo/public/tests/test_support_private.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698