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

Unified Diff: base/gtest_prod_util.h

Issue 1027993002: Allow unit tests to force serial execution in the test launcher. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: TestID experiment Created 5 years, 9 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 | « no previous file | base/test/launcher/test_id.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/gtest_prod_util.h
diff --git a/base/gtest_prod_util.h b/base/gtest_prod_util.h
index 3289e6301da7182ea5fc7689557745dd2ff6f747..cb2ff581a2b6ee008d5172c91b99b3a43eb904eb 100644
--- a/base/gtest_prod_util.h
+++ b/base/gtest_prod_util.h
@@ -63,4 +63,11 @@
class test_case_name##_##DISABLED_##test_name##_Test; \
class test_case_name##_##FLAKY_##test_name##_Test
+#define TEST_F_SERIALIZE(test_fixture, test_name) \
+ TEST_F(test_fixture, SERIALIZE_ ## test_name)
+#define TEST_SERIALIZE(test_case_name, test_name) \
+ TEST(test_case_name, SERIALIZE_ ## test_name)
+#define TYPED_TEST_SERIALIZE(test_fixture, test_name) \
+ TYPED_TEST(test_fixture, SERIALIZE_ ## test_name)
+
#endif // BASE_GTEST_PROD_UTIL_H_
« no previous file with comments | « no previous file | base/test/launcher/test_id.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698