summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-04-12 09:50:20 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-04-12 12:07:45 (GMT)
commit6dcca70b2f9ed13817e3600d96dbc9af3b597241 (patch)
tree94a9083a787d83d0d2bf987d2135238177e177a8 /Swiften/Roster/UnitTest/MockTreeWidgetItem.cpp
parentb4604f14389aa6276f6d2c3bff2a873b4dfe0913 (diff)
downloadswift-6dcca70b2f9ed13817e3600d96dbc9af3b597241.zip
swift-6dcca70b2f9ed13817e3600d96dbc9af3b597241.tar.bz2
RosterController testing.
Diffstat (limited to 'Swiften/Roster/UnitTest/MockTreeWidgetItem.cpp')
-rw-r--r--Swiften/Roster/UnitTest/MockTreeWidgetItem.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/Swiften/Roster/UnitTest/MockTreeWidgetItem.cpp b/Swiften/Roster/UnitTest/MockTreeWidgetItem.cpp
new file mode 100644
index 0000000..4238ead
--- /dev/null
+++ b/Swiften/Roster/UnitTest/MockTreeWidgetItem.cpp
@@ -0,0 +1,19 @@
+/*
+ * Copyright (c) 2010 Kevin Smith
+ * Licensed under the GNU General Public License v3.
+ * See Documentation/Licenses/GPLv3.txt for more information.
+ */
+#include "Swiften/Roster/UnitTest/MockTreeWidgetItem.h"
+
+#include "Swiften/Roster/UnitTest/MockTreeWidgetFactory.h"
+
+namespace Swift {
+
+MockTreeWidgetItem::~MockTreeWidgetItem() {
+ factory_->removeItem(this);
+}
+
+}
+
+
+