diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-12-27 18:39:47 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-12-27 18:40:08 +0900 |
| commit | b1132d6b10cd3791b9529d7031d723fd0e2d8215 (patch) | |
| tree | 9ce465b42bf09372118335c7c619bb2b41869eaf /test/FallocFileAllocationIteratorTest.cc | |
| parent | 4abad2f64c9ff80144a61c5a9c2bea144852b883 (diff) | |
make clang-format using clang-format-3.6
Diffstat (limited to 'test/FallocFileAllocationIteratorTest.cc')
| -rw-r--r-- | test/FallocFileAllocationIteratorTest.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/FallocFileAllocationIteratorTest.cc b/test/FallocFileAllocationIteratorTest.cc index 1fea7ce5..a9346b2f 100644 --- a/test/FallocFileAllocationIteratorTest.cc +++ b/test/FallocFileAllocationIteratorTest.cc @@ -9,28 +9,28 @@ namespace aria2 { -class FallocFileAllocationIteratorTest:public CppUnit::TestFixture { +class FallocFileAllocationIteratorTest : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE(FallocFileAllocationIteratorTest); CPPUNIT_TEST(testAllocate); CPPUNIT_TEST_SUITE_END(); -private: +private: public: void setUp() {} void testAllocate(); }; - -CPPUNIT_TEST_SUITE_REGISTRATION( FallocFileAllocationIteratorTest ); +CPPUNIT_TEST_SUITE_REGISTRATION(FallocFileAllocationIteratorTest); void FallocFileAllocationIteratorTest::testAllocate() { - // When fallocate is used, test fails if file system does not - // support it. So skip it. +// When fallocate is used, test fails if file system does not +// support it. So skip it. #ifndef HAVE_FALLOCATE - std::string fn = A2_TEST_OUT_DIR"/aria2_FallocFileAllocationIteratorTest_testAllocate"; + std::string fn = + A2_TEST_OUT_DIR "/aria2_FallocFileAllocationIteratorTest_testAllocate"; std::ofstream of(fn.c_str(), std::ios::binary); of << "0123456789"; of.close(); |
