Fix string-convert tests for Windows and hopefully macOS/OS X
Tests requires a locale installed on the host that uses a comma as the decimal mark/point.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
class StringConvertTest : public CppUnit::TestFixture
|
||||
{
|
||||
CPPUNIT_TEST_SUITE (StringConvertTest);
|
||||
CPPUNIT_TEST (test_required_locales);
|
||||
CPPUNIT_TEST (test_int16_conversion);
|
||||
CPPUNIT_TEST (test_uint16_conversion);
|
||||
CPPUNIT_TEST (test_int32_conversion);
|
||||
@@ -17,6 +18,7 @@ class StringConvertTest : public CppUnit::TestFixture
|
||||
CPPUNIT_TEST_SUITE_END ();
|
||||
|
||||
public:
|
||||
void test_required_locales ();
|
||||
void test_int16_conversion ();
|
||||
void test_uint16_conversion ();
|
||||
void test_int32_conversion ();
|
||||
|
||||
Reference in New Issue
Block a user