KDE_CXXFLAGS = $(USE_EXCEPTIONS)
test_libkita_LDADD = $(top_builddir)/kita/src/libkita/libkita.la -lkio -lqt-mt -lcppunit
-test_libkita_SOURCES = test_libkita.cpp k2ch_articlefiletest.cpp urlconverttest.cpp commenttest.cpp threadtest.cpp boardtest.cpp misctest.cpp favoritethreadstest.cpp favoriteboardstest.cpp commentlisttest.cpp
-noinst_HEADERS = k2ch_articlefiletest.h urlconverttest.h commenttest.h threadtest.h boardtest.h misctest.h favoritethreadstest.h favoriteboardstest.h commentlisttest.h
+test_libkita_SOURCES = test_libkita.cpp k2ch_articlefiletest.cpp urlconverttest.cpp commenttest.cpp threadtest.cpp boardtest.cpp misctest.cpp favoritethreadstest.cpp favoriteboardstest.cpp commentlisttest.cpp cachetest.cpp
+noinst_HEADERS = k2ch_articlefiletest.h urlconverttest.h commenttest.h threadtest.h boardtest.h misctest.h favoritethreadstest.h favoriteboardstest.h commentlisttest.h cachetest.h
--- /dev/null
+/***************************************************************************
+* Copyright (C) 2004 by Hideki Ikemoto *
+* ikemo@wakaba.jp *
+* *
+* This program is free software; you can redistribute it and/or modify *
+* it under the terms of the GNU General Public License as published by *
+* the Free Software Foundation; either version 2 of the License, or *
+* (at your option) any later version. *
+***************************************************************************/
+#include "cachetest.h"
+
+using namespace Kita;
+
+void CacheTest::setUp()
+{
+}
+
+void CacheTest::tearDown()
+{
+}
--- /dev/null
+/***************************************************************************
+* Copyright (C) 2004 by Hideki Ikemoto *
+* ikemo@wakaba.jp *
+* *
+* This program is free software; you can redistribute it and/or modify *
+* it under the terms of the GNU General Public License as published by *
+* the Free Software Foundation; either version 2 of the License, or *
+* (at your option) any later version. *
+***************************************************************************/
+#ifndef CACHETEST_H
+#define CACHETEST_H
+
+#include <cppunit/extensions/HelperMacros.h>
+#include "../cache.h"
+
+/**
+@author Hideki Ikemoto
+*/
+class CacheTest : public CppUnit::TestFixture
+{
+ CPPUNIT_TEST_SUITE( CacheTest );
+ CPPUNIT_TEST_SUITE_END();
+
+public:
+ void setUp();
+ void tearDown();
+};
+
+#endif
#include "favoritethreadstest.h"
#include "favoriteboardstest.h"
#include "commentlisttest.h"
+#include "cachetest.h"
int main( int argc, char* argv[] )
{
runner.addTest( FavoriteThreadsTest::suite() );
runner.addTest( FavoriteBoardsTest::suite() );
runner.addTest( CommentListTest::suite() );
+ runner.addTest( CacheTest::suite() );
runner.run( "" );
return 0;
}