summaryrefslogtreecommitdiff
path: root/test/FallocFileAllocationIteratorTest.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-03-26 17:12:52 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-03-26 17:20:27 +0900
commitd64089632e82a2548752c7a6baaa68365a795a74 (patch)
tree57fc7b85a8c1290975d58fa4761b04a7695bf7e3 /test/FallocFileAllocationIteratorTest.cc
parentc81b1321122e8509b55c94c0cbca0d8d6d319f0c (diff)
parenta7cd943a06b1a5ff4515b57060b84037f8d01f9f (diff)
Merge branch 'master' into random-webseeding
Diffstat (limited to 'test/FallocFileAllocationIteratorTest.cc')
-rw-r--r--test/FallocFileAllocationIteratorTest.cc14
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();