summaryrefslogtreecommitdiff
path: root/test/FallocFileAllocationIteratorTest.cc
diff options
context:
space:
mode:
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();