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/XmlRpcRequestParserControllerTest.cc | |
| parent | 4abad2f64c9ff80144a61c5a9c2bea144852b883 (diff) | |
make clang-format using clang-format-3.6
Diffstat (limited to 'test/XmlRpcRequestParserControllerTest.cc')
| -rw-r--r-- | test/XmlRpcRequestParserControllerTest.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/XmlRpcRequestParserControllerTest.cc b/test/XmlRpcRequestParserControllerTest.cc index c8bb78e9..c8337363 100644 --- a/test/XmlRpcRequestParserControllerTest.cc +++ b/test/XmlRpcRequestParserControllerTest.cc @@ -6,7 +6,7 @@ namespace aria2 { namespace rpc { -class XmlRpcRequestParserControllerTest:public CppUnit::TestFixture { +class XmlRpcRequestParserControllerTest : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE(XmlRpcRequestParserControllerTest); CPPUNIT_TEST(testPopStructFrame); @@ -16,6 +16,7 @@ class XmlRpcRequestParserControllerTest:public CppUnit::TestFixture { CPPUNIT_TEST(testPopArrayFrame_noValue); CPPUNIT_TEST(testPopArrayFrame_compound); CPPUNIT_TEST_SUITE_END(); + public: void setUp() {} @@ -29,7 +30,6 @@ public: void testPopArrayFrame_compound(); }; - CPPUNIT_TEST_SUITE_REGISTRATION(XmlRpcRequestParserControllerTest); void XmlRpcRequestParserControllerTest::testPopStructFrame() @@ -77,7 +77,8 @@ void XmlRpcRequestParserControllerTest::testPopArrayFrame() controller.popArrayFrame(); const List* array = downcast<List>(controller.getCurrentFrameValue()); CPPUNIT_ASSERT_EQUAL((size_t)1, array->size()); - CPPUNIT_ASSERT_EQUAL((Integer::ValueType)100, downcast<Integer>(array->get(0))->i()); + CPPUNIT_ASSERT_EQUAL((Integer::ValueType)100, + downcast<Integer>(array->get(0))->i()); } void XmlRpcRequestParserControllerTest::testPopArrayFrame_noValue() @@ -154,7 +155,8 @@ void XmlRpcRequestParserControllerTest::testPopArrayFrame_compound() downcast<String>(uris->get(1))->s()); CPPUNIT_ASSERT_EQUAL((Integer::ValueType)120, downcast<Integer>(options->get("timeout"))->i()); - CPPUNIT_ASSERT_EQUAL(std::string("jp"), downcast<String>(countryList->get(0))->s()); + CPPUNIT_ASSERT_EQUAL(std::string("jp"), + downcast<String>(countryList->get(0))->s()); } } // namespace rpc |
