diff options
Diffstat (limited to 'test/test_util.cxx')
-rw-r--r-- | test/test_util.cxx | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/test/test_util.cxx b/test/test_util.cxx deleted file mode 100644 index 37e352678..000000000 --- a/test/test_util.cxx +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Unit tests for src/util/ - */ - -#include "config.h" -#include "DivideStringTest.hxx" -#include "SplitStringTest.hxx" -#include "UriUtilTest.hxx" -#include "MimeTypeTest.hxx" -#include "TestCircularBuffer.hxx" - -#include <cppunit/TestFixture.h> -#include <cppunit/extensions/TestFactoryRegistry.h> -#include <cppunit/ui/text/TestRunner.h> -#include <cppunit/extensions/HelperMacros.h> - -#include <stdlib.h> - -CPPUNIT_TEST_SUITE_REGISTRATION(DivideStringTest); -CPPUNIT_TEST_SUITE_REGISTRATION(SplitStringTest); -CPPUNIT_TEST_SUITE_REGISTRATION(UriUtilTest); -CPPUNIT_TEST_SUITE_REGISTRATION(MimeTypeTest); -CPPUNIT_TEST_SUITE_REGISTRATION(TestCircularBuffer); - -int -main(gcc_unused int argc, gcc_unused char **argv) -{ - CppUnit::TextUi::TestRunner runner; - auto ®istry = CppUnit::TestFactoryRegistry::getRegistry(); - runner.addTest(registry.makeTest()); - return runner.run() ? EXIT_SUCCESS : EXIT_FAILURE; -} |