Add a test for wxLocale::IsAvailable(wxLANGUAGE_DEFAULT)
This must always returns true.
This commit is contained in:
parent
adc7b31c0b
commit
aedd4ca847
@ -233,6 +233,8 @@ void IntlTestCase::IsAvailable()
|
|||||||
|
|
||||||
TEST_CASE("wxLocale::Default", "[locale]")
|
TEST_CASE("wxLocale::Default", "[locale]")
|
||||||
{
|
{
|
||||||
|
CHECK( wxLocale::IsAvailable(wxLANGUAGE_DEFAULT) );
|
||||||
|
|
||||||
wxLocale loc;
|
wxLocale loc;
|
||||||
|
|
||||||
REQUIRE( loc.Init(wxLANGUAGE_DEFAULT, wxLOCALE_DONT_LOAD_DEFAULT) );
|
REQUIRE( loc.Init(wxLANGUAGE_DEFAULT, wxLOCALE_DONT_LOAD_DEFAULT) );
|
||||||
|
Loading…
Reference in New Issue
Block a user