mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
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:
parent
c6747c9325
commit
272e02b6c8
2 changed files with 125 additions and 40 deletions
|
|
@ -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 ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue