Fix QA tests in countries using a comma as fp separator (missing LOCALE_IO switch).

This commit is contained in:
jean-pierre charras 2022-09-15 10:37:01 +02:00
parent 907ad27e7f
commit d199f92cd4
3 changed files with 9 additions and 2 deletions

View File

@ -26,7 +26,7 @@
#include <erc_settings.h>
#include <erc.h>
#include <settings/settings_manager.h>
#include <locale_io.h>
struct ERC_REGRESSION_TEST_FIXTURE
{
@ -41,8 +41,9 @@ struct ERC_REGRESSION_TEST_FIXTURE
BOOST_FIXTURE_TEST_CASE( ERCGlobalLabels, ERC_REGRESSION_TEST_FIXTURE )
{
// Check for Errors when using global labels
LOCALE_IO dummy;
// Check for Errors when using global labels
std::vector<std::pair<wxString, int>> tests =
{
{ "issue9367", 8 }

View File

@ -26,6 +26,7 @@
#include <erc_settings.h>
#include <erc.h>
#include <settings/settings_manager.h>
#include <locale_io.h>
struct ERC_REGRESSION_TEST_FIXTURE
@ -41,6 +42,8 @@ struct ERC_REGRESSION_TEST_FIXTURE
BOOST_FIXTURE_TEST_CASE( ERCLabelNotConnected, ERC_REGRESSION_TEST_FIXTURE )
{
LOCALE_IO dummy;
// Check not-connected ERC errors
std::vector<std::pair<wxString, int>> tests =

View File

@ -26,6 +26,7 @@
#include <erc_settings.h>
#include <erc.h>
#include <settings/settings_manager.h>
#include <locale_io.h>
struct ERC_REGRESSION_TEST_FIXTURE
@ -41,6 +42,8 @@ struct ERC_REGRESSION_TEST_FIXTURE
BOOST_FIXTURE_TEST_CASE( ERCStackingPins, ERC_REGRESSION_TEST_FIXTURE )
{
LOCALE_IO dummy;
// Check for Errors when stacking pins
std::vector<std::pair<wxString, int>> tests =