summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2009-10-25 22:56:43 (GMT)
committerKevin Smith <git@kismith.co.uk>2009-10-25 22:56:43 (GMT)
commit3acf1a8f4cc5a221566de1d3a037f1b19953665b (patch)
tree8d89b9ffa08baa2ccee9c0480811a7571c10747e /Swiften/Client
parent22b51f8f82f6bd3186339b05943c1e19aa71050f (diff)
downloadswift-contrib-3acf1a8f4cc5a221566de1d3a037f1b19953665b.zip
swift-contrib-3acf1a8f4cc5a221566de1d3a037f1b19953665b.tar.bz2
Starting to unit test PresenceOracle.
Diffstat (limited to 'Swiften/Client')
-rw-r--r--Swiften/Client/DummyStanzaChannel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/Client/DummyStanzaChannel.h b/Swiften/Client/DummyStanzaChannel.h
index 211a4ab..052c470 100644
--- a/Swiften/Client/DummyStanzaChannel.h
+++ b/Swiften/Client/DummyStanzaChannel.h
@@ -28,6 +28,10 @@ namespace Swift {
virtual String getNewIQID() {
return "test-id";
}
+
+ virtual bool isAvailable() {
+ return true;
+ }
std::vector<boost::shared_ptr<Stanza> > sentStanzas_;
};