1.cc: Clean up.
authorPaolo Carlini <pcarlini@suse.de>
Sat, 6 Mar 2004 14:56:56 +0000 (14:56 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sat, 6 Mar 2004 14:56:56 +0000 (14:56 +0000)
2004-03-06  Paolo Carlini  <pcarlini@suse.de>

* testsuite/22_locale/money_get/get/char/1.cc: Clean up.
* testsuite/22_locale/money_get/get/char/2.cc: Likewise.
* testsuite/22_locale/money_get/get/char/3.cc: Likewise.
* testsuite/22_locale/money_get/get/char/4.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
* testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.

From-SVN: r79019

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/22_locale/money_get/get/char/1.cc
libstdc++-v3/testsuite/22_locale/money_get/get/char/2.cc
libstdc++-v3/testsuite/22_locale/money_get/get/char/3.cc
libstdc++-v3/testsuite/22_locale/money_get/get/char/4.cc
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/1.cc
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/2.cc
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/3.cc
libstdc++-v3/testsuite/22_locale/money_get/get/wchar_t/4.cc

index ef11a7ff21b50dda31969586626fd16cf3049161..94d0e902b3e9468aa6496fdc65e3eb9f30645095 100644 (file)
@@ -1,3 +1,14 @@
+2004-03-06  Paolo Carlini  <pcarlini@suse.de>
+
+       * testsuite/22_locale/money_get/get/char/1.cc: Clean up.
+       * testsuite/22_locale/money_get/get/char/2.cc: Likewise.
+       * testsuite/22_locale/money_get/get/char/3.cc: Likewise.
+       * testsuite/22_locale/money_get/get/char/4.cc: Likewise.
+       * testsuite/22_locale/money_get/get/wchar_t/1.cc: Likewise.
+       * testsuite/22_locale/money_get/get/wchar_t/2.cc: Likewise.
+       * testsuite/22_locale/money_get/get/wchar_t/3.cc: Likewise.
+       * testsuite/22_locale/money_get/get/wchar_t/4.cc: Likewise.
+
 2004-03-06  Paolo Carlini  <pcarlini@suse.de>
 
        * include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
index b63d384f7392b973bf3965288e09f26a3e2bcceb..08e47d8581568f84004f52bd09c18905aec8d406 100644 (file)
@@ -28,8 +28,6 @@
 void test01()
 {
   using namespace std;
-  typedef money_base::part part;
-  typedef money_base::pattern pattern;
   typedef istreambuf_iterator<char> iterator_type;
 
   bool test __attribute__((unused)) = true;
@@ -39,32 +37,18 @@ void test01()
   locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
   VERIFY( loc_c != loc_de );
 
-  // cache the moneypunct facets
-  typedef moneypunct<char, true> __money_true;
-  typedef moneypunct<char, false> __money_false;
-
   // sanity check the data is correct.
   const string empty;
 
   // total EPA budget FY 2002
   const string digits1("720000000000");
 
-  // est. cost, national missile "defense", expressed as a loss in USD 2001
-  const string digits2("-10000000000000");  
-
-  // not valid input
-  const string digits3("-A"); 
-
-  // input less than frac_digits
-  const string digits4("-1");
-  
   iterator_type end;
   istringstream iss;
   iss.imbue(loc_de);
   // cache the money_get facet
   const money_get<char>& mon_get = use_facet<money_get<char> >(iss.getloc()); 
 
-
   iss.str("7.200.000.000,00 ");
   iterator_type is_it01(iss);
   string result1;
index b9bd0052cb63fc15ad34abb5a5c5b8f830ebd55b..e6ae8d926bb76498a91c887e3adb6464ad2a6d1d 100644 (file)
@@ -28,8 +28,6 @@
 void test02()
 {
   using namespace std;
-  typedef money_base::part part;
-  typedef money_base::pattern pattern;
   typedef istreambuf_iterator<char> iterator_type;
 
   bool test __attribute__((unused)) = true;
@@ -39,22 +37,12 @@ void test02()
   locale loc_hk = __gnu_test::try_named_locale("en_HK");
   VERIFY( loc_c != loc_hk );
 
-  // cache the moneypunct facets
-  typedef moneypunct<char, true> __money_true;
-  typedef moneypunct<char, false> __money_false;
-
-  // sanity check the data is correct.
-  const string empty;
-
   // total EPA budget FY 2002
   const string digits1("720000000000");
 
   // est. cost, national missile "defense", expressed as a loss in USD 2001
   const string digits2("-10000000000000");  
 
-  // not valid input
-  const string digits3("-A"); 
-
   // input less than frac_digits
   const string digits4("-1");
   
index a717bd9a0264c9b02ac5cc7c580ef256502f3934..6a07ab2516660eecd569960ff04c402361dddbd1 100644 (file)
@@ -28,8 +28,6 @@
 void test03()
 {
   using namespace std;
-  typedef money_base::part part;
-  typedef money_base::pattern pattern;
   typedef istreambuf_iterator<char> iterator_type;
 
   bool test __attribute__((unused)) = true;
@@ -39,13 +37,6 @@ void test03()
   locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
   VERIFY( loc_c != loc_de );
 
-  // cache the moneypunct facets
-  typedef moneypunct<char, true> __money_true;
-  typedef moneypunct<char, false> __money_false;
-
-  // sanity check the data is correct.
-  const string empty;
-
   // total EPA budget FY 2002
   const long double  digits1 = 720000000000.0;
 
index c5aa7a3a8c498f5d9c5b778a266bbf43303196d8..9556dfbf00356bb3f8a64f0f378d592546c26ba7 100644 (file)
@@ -37,13 +37,6 @@ void test04()
   locale loc_hk = __gnu_test::try_named_locale("en_HK");
   VERIFY( loc_c != loc_hk );
 
-  // cache the moneypunct facets
-  typedef moneypunct<char, true> __money_true;
-  typedef moneypunct<char, false> __money_false;
-
-  // sanity check the data is correct.
-  const string empty;
-
   // input less than frac_digits
   const long double digits4 = -1.0;
   
index 8a93e66aa66e06b1ad97bacda39d9bc22a2f4e1f..f382e484faa9932d27e3f2fd812e723ad82c7e55 100644 (file)
@@ -28,8 +28,6 @@
 void test01()
 {
   using namespace std;
-  typedef money_base::part part;
-  typedef money_base::pattern pattern;
   typedef istreambuf_iterator<wchar_t> iterator_type;
 
   bool test __attribute__((unused)) = true;
@@ -39,32 +37,18 @@ void test01()
   locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
   VERIFY( loc_c != loc_de );
 
-  // cache the moneypunct facets
-  typedef moneypunct<wchar_t, true> __money_true;
-  typedef moneypunct<wchar_t, false> __money_false;
-
   // sanity check the data is correct.
   const wstring empty;
 
   // total EPA budget FY 2002
   const wstring digits1(L"720000000000");
 
-  // est. cost, national missile "defense", expressed as a loss in USD 2001
-  const wstring digits2(L"-10000000000000");  
-
-  // not valid input
-  const wstring digits3(L"-A"); 
-
-  // input less than frac_digits
-  const wstring digits4(L"-1");
-  
   iterator_type end;
   wistringstream iss;
   iss.imbue(loc_de);
   // cache the money_get facet
   const money_get<wchar_t>& mon_get = use_facet<money_get<wchar_t> >(iss.getloc()); 
 
-
   iss.str(L"7.200.000.000,00 ");
   iterator_type is_it01(iss);
   wstring result1;
index 95a0c735632be56d5ae6abf0b6af43c08430377e..bf7edc11b63011024bda3004d4bc19000614605a 100644 (file)
@@ -28,8 +28,6 @@
 void test02()
 {
   using namespace std;
-  typedef money_base::part part;
-  typedef money_base::pattern pattern;
   typedef istreambuf_iterator<wchar_t> iterator_type;
 
   bool test __attribute__((unused)) = true;
@@ -39,22 +37,12 @@ void test02()
   locale loc_hk = __gnu_test::try_named_locale("en_HK");
   VERIFY( loc_c != loc_hk );
 
-  // cache the moneypunct facets
-  typedef moneypunct<wchar_t, true> __money_true;
-  typedef moneypunct<wchar_t, false> __money_false;
-
-  // sanity check the data is correct.
-  const wstring empty;
-
   // total EPA budget FY 2002
   const wstring digits1(L"720000000000");
 
   // est. cost, national missile "defense", expressed as a loss in USD 2001
   const wstring digits2(L"-10000000000000");  
 
-  // not valid input
-  const wstring digits3(L"-A"); 
-
   // input less than frac_digits
   const wstring digits4(L"-1");
   
index 90c45e8c1a987f3896992bb9fc0b67dd903290f7..2b1dc33e2bea44f6c7b21e6f5adcc31801c620d7 100644 (file)
@@ -28,8 +28,6 @@
 void test03()
 {
   using namespace std;
-  typedef money_base::part part;
-  typedef money_base::pattern pattern;
   typedef istreambuf_iterator<wchar_t> iterator_type;
 
   bool test __attribute__((unused)) = true;
@@ -39,13 +37,6 @@ void test03()
   locale loc_de = __gnu_test::try_named_locale("de_DE@euro");
   VERIFY( loc_c != loc_de );
 
-  // cache the moneypunct facets
-  typedef moneypunct<wchar_t, true> __money_true;
-  typedef moneypunct<wchar_t, false> __money_false;
-
-  // sanity check the data is correct.
-  const wstring empty;
-
   // total EPA budget FY 2002
   const long double  digits1 = 720000000000.0;
   
index cb1a2abfcbcb05448cc2c7c31798267fbc25937b..4f541ed882ad9a9bd7845400527f568ccba66668 100644 (file)
@@ -37,13 +37,6 @@ void test04()
   locale loc_hk = __gnu_test::try_named_locale("en_HK");
   VERIFY( loc_c != loc_hk );
 
-  // cache the moneypunct facets
-  typedef moneypunct<wchar_t, true> __money_true;
-  typedef moneypunct<wchar_t, false> __money_false;
-
-  // sanity check the data is correct.
-  const wstring empty;
-
   // input less than frac_digits
   const long double digits4 = -1.0;