mirror of https://github.com/aria2/aria2
2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed the unit test error without sqlite3 * test/CookieStorageTest.ccpull/1/head
parent
7d9425adbf
commit
1731db1c60
|
@ -1,3 +1,8 @@
|
||||||
|
2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
|
Fixed the unit test error without sqlite3
|
||||||
|
* test/CookieStorageTest.cc
|
||||||
|
|
||||||
2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
2009-07-22 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
|
||||||
|
|
||||||
Fixed the undefined reference error
|
Fixed the undefined reference error
|
||||||
|
|
|
@ -246,12 +246,7 @@ void CookieStorageTest::testLoad_sqlite3()
|
||||||
CPPUNIT_ASSERT(!c.isSessionCookie());
|
CPPUNIT_ASSERT(!c.isSessionCookie());
|
||||||
|
|
||||||
#else // !HAVE_SQLITE3
|
#else // !HAVE_SQLITE3
|
||||||
try {
|
CPPUNIT_ASSERT(!st.load("cookies.sqlite"));
|
||||||
st.load("cookies.sqlite");
|
|
||||||
CPPUNIT_FAIL("exception must be thrown.");
|
|
||||||
} catch(RecoverableException& e) {
|
|
||||||
// success
|
|
||||||
}
|
|
||||||
#endif // !HAVE_SQLITE3
|
#endif // !HAVE_SQLITE3
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue