summaryrefslogtreecommitdiff
path: root/test/SingletonHolderTest.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-12-27 18:39:47 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-12-27 18:40:08 +0900
commitb1132d6b10cd3791b9529d7031d723fd0e2d8215 (patch)
tree9ce465b42bf09372118335c7c619bb2b41869eaf /test/SingletonHolderTest.cc
parent4abad2f64c9ff80144a61c5a9c2bea144852b883 (diff)
make clang-format using clang-format-3.6
Diffstat (limited to 'test/SingletonHolderTest.cc')
-rw-r--r--test/SingletonHolderTest.cc15
1 files changed, 6 insertions, 9 deletions
diff --git a/test/SingletonHolderTest.cc b/test/SingletonHolderTest.cc
index 052fbf26..54efb2a7 100644
--- a/test/SingletonHolderTest.cc
+++ b/test/SingletonHolderTest.cc
@@ -13,29 +13,26 @@ class SingletonHolderTest : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE(SingletonHolderTest);
CPPUNIT_TEST(testInstance);
CPPUNIT_TEST_SUITE_END();
-private:
+private:
public:
- void setUp() {
- }
+ void setUp() {}
void testInstance();
};
-
-CPPUNIT_TEST_SUITE_REGISTRATION( SingletonHolderTest );
+CPPUNIT_TEST_SUITE_REGISTRATION(SingletonHolderTest);
class M {
private:
std::string greeting_;
+
public:
- M(const std::string& greeting):greeting_(greeting) {}
+ M(const std::string& greeting) : greeting_(greeting) {}
const std::string& greeting() const { return greeting_; }
- void greeting(const std::string& greeting) {
- greeting_ = greeting;
- }
+ void greeting(const std::string& greeting) { greeting_ = greeting; }
};
void SingletonHolderTest::testInstance()