diff options
Diffstat (limited to 'Swiften/Base/UnitTest/ByteArrayTest.cpp')
m--------- | Swiften | 0 | ||||
-rw-r--r-- | Swiften/Base/UnitTest/ByteArrayTest.cpp | 21 |
2 files changed, 0 insertions, 21 deletions
diff --git a/Swiften b/Swiften new file mode 160000 +Subproject 8213ba16d0043d2461f4b031c881d61dda5a38c diff --git a/Swiften/Base/UnitTest/ByteArrayTest.cpp b/Swiften/Base/UnitTest/ByteArrayTest.cpp deleted file mode 100644 index bf893bd..0000000 --- a/Swiften/Base/UnitTest/ByteArrayTest.cpp +++ /dev/null @@ -1,21 +0,0 @@ -#include <cppunit/extensions/HelperMacros.h> -#include <cppunit/extensions/TestFactoryRegistry.h> - -#include "Swiften/Base/ByteArray.h" - -using namespace Swift; - -class ByteArrayTest : public CppUnit::TestFixture { - CPPUNIT_TEST_SUITE(ByteArrayTest); - CPPUNIT_TEST(testGetData_NoData); - CPPUNIT_TEST_SUITE_END(); - - public: - void testGetData_NoData() { - ByteArray testling; - - CPPUNIT_ASSERT_EQUAL(static_cast<const char*>(NULL), static_cast<const char*>(testling.getData())); - } -}; - -CPPUNIT_TEST_SUITE_REGISTRATION(ByteArrayTest); |