-2003-07-24 Nathan Myers <ncm-nospam@cantrip.org>
+2003-07-24 Benjamin Kosnik <bkoz@redhat.com>
+
+ * testsuite/*: Change __gnu_cxx_test to __gnu_test.
+
+2003-07-24 Nathan Myers <ncm-nospam@cantrip.org>
* testsuite/23_containers/map_operators.cc: Conform to
container requirement as value must be Assignable.
int main()
{
- __gnu_cxx_test::set_memory_limits();
+ __gnu_test::set_memory_limits();
test01();
return 0;
}
int main()
{
- __gnu_cxx_test::set_memory_limits();
+ __gnu_test::set_memory_limits();
test01();
return 0;
}
int main()
{
- __gnu_cxx_test::set_memory_limits();
+ __gnu_test::set_memory_limits();
test01();
return 0;
}
int main()
{
- __gnu_cxx_test::set_memory_limits();
+ __gnu_test::set_memory_limits();
test01();
return 0;
}
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_env("de_DE", "LANG", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_locale("ja_JP.eucjp", two);
bool test = true;
typedef codecvt<wchar_t, char, mbstate_t> w_codecvt;
- locale loc = __gnu_cxx_test::try_named_locale("en_US.ISO-8859-1");
+ locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-1");
locale::global(loc);
const w_codecvt* cvt = &use_facet<w_codecvt>(loc);
bool test = true;
typedef codecvt<wchar_t, char, mbstate_t> w_codecvt;
- locale loc = __gnu_cxx_test::try_named_locale("en_US.ISO-8859-15");
+ locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-15");
locale::global(loc);
const w_codecvt* cvt = &use_facet<w_codecvt>(loc);
bool test = true;
typedef codecvt<wchar_t, char, mbstate_t> w_codecvt;
- locale loc = __gnu_cxx_test::try_named_locale("en_US.UTF-8");
+ locale loc = __gnu_test::try_named_locale("en_US.UTF-8");
locale::global(loc);
const w_codecvt* cvt = &use_facet<w_codecvt>(loc);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_env("de_DE", "LANG", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_locale("ja_JP.eucjp", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_env("de_DE", "LANG", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_locale("ja_JP.eucjp", two);
typedef codecvt<wchar_t, char, mbstate_t> w_codecvt;
bool test = true;
- locale loc = __gnu_cxx_test::try_named_locale("en_US.ISO-8859-1");
+ locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-1");
locale::global(loc);
const w_codecvt* cvt = &use_facet<w_codecvt>(loc);
typedef codecvt<wchar_t, char, mbstate_t> w_codecvt;
bool test = true;
- locale loc = __gnu_cxx_test::try_named_locale("en_US.ISO-8859-15");
+ locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-15");
locale::global(loc);
const w_codecvt* cvt = &use_facet<w_codecvt>(loc);
typedef codecvt<wchar_t, char, mbstate_t> w_codecvt;
bool test = true;
- locale loc = __gnu_cxx_test::try_named_locale("en_US.UTF-8");
+ locale loc = __gnu_test::try_named_locale("en_US.UTF-8");
locale::global(loc);
const w_codecvt* cvt = &use_facet<w_codecvt>(loc);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_env("de_DE", "LANG", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_locale("ja_JP.eucjp", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_env("de_DE", "LANG", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_locale("ja_JP.eucjp", two);
wmemset(i_ref, 0xdeadbeef, size + 1);
int_type* ito_next;
- locale loc = __gnu_cxx_test::try_named_locale("en_US.ISO-8859-1");
+ locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-1");
locale::global(loc);
const w_codecvt* cvt = &use_facet<w_codecvt>(loc);
wmemset(i_ref, 0xdeadbeef, size + 1);
int_type* ito_next;
- locale loc = __gnu_cxx_test::try_named_locale("en_US.ISO-8859-15");
+ locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-15");
locale::global(loc);
const w_codecvt* cvt = &use_facet<w_codecvt>(loc);
wmemset(i_ref, 0xdeadbeef, esize + 1);
int_type* ito_next;
- locale loc = __gnu_cxx_test::try_named_locale("en_US.UTF-8");
+ locale loc = __gnu_test::try_named_locale("en_US.UTF-8");
locale::global(loc);
const w_codecvt* cvt = &use_facet<w_codecvt>(loc);
wmemset(i_ref, 0xdeadbeef, size + 1);
int_type* ito_next;
- locale loc = __gnu_cxx_test::try_named_locale("en_US.UTF-8");
+ locale loc = __gnu_test::try_named_locale("en_US.UTF-8");
locale::global(loc);
const w_codecvt* cvt = &use_facet<w_codecvt>(loc);
wmemset(i_ref, 0xdeadbeef, esize + 1);
int_type* ito_next;
- locale loc = __gnu_cxx_test::try_named_locale("en_US.UTF-8");
+ locale loc = __gnu_test::try_named_locale("en_US.UTF-8");
locale::global(loc);
const w_codecvt* cvt = &use_facet<w_codecvt>(loc);
int_type* ito = i_arr;
int_type* ito_next;
- locale loc = __gnu_cxx_test::try_named_locale("en_US.UTF-8");
+ locale loc = __gnu_test::try_named_locale("en_US.UTF-8");
locale::global(loc);
const w_codecvt* cvt = &use_facet<w_codecvt>(loc);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_env("de_DE", "LANG", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_locale("ja_JP.eucjp", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_env("de_DE", "LANG", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_locale("ja_JP.eucjp", two);
"\xff";
int size = strlen(e_lit);
- locale loc = __gnu_cxx_test::try_named_locale("en_US.ISO-8859-1");
+ locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-1");
locale::global(loc);
const w_codecvt* cvt = &use_facet<w_codecvt>(loc);
"\xff";
int size = strlen(e_lit);
- locale loc = __gnu_cxx_test::try_named_locale("en_US.ISO-8859-15");
+ locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-15");
locale::global(loc);
const w_codecvt* cvt = &use_facet<w_codecvt>(loc);
int esize = strlen(e_lit);
int isize = wcslen(i_lit);
- locale loc = __gnu_cxx_test::try_named_locale("en_US.UTF-8");
+ locale loc = __gnu_test::try_named_locale("en_US.UTF-8");
locale::global(loc);
const w_codecvt* cvt = &use_facet<w_codecvt>(loc);
const ext_type* efrom_next;
int size = strlen(e_lit);
- locale loc = __gnu_cxx_test::try_named_locale("en_US.UTF-8");
+ locale loc = __gnu_test::try_named_locale("en_US.UTF-8");
locale::global(loc);
const w_codecvt* cvt = &use_facet<w_codecvt>(loc);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_env("de_DE", "LANG", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_locale("ja_JP.eucjp", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_env("de_DE", "LANG", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_locale("ja_JP.eucjp", two);
bool test = true;
typedef codecvt<wchar_t, char, mbstate_t> w_codecvt;
- locale loc = __gnu_cxx_test::try_named_locale("en_US.ISO-8859-1");
+ locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-1");
locale::global(loc);
const w_codecvt* cvt = &use_facet<w_codecvt>(loc);
bool test = true;
typedef codecvt<wchar_t, char, mbstate_t> w_codecvt;
- locale loc = __gnu_cxx_test::try_named_locale("en_US.ISO-8859-15");
+ locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-15");
locale::global(loc);
const w_codecvt* cvt = &use_facet<w_codecvt>(loc);
bool test = true;
typedef codecvt<wchar_t, char, mbstate_t> w_codecvt;
- locale loc = __gnu_cxx_test::try_named_locale("en_US.UTF-8");
+ locale loc = __gnu_test::try_named_locale("en_US.UTF-8");
locale::global(loc);
const w_codecvt* cvt = &use_facet<w_codecvt>(loc);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_env("de_DE", "LANG", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_locale("ja_JP.eucjp", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_env("de_DE", "LANG", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_locale("ja_JP.eucjp", two);
memset(e_ref, 0xf0, size + 1);
ext_type* eto_next;
- locale loc = __gnu_cxx_test::try_named_locale("en_US.ISO-8859-1");
+ locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-1");
locale::global(loc);
const w_codecvt* cvt = &use_facet<w_codecvt>(loc);
memset(e_ref, 0xf0, size + 1);
ext_type* eto_next;
- locale loc = __gnu_cxx_test::try_named_locale("en_US.ISO-8859-15");
+ locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-15");
locale::global(loc);
const w_codecvt* cvt = &use_facet<w_codecvt>(loc);
memset(e_ref, 0xf0, esize + 1);
ext_type* eto_next;
- locale loc = __gnu_cxx_test::try_named_locale("en_US.UTF-8");
+ locale loc = __gnu_test::try_named_locale("en_US.UTF-8");
locale::global(loc);
const w_codecvt* cvt = &use_facet<w_codecvt>(loc);
memset(e_ref, 0xf0, size + 1);
ext_type* eto_next;
- locale loc = __gnu_cxx_test::try_named_locale("en_US.ISO-8859-1");
+ locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-1");
locale::global(loc);
const w_codecvt* cvt = &use_facet<w_codecvt>(loc);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_env("de_DE", "LANG", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_locale("ja_JP.eucjp", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_env("de_DE", "LANG", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_locale("ja_JP.eucjp", two);
memset(e_ref, 0xf0, size + 1);
ext_type* eto_next;
- locale loc = __gnu_cxx_test::try_named_locale("en_US.ISO-8859-1");
+ locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-1");
locale::global(loc);
const w_codecvt* cvt = &use_facet<w_codecvt>(loc);
memset(e_ref, 0xf0, size + 1);
ext_type* eto_next;
- locale loc = __gnu_cxx_test::try_named_locale("en_US.ISO-8859-15");
+ locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-15");
locale::global(loc);
const w_codecvt* cvt = &use_facet<w_codecvt>(loc);
memset(e_ref, 0xf0, size + 1);
ext_type* eto_next;
- locale loc = __gnu_cxx_test::try_named_locale("en_US.UTF-8");
+ locale loc = __gnu_test::try_named_locale("en_US.UTF-8");
locale::global(loc);
const w_codecvt* cvt = &use_facet<w_codecvt>(loc);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_env("de_DE", "LANG", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_locale("ja_JP.eucjp", two);
// basic construction
locale loc_c = locale::classic();
- locale loc_us = __gnu_cxx_test::try_named_locale("en_US");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_us = __gnu_test::try_named_locale("en_US");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_us != loc_fr );
VERIFY( loc_us != loc_de );
// basic construction
locale loc_c = locale::classic();
- locale loc_us = __gnu_cxx_test::try_named_locale("en_US");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_us = __gnu_test::try_named_locale("en_US");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_us != loc_fr );
VERIFY( loc_us != loc_de );
// basic construction
locale loc_c = locale::classic();
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
// cache the collate facets
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
// basic construction
locale loc_c = locale::classic();
- locale loc_us = __gnu_cxx_test::try_named_locale("en_US");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_us = __gnu_test::try_named_locale("en_US");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_us != loc_fr );
VERIFY( loc_us != loc_de );
// basic construction
locale loc_c = locale::classic();
- locale loc_us = __gnu_cxx_test::try_named_locale("en_US");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_us = __gnu_test::try_named_locale("en_US");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_us != loc_fr );
VERIFY( loc_us != loc_de );
// basic construction
locale loc_c = locale::classic();
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
// cache the collate facets
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
// basic construction
locale loc_c = locale::classic();
- locale loc_us = __gnu_cxx_test::try_named_locale("en_US");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_us = __gnu_test::try_named_locale("en_US");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_us != loc_fr );
VERIFY( loc_us != loc_de );
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
// basic construction
locale loc_c = locale::classic();
- locale loc_us = __gnu_cxx_test::try_named_locale("en_US");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_us = __gnu_test::try_named_locale("en_US");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_us != loc_fr );
VERIFY( loc_us != loc_de );
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
// basic construction
locale loc_c = locale::classic();
- locale loc_us = __gnu_cxx_test::try_named_locale("en_US");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_us = __gnu_test::try_named_locale("en_US");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_us != loc_fr );
VERIFY( loc_us != loc_de );
// basic construction
locale loc_c = locale::classic();
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
// cache the collate facets
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test02);
run_tests_wrapped_env("de_DE", "LANG", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test02);
run_tests_wrapped_locale("ja_JP.eucjp", two);
// basic construction
locale loc_c = locale::classic();
- locale loc_us = __gnu_cxx_test::try_named_locale("en_US");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_us = __gnu_test::try_named_locale("en_US");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_us != loc_fr );
VERIFY( loc_us != loc_de );
// basic construction
locale loc_c = locale::classic();
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
// cache the collate facets
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test02);
run_tests_wrapped_env("de_DE", "LANG", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test02);
run_tests_wrapped_locale("ja_JP.eucjp", two);
string str;
locale loc_c = locale::classic();
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
str = loc_de.name();
locale loc_byname(locale::classic(), new collate_byname<char>("de_DE"));
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_env("de_DE", "LANG", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_locale("ja_JP.eucjp", two);
}
// "de_DE"
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
const ctype<char>& ctype_de = use_facet<ctype<char> >(loc_de);
for (int i = 0; i < max; ++i)
{
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
}
// "de_DE"
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
const ctype<wchar_t>& ctype_de = use_facet<ctype<wchar_t> >(loc_de);
for (int i = 0; i < max; ++i)
{
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
using namespace std;
bool test = true;
- locale loc = __gnu_cxx_test::try_named_locale("se_NO.UTF-8");
+ locale loc = __gnu_test::try_named_locale("se_NO.UTF-8");
const ctype<wchar_t>& wct = use_facet<ctype<wchar_t> >(loc);
const wchar_t* wstrlit = L"\x80";
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_env("de_DE", "LANG", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_locale("ja_JP.eucjp", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_env("de_DE", "LANG", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_locale("ja_JP.eucjp", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_env("de_DE", "LANG", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_locale("ja_JP.eucjp", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_env("de_DE", "LANG", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_locale("ja_JP.eucjp", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_env("de_DE", "LANG", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_locale("ja_JP.eucjp", two);
using namespace std;
bool test = true;
- locale loc = __gnu_cxx_test::try_named_locale("en_US.ISO-8859-1");
+ locale loc = __gnu_test::try_named_locale("en_US.ISO-8859-1");
const ctype<wchar_t>& wct = use_facet<ctype<wchar_t> >(loc);
char c = 0xff;
using namespace std;
bool test = true;
- locale loc = __gnu_cxx_test::try_named_locale("se_NO.UTF-8");
+ locale loc = __gnu_test::try_named_locale("se_NO.UTF-8");
const ctype<wchar_t>& wct = use_facet<ctype<wchar_t> >(loc);
const char* strlit = "\xc2\x80";
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_env("de_DE", "LANG", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_locale("ja_JP.eucjp", two);
// 4: Named locale should destroy facets when it goes out of scope.
// Not quite sure how to test for this w/o valgrind at the moment.
{
- locale loc03 = __gnu_cxx_test::try_named_locale("es_MX");
+ locale loc03 = __gnu_test::try_named_locale("es_MX");
}
}
// 3
// explicit locale(const char* std_name)
- locale loc06 = __gnu_cxx_test::try_named_locale("fr_FR");
+ locale loc06 = __gnu_test::try_named_locale("fr_FR");
VERIFY (loc06 != loc01);
VERIFY (loc06 != loc02);
VERIFY (loc06.name() == "fr_FR");
const char* LC_ALL_orig = getenv("LC_ALL");
if (!setenv("LC_ALL", "it_IT", 1))
{
- std::locale loc = __gnu_cxx_test::try_named_locale("");
+ std::locale loc = __gnu_test::try_named_locale("");
VERIFY( loc.name() == "it_IT" );
setenv("LC_ALL", LC_ALL_orig ? LC_ALL_orig : "", 1);
}
// Check that a "POSIX" LC_ALL is equivalent to "C".
if (!setenv("LC_ALL", "POSIX", 1))
{
- locale loc = __gnu_cxx_test::try_named_locale("");
+ locale loc = __gnu_test::try_named_locale("");
VERIFY( loc.name() == "C" );
}
setenv("LC_ALL", "", 1);
// Check that a "en_PH" LC_ALL is equivalent to "en_PH".
if (!setenv("LC_ALL", "en_PH", 1))
{
- locale loc = __gnu_cxx_test::try_named_locale("");
+ locale loc = __gnu_test::try_named_locale("");
VERIFY( loc.name() == "en_PH" );
}
setenv("LC_ALL", "", 1);
{
if (!setenv("LC_ALL", "en_PH", 1))
{
- locale loc = __gnu_cxx_test::try_named_locale("");
+ locale loc = __gnu_test::try_named_locale("");
VERIFY( loc.name() == "en_PH" );
}
setenv("LC_ALL", "", 1);
// Check the default set by LANG.
if (!setenv("LANG", "fr_FR", 1))
{
- locale loc = __gnu_cxx_test::try_named_locale("");
+ locale loc = __gnu_test::try_named_locale("");
VERIFY( loc.name() == "fr_FR" );
}
// Setting a category in the "C" default.
if (!setenv("LC_COLLATE", "de_DE", 1))
{
- locale loc = __gnu_cxx_test::try_named_locale("");
+ locale loc = __gnu_test::try_named_locale("");
#if _GLIBCXX_NUM_CATEGORIES
VERIFY( loc.name() == "LC_CTYPE=C;LC_NUMERIC=C;LC_TIME=C;"
// Changing the LANG default while LC_COLLATE is set.
if (!setenv("LANG", "fr_FR", 1))
{
- locale loc = __gnu_cxx_test::try_named_locale("");
+ locale loc = __gnu_test::try_named_locale("");
#if _GLIBCXX_NUM_CATEGORIES
VERIFY( loc.name() == "LC_CTYPE=fr_FR;LC_NUMERIC=fr_FR;"
"LC_TIME=fr_FR;LC_COLLATE=de_DE;LC_MONETARY=fr_FR;"
#if _GLIBCXX_NUM_CATEGORIES
if (!setenv("LC_IDENTIFICATION", "it_IT", 1))
{
- locale loc = __gnu_cxx_test::try_named_locale("");
+ locale loc = __gnu_test::try_named_locale("");
VERIFY( loc.name() == "LC_CTYPE=fr_FR;LC_NUMERIC=fr_FR;"
"LC_TIME=fr_FR;LC_COLLATE=de_DE;LC_MONETARY=fr_FR;"
"LC_MESSAGES=fr_FR;LC_PAPER=fr_FR;LC_NAME=fr_FR;"
// construct a locale object with the specialized facet.
locale loc_c = locale::classic();
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR");
locale loc_1(locale::classic(),
new numpunct_byname<char>("fr_FR"));
{
bool test = true;
- std::locale loc_1 = __gnu_cxx_test::try_named_locale("");
- std::locale loc_2 = __gnu_cxx_test::try_named_locale("");
+ std::locale loc_1 = __gnu_test::try_named_locale("");
+ std::locale loc_2 = __gnu_test::try_named_locale("");
VERIFY( loc_1 == loc_2 );
}
// named locales work.
if (testph && testmx)
{
- const locale loc_ph = __gnu_cxx_test::try_named_locale(ph.c_str());
- const locale loc_mx = __gnu_cxx_test::try_named_locale(mx.c_str());
+ const locale loc_ph = __gnu_test::try_named_locale(ph.c_str());
+ const locale loc_mx = __gnu_test::try_named_locale(mx.c_str());
// Use setlocale between two calls to locale("")
- const locale loc_env_1 = __gnu_cxx_test::try_named_locale("");
+ const locale loc_env_1 = __gnu_test::try_named_locale("");
setlocale(LC_ALL, ph.c_str());
- const locale loc_env_2 = __gnu_cxx_test::try_named_locale("");
+ const locale loc_env_2 = __gnu_test::try_named_locale("");
VERIFY( loc_env_1 == loc_env_2 );
// Change global locale.
// basic construction
locale loc_c = locale::classic();
- locale loc_us = __gnu_cxx_test::try_named_locale("en_US");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_us = __gnu_test::try_named_locale("en_US");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_us != loc_fr );
VERIFY( loc_us != loc_de );
// basic construction
locale loc_c = locale::classic();
- locale loc_us = __gnu_cxx_test::try_named_locale("en_US");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_us = __gnu_test::try_named_locale("en_US");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_us != loc_fr );
VERIFY( loc_us != loc_de );
// basic construction
locale loc_c = locale::classic();
- locale loc_us = __gnu_cxx_test::try_named_locale("en_US");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_us = __gnu_test::try_named_locale("en_US");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_us != loc_fr );
VERIFY( loc_us != loc_de );
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
const char* dir = LOCALEDIR;
locale loc_c = locale::classic();
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
str = loc_de.name();
locale loc_byname(locale::classic(), new messages_byname<char>("de_DE"));
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE@euro");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
bool test = true;
- locale loc_us = __gnu_cxx_test::try_named_locale("en_US");
+ locale loc_us = __gnu_test::try_named_locale("en_US");
iterator_type end;
istringstream iss;
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE@euro");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE@euro");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE@euro");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE@euro");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
bool test = true;
- locale loc_us = __gnu_cxx_test::try_named_locale("en_US");
+ locale loc_us = __gnu_test::try_named_locale("en_US");
iterator_type end;
wistringstream iss;
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE@euro");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE@euro");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE@euro");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE@euro");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE@euro");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE@euro");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE@euro");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE@euro");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE@euro");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
// basic construction
locale loc_c = locale::classic();
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
// cache the moneypunct facets
typedef moneypunct<char, true> __money_true;
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
// basic construction
locale loc_c = locale::classic();
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
// cache the moneypunct facets
typedef moneypunct<wchar_t, true> __money_true;
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
bool test = true;
string str;
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
str = loc_de.name();
locale loc_byname(locale::classic(), new moneypunct_byname<char>("de_DE"));
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
istringstream iss;
// A locale that expects grouping
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
iss.imbue(loc_de);
const num_get<char>& ng = use_facet<num_get<char> >(iss.getloc());
double d = 0.0;
istringstream iss;
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
iss.imbue(loc_de);
const num_get<char>& ng = use_facet<num_get<char> >(iss.getloc());
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
wistringstream iss;
// A locale that expects grouping
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
iss.imbue(loc_de);
const num_get<wchar_t>& ng = use_facet<num_get<wchar_t> >(iss.getloc());
double d = 0.0;
wistringstream iss;
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
iss.imbue(loc_de);
const num_get<wchar_t>& ng = use_facet<num_get<wchar_t> >(iss.getloc());
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
bool test = true;
// A locale that expects grouping.
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
const string empty;
string result;
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
// basic construction
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
bool test = true;
// A locale that expects grouping.
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
const wstring empty;
wstring result;
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
// basic construction
locale loc_c = locale::classic();
- locale loc_us = __gnu_cxx_test::try_named_locale("en_US");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_us = __gnu_test::try_named_locale("en_US");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_us != loc_fr );
VERIFY( loc_us != loc_de );
// basic construction
locale loc_c = locale::classic();
- locale loc_us = __gnu_cxx_test::try_named_locale("en_US");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_us = __gnu_test::try_named_locale("en_US");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_us != loc_fr );
VERIFY( loc_us != loc_de );
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
// basic construction
locale loc_c = locale::classic();
- locale loc_us = __gnu_cxx_test::try_named_locale("en_US");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_us = __gnu_test::try_named_locale("en_US");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_us != loc_fr );
VERIFY( loc_us != loc_de );
// basic construction
locale loc_c = locale::classic();
- locale loc_us = __gnu_cxx_test::try_named_locale("en_US");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_us = __gnu_test::try_named_locale("en_US");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_c != loc_de );
VERIFY( loc_us != loc_fr );
VERIFY( loc_us != loc_de );
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
bool test = true;
string str;
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
str = loc_de.name();
locale loc_byname(locale::classic(), new numpunct_byname<char>("de_DE"));
bool test = true;
- locale loc_it = __gnu_cxx_test::try_named_locale("it_IT");
+ locale loc_it = __gnu_test::try_named_locale("it_IT");
const numpunct<char>& nump_it = use_facet<numpunct<char> >(loc_it);
// basic construction and sanity checks.
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_hk != loc_c );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_env("de_DE", "LANG", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_locale("ja_JP.eucjp", two);
// basic construction and sanity checks.
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_hk != loc_c );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_env("de_DE", "LANG", two);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
run_tests_wrapped_locale("ja_JP.eucjp", two);
// basic construction and sanity checks.
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_hk != loc_c );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
// basic construction and sanity checks.
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_hk != loc_c );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
// basic construction and sanity checks.
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_hk != loc_c );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
// basic construction and sanity checks.
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_hk != loc_c );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
// basic construction and sanity checks.
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_hk != loc_c );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
// basic construction and sanity checks.
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_hk = __gnu_test::try_named_locale("en_HK");
+ locale loc_fr = __gnu_test::try_named_locale("fr_FR@euro");
+ locale loc_de = __gnu_test::try_named_locale("de_DE");
VERIFY( loc_hk != loc_c );
VERIFY( loc_hk != loc_fr );
VERIFY( loc_hk != loc_de );
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
int main()
{
- using namespace __gnu_cxx_test;
+ using namespace __gnu_test;
func_callback two;
two.push_back(&test01);
two.push_back(&test02);
// basic construction and sanity checks.
locale loc_c = locale::classic();
- locale loc_hk = __gnu_cxx_test::try_named_locale("en_HK");
- locale loc_fr = __gnu_cxx_test::try_named_locale("fr_FR@euro");
- locale loc_de = __gnu_cxx_test::try_named_locale("de_DE");
+ locale loc_hk