Backport changes from feature-bind.

This commit is contained in:
Jari Sundell
2019-08-23 23:25:24 +09:00
committed by GitHub
parent f43f9e430d
commit 7659cd0ec0
50 changed files with 658 additions and 220 deletions
+35
View File
@@ -0,0 +1,35 @@
#include <cppunit/extensions/HelperMacros.h>
class TestParseOptions : public CppUnit::TestFixture {
CPPUNIT_TEST_SUITE(TestParseOptions);
CPPUNIT_TEST(test_flag_basic);
CPPUNIT_TEST(test_flag_error);
CPPUNIT_TEST(test_flags_basic);
CPPUNIT_TEST(test_flags_error);
CPPUNIT_TEST(test_flags_complex);
CPPUNIT_TEST(test_flags_print_vector);
CPPUNIT_TEST(test_flags_print_flags);
CPPUNIT_TEST(test_flag_libtorrent);
CPPUNIT_TEST(test_flags_libtorrent);
CPPUNIT_TEST_SUITE_END();
public:
void setUp() { }
void tearDown() {}
void test_flag_basic();
void test_flag_error();
void test_flags_basic();
void test_flags_error();
void test_flags_complex();
void test_flags_print_vector();
void test_flags_print_flags();
void test_flag_libtorrent();
void test_flags_libtorrent();
};