stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r677110 - /stdcxx/branches/4.3.x/tests/localization/22.locale.time.get.cpp
Date Tue, 15 Jul 2008 23:51:49 GMT
Author: vitek
Date: Tue Jul 15 16:51:48 2008
New Revision: 677110

URL: http://svn.apache.org/viewvc?rev=677110&view=rev
Log:
2008-07-15  Travis Vitek  <vitek@roguewave.com>

	Merge r677100 from branches/4.2.x.

	2008-07-15  Travis Vitek  <vitek@roguewave.com>

	STDCXX-900
	* tests/localization/22.locale.time.get.cpp (test_posix): Remove broken
	and failing assertions for unimplemented %U and %W format specifiers.
	Add warning to be consistent with other unexercised specifiers.
	(test_user): Ditto for %Ex and %OU specifiers.



Modified:
    stdcxx/branches/4.3.x/tests/localization/22.locale.time.get.cpp

Modified: stdcxx/branches/4.3.x/tests/localization/22.locale.time.get.cpp
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.3.x/tests/localization/22.locale.time.get.cpp?rev=677110&r1=677109&r2=677110&view=diff
==============================================================================
--- stdcxx/branches/4.3.x/tests/localization/22.locale.time.get.cpp (original)
+++ stdcxx/branches/4.3.x/tests/localization/22.locale.time.get.cpp Tue Jul 15 16:51:48 2008
@@ -755,7 +755,7 @@
     //    as a decimal number [00,53]; leading zeros are permitted but not
     //    required.
     STEP ("%U: the Sunday-based week of the year");
-    TEST (T (0, 0, 0, 0, 0, 320, 2, 60), "9", 1, "U", 0, Eof);
+    rw_warn (0, 0, __LINE__, "%%U not being exercised");
 
     // %w The weekday as a decimal number [0,6], with 0 representing
     //    Sunday; leading zeros are permitted but not required.
@@ -775,9 +775,7 @@
     //    week) as a decimal number [00,53]; leading zeros are permitted
     //    but not required.
     STEP ("%W: the Monday-based week of the year");
-    TEST (T (0, 0, 0, 0, 0, 0, 0),  "0", 1, "W", 0, Eof);
-
-    // rw_warn (0, 0, __LINE__, "%%W specifier not being exercised");
+    rw_warn (0, 0, __LINE__, "%%W not being exercised");
 
     // %x The date, using the locale's date format.
     STEP ("%x: the date");
@@ -1436,14 +1434,15 @@
 
     // %Ex: The locale's alternative date representation.
     STEP ("%Ex: alternative date representation");
+    rw_warn (0, 0, __LINE__, "%%Ex not being exercised");
 
     // verify that facet computes the remaining tm members from
     // the supplied data
-    TEST (T (0, 0, 0, 21, 4, 2002, 2, 141),
-          // "%Ow weekday, %OU week, %Oy year"
-          "2nd weekday, 21st week, 2nd year", 32,
-          // i.e., May 21, 2002
-          "%Ex", 0, Good);
+    //TEST (T (0, 0, 0, 21, 4, 2002, 2, 141),
+    //      // "%Ow weekday, %OU week, %Oy year"
+    //      "2nd weekday, 21st week, 2nd year", 32,
+    //      // i.e., May 21, 2002
+    //      "%Ex", 0, Good);
 
     // %EX: The locale's alternative time representation.
     STEP ("%EX: alternative time representation");
@@ -1578,9 +1577,7 @@
     // %OW: The week number of the year (Monday as the first day of the week)
     //      using the locale's alternative numeric symbols.
     STEP ("%OW: the Monday-based week using alternative numeric symbols");
-    
-    TEST (T (0, 0, 0, 0, 0, 0, 1), "1st", 3, "%OW", 0, Good);
-    // rw_warn (0, 0, __LINE__, "%%OW not being exercised");
+    rw_warn (0, 0, __LINE__, "%%OW not being exercised");
 
     // %Oy: The year (offset from %C ) using the locale's alternative
     //      numeric symbols.



Mime
View raw message