Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(827)

Unified Diff: external_tests/google_test/gtest/test/gtest-typed-test_test.h

Issue 201830043: Bug 1118245 - Apply uniform style across NSS
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: external_tests/google_test/gtest/test/gtest-typed-test_test.h
===================================================================
--- a/external_tests/google_test/gtest/test/gtest-typed-test_test.h
+++ b/external_tests/google_test/gtest/test/gtest-typed-test_test.h
@@ -39,28 +39,25 @@
using testing::Test;
// For testing that the same type-parameterized test case can be
// instantiated in different translation units linked together.
// ContainerTest will be instantiated in both gtest-typed-test_test.cc
// and gtest-typed-test2_test.cc.
template <typename T>
-class ContainerTest : public Test {
-};
+class ContainerTest : public Test {};
TYPED_TEST_CASE_P(ContainerTest);
-TYPED_TEST_P(ContainerTest, CanBeDefaultConstructed) {
- TypeParam container;
-}
+TYPED_TEST_P(ContainerTest, CanBeDefaultConstructed) { TypeParam container; }
TYPED_TEST_P(ContainerTest, InitialSizeIsZero) {
TypeParam container;
EXPECT_EQ(0U, container.size());
}
-REGISTER_TYPED_TEST_CASE_P(ContainerTest,
- CanBeDefaultConstructed, InitialSizeIsZero);
+REGISTER_TYPED_TEST_CASE_P(ContainerTest, CanBeDefaultConstructed,
+ InitialSizeIsZero);
#endif // GTEST_HAS_TYPED_TEST_P
#endif // GTEST_TEST_GTEST_TYPED_TEST_TEST_H_
« no previous file with comments | « external_tests/google_test/gtest/test/gtest-param-test_test.h ('k') | external_tests/google_test/gtest/test/production.h » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b