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>
|
||||
|
||||
Fixed the undefined reference error
|
||||
|
|
|
@ -246,12 +246,7 @@ void CookieStorageTest::testLoad_sqlite3()
|
|||
CPPUNIT_ASSERT(!c.isSessionCookie());
|
||||
|
||||
#else // !HAVE_SQLITE3
|
||||
try {
|
||||
st.load("cookies.sqlite");
|
||||
CPPUNIT_FAIL("exception must be thrown.");
|
||||
} catch(RecoverableException& e) {
|
||||
// success
|
||||
}
|
||||
CPPUNIT_ASSERT(!st.load("cookies.sqlite"));
|
||||
#endif // !HAVE_SQLITE3
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue