diff options
| author | Kevin Smith <git@kismith.co.uk> | 2009-10-25 22:56:43 (GMT) |
|---|---|---|
| committer | Kevin Smith <git@kismith.co.uk> | 2009-10-25 22:56:43 (GMT) |
| commit | 3acf1a8f4cc5a221566de1d3a037f1b19953665b (patch) | |
| tree | 8d89b9ffa08baa2ccee9c0480811a7571c10747e /Swiften/Client/DummyStanzaChannel.h | |
| parent | 22b51f8f82f6bd3186339b05943c1e19aa71050f (diff) | |
| download | swift-contrib-3acf1a8f4cc5a221566de1d3a037f1b19953665b.zip swift-contrib-3acf1a8f4cc5a221566de1d3a037f1b19953665b.tar.bz2 | |
Starting to unit test PresenceOracle.
Diffstat (limited to 'Swiften/Client/DummyStanzaChannel.h')
| -rw-r--r-- | Swiften/Client/DummyStanzaChannel.h | 4 |
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_; }; |
Swift