diff options
author | Tobias Markmann <tm@ayena.de> | 2015-01-11 16:19:54 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2015-02-11 11:57:22 (GMT) |
commit | 1f9ca4c9041ffe8b3330150284d54e0870f82b20 (patch) | |
tree | 22870934688f9321487c30fb9ac04f34e3072462 /Swiften/Base/Debug.h | |
parent | a049c80f0862a994a76e8e63d71c633bce63f66a (diff) | |
download | swift-1f9ca4c9041ffe8b3330150284d54e0870f82b20.zip swift-1f9ca4c9041ffe8b3330150284d54e0870f82b20.tar.bz2 |
Add debugging helper and FileTransferTest.
FileTransferTests tests file-transfer interoperability with Swiften
itself. It can test all combinations of FileTransferOptions or a specific
combination when given.
Test-Information:
Inspected XML logs to ensure it does what it is supposed to do.
Change-Id: I06215b60419dd23b367d01a2f038245a6c977720
Diffstat (limited to 'Swiften/Base/Debug.h')
-rw-r--r-- | Swiften/Base/Debug.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Swiften/Base/Debug.h b/Swiften/Base/Debug.h new file mode 100644 index 0000000..33d439e --- /dev/null +++ b/Swiften/Base/Debug.h @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2015 Isode Limited. + * All rights reserved. + * See the COPYING file for more information. + */ + +#include <iosfwd> + +namespace Swift { + class ClientError; + class Element; +} + +namespace boost { + template<class T> class shared_ptr; +} + +std::ostream& operator<<(std::ostream& os, const Swift::ClientError& error); + +std::ostream& operator<<(std::ostream& os, Swift::Element* ele); |