ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

locale_test.h
Go to the documentation of this file.
00001 #include <string>
00002 #if !defined (STLPORT) || !defined (_STLP_USE_NO_IOSTREAMS)
00003 #  include <iosfwd>
00004 
00005 #  include "cppunit/cppunit_proxy.h"
00006 #  include <locale>
00007 
00008 struct ref_monetary;
00009 struct ref_locale;
00010 
00011 #  if !defined (STLPORT) || defined (_STLP_USE_NAMESPACES)
00012 #    define STD std::
00013 #  else
00014 #    define STD
00015 #  endif
00016 
00017 //
00018 // TestCase class
00019 //
00020 class LocaleTest : public CPPUNIT_NS::TestCase
00021 {
00022   CPPUNIT_TEST_SUITE(LocaleTest);
00023 #  if defined (STLPORT) && !defined (_STLP_USE_EXCEPTIONS)
00024   CPPUNIT_IGNORE;
00025 #  endif
00026   CPPUNIT_TEST(locale_by_name);
00027   CPPUNIT_TEST(moneypunct_by_name);
00028   CPPUNIT_TEST(time_by_name);
00029   CPPUNIT_TEST(numpunct_by_name);
00030   CPPUNIT_TEST(ctype_by_name);
00031   CPPUNIT_TEST(collate_by_name);
00032   CPPUNIT_TEST(messages_by_name);
00033   CPPUNIT_STOP_IGNORE;
00034   CPPUNIT_TEST(loc_has_facet);
00035   CPPUNIT_TEST(num_put_get);
00036   CPPUNIT_TEST(money_put_get);
00037   CPPUNIT_TEST(money_put_X_bug);
00038   CPPUNIT_TEST(time_put_get);
00039   CPPUNIT_TEST(collate_facet);
00040   CPPUNIT_TEST(ctype_facet);
00041 #  if defined (STLPORT) && defined (_STLP_NO_MEMBER_TEMPLATES)
00042   CPPUNIT_IGNORE;
00043 #  endif
00044   CPPUNIT_TEST(locale_init_problem);
00045   CPPUNIT_STOP_IGNORE;
00046   CPPUNIT_TEST(default_locale);
00047 #  if !defined (STLPORT)
00048   CPPUNIT_IGNORE;
00049 #  endif
00050   CPPUNIT_STOP_IGNORE;
00051 #if (defined (STLPORT) && \
00052    (!defined (_STLP_USE_EXCEPTIONS) || defined (_STLP_NO_MEMBER_TEMPLATES) || defined (_STLP_NO_EXPLICIT_FUNCTION_TMPL_ARGS)))
00053   CPPUNIT_IGNORE;
00054 #  endif
00055   CPPUNIT_TEST(combine);
00056   CPPUNIT_TEST_SUITE_END();
00057 
00058 public:
00059   void locale_by_name();
00060   void loc_has_facet();
00061   void num_put_get();
00062   void numpunct_by_name();
00063   void time_put_get();
00064   void time_by_name();
00065   void collate_facet();
00066   void collate_by_name();
00067   void ctype_facet();
00068   void ctype_by_name();
00069   void locale_init_problem();
00070   void money_put_get();
00071   void money_put_X_bug();
00072   void moneypunct_by_name();
00073   void default_locale();
00074   void combine();
00075   void messages_by_name();
00076 private:
00077   void _loc_has_facet( const STD locale& );
00078   void _num_put_get( const STD locale&, const ref_locale* );
00079   void _time_put_get( const STD locale& );
00080   void _ctype_facet( const STD locale& );
00081   void _ctype_facet_w( const STD locale& );
00082   void _locale_init_problem( const STD locale& );
00083 
00084   static const ref_monetary* _get_ref_monetary(size_t);
00085   static const char* _get_ref_monetary_name(const ref_monetary*);
00086 
00087   void _money_put_get( const STD locale&, const ref_monetary* );
00088   void _money_put_get2( const STD locale& loc, const STD locale& streamLoc, const ref_monetary* );
00089   void _money_put_X_bug( const STD locale&, const ref_monetary* );
00090 };
00091 
00092 #  undef STD
00093 #endif
00094 

Generated on Sat May 26 2012 04:34:20 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.