Author: suokko
Date: Wed Jul 30 16:10:36 2008
New Revision: 28266

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28266&view=rev
Log:
Added empty team unit test file

Added:
    trunk/src/tests/test_team.cpp   (with props)
Modified:
    trunk/src/Makefile.am
    trunk/src/SConscript
    trunk/src/tests/main.cpp

Modified: trunk/src/Makefile.am
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/Makefile.am?rev=28266&r1=28265&r2=28266&view=diff
==============================================================================
--- trunk/src/Makefile.am (original)
+++ trunk/src/Makefile.am Wed Jul 30 16:10:36 2008
@@ -273,6 +273,7 @@
        tests/test_util.cpp \
     tests/test_network_worker.cpp \
        tests/test_save_dialog.cpp \
+       tests/test_team.cpp \
        $(wesnoth_source)
 
 test_LDADD = $(INTERNALLIBS) $(THELIBS) $(BOOST_UNIT_TEST_FRAMEWORK_LIBS) 
$(PANGO_LIBS)

Modified: trunk/src/SConscript
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/SConscript?rev=28266&r1=28265&r2=28266&view=diff
==============================================================================
--- trunk/src/SConscript (original)
+++ trunk/src/SConscript Wed Jul 30 16:10:36 2008
@@ -341,6 +341,7 @@
     tests/test_util.cpp
     tests/test_network_worker.cpp
        tests/test_save_dialog.cpp
+    tests/test_team.cpp
     """)
 test = test_env.WesnothProgram("test", test_sources +  [libwesnoth_extras, 
libwesnoth_core, libwesnoth_sdl, libwesnoth,libtest_utils], have_test_prereqs)
 #Export("test")

Modified: trunk/src/tests/main.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/tests/main.cpp?rev=28266&r1=28265&r2=28266&view=diff
==============================================================================
--- trunk/src/tests/main.cpp (original)
+++ trunk/src/tests/main.cpp Wed Jul 30 16:10:36 2008
@@ -59,6 +59,7 @@
        }
        ~wesnoth_global_fixture() 
        {
+               SDL_Quit();
        }
 };
 

Added: trunk/src/tests/test_team.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/tests/test_team.cpp?rev=28266&view=auto
==============================================================================
--- trunk/src/tests/test_team.cpp (added)
+++ trunk/src/tests/test_team.cpp Wed Jul 30 16:10:36 2008
@@ -1,0 +1,25 @@
+/* $Id$ */
+/*
+   Copyright (C) 2007 - 2008 by Karol Nowak <[EMAIL PROTECTED]>
+   Part of the Battle for Wesnoth Project http://www.wesnoth.org/
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License version 2
+   or at your option any later version.
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY.
+
+   See the COPYING file for more details.
+*/
+#include <boost/test/auto_unit_test.hpp>
+#include "team.hpp"
+
+BOOST_AUTO_TEST_SUITE( team )
+
+BOOST_AUTO_TEST_CASE( test_user_team_name )
+{
+       BOOST_MESSAGE( "Starting team test!" );
+}
+
+/* vim: set ts=4 sw=4: */
+BOOST_AUTO_TEST_SUITE_END()

Propchange: trunk/src/tests/test_team.cpp
------------------------------------------------------------------------------
    svn:eof-style = native

Propchange: trunk/src/tests/test_team.cpp
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to