Remove useless tests. We don't use locale on devices or somewhere else.

This commit is contained in:
Sergey Magidovich 2015-11-06 15:20:43 +03:00
parent 4c17e16d3b
commit 45619e497d

View file

@ -126,32 +126,6 @@ bool IsUnknown(osmoh::TRuleSequences const & rules, std::string const & dateTime
}
} // namespace
BOOST_AUTO_TEST_CASE(OpeningHours_Locale)
{
namespace charset = boost::spirit::standard_wide;
namespace qi = boost::spirit::qi;
class Alltime : public qi::symbols<wchar_t>
{
public:
Alltime()
{
add
(L"пн")(L"uu")(L"œæ")
;
}
} alltime;
std::locale loc("en_US");
std::locale prev = std::locale::global(loc);
BOOST_CHECK(Test("TeSt", charset::no_case[qi::lit("test")]));
BOOST_CHECK(Test("UU", charset::no_case[alltime]));
std::locale::global(prev);
}
BOOST_AUTO_TEST_CASE(OpeningHours_TestTime)
{
using namespace osmoh;