Author: mordante
Date: Sun Mar 6 18:47:48 2011
New Revision: 48790
URL: http://svn.gna.org/viewcvs/wesnoth?rev=48790&view=rev
Log:
Update some comment and output text.
Modified:
trunk/src/tests/gui/test_gui2.cpp
Modified: trunk/src/tests/gui/test_gui2.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/tests/gui/test_gui2.cpp?rev=48790&r1=48789&r2=48790&view=diff
==============================================================================
--- trunk/src/tests/gui/test_gui2.cpp (original)
+++ trunk/src/tests/gui/test_gui2.cpp Sun Mar 6 18:47:48 2011
@@ -392,11 +392,9 @@
std::vector<std::string>& list =
gui2::unit_test_registered_window_list();
- /**
- * @todo Clear this list of removals.
- *
- * This list marks some dialogs as tested that are not tested.
- * This list should be removed so all dialogs are properly tested.
+ /*
+ * The unit attack unit test are disabled for now, they calling
parameters
+ * don't allow 'NULL's needs to be fixed.
*/
list.erase(
std::remove(list.begin(), list.end(), "unit_attack")
@@ -405,7 +403,7 @@
// Test size() instead of empty() to get the number of offenders
BOOST_CHECK_EQUAL(list.size(), 0);
foreach(const std::string& id, list) {
- std::cerr << "Window '" << id << "' registerd but not
tested.\n";
+ std::cerr << "Window '" << id << "' registered but not
tested.\n";
}
}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits