Return-Path: Delivered-To: apmail-stdcxx-commits-archive@www.apache.org Received: (qmail 42426 invoked from network); 15 Jul 2008 23:37:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jul 2008 23:37:29 -0000 Received: (qmail 29954 invoked by uid 500); 15 Jul 2008 23:37:29 -0000 Delivered-To: apmail-stdcxx-commits-archive@stdcxx.apache.org Received: (qmail 29922 invoked by uid 500); 15 Jul 2008 23:37:29 -0000 Mailing-List: contact commits-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list commits@stdcxx.apache.org Received: (qmail 29913 invoked by uid 99); 15 Jul 2008 23:37:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 16:37:29 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 23:36:44 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 221102388A04; Tue, 15 Jul 2008 16:37:09 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r677100 - /stdcxx/branches/4.2.x/tests/localization/22.locale.time.get.cpp Date: Tue, 15 Jul 2008 23:37:09 -0000 To: commits@stdcxx.apache.org From: vitek@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080715233709.221102388A04@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: vitek Date: Tue Jul 15 16:37:08 2008 New Revision: 677100 URL: http://svn.apache.org/viewvc?rev=677100&view=rev Log: 2008-07-15 Travis Vitek 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.2.x/tests/localization/22.locale.time.get.cpp Modified: stdcxx/branches/4.2.x/tests/localization/22.locale.time.get.cpp URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/tests/localization/22.locale.time.get.cpp?rev=677100&r1=677099&r2=677100&view=diff ============================================================================== --- stdcxx/branches/4.2.x/tests/localization/22.locale.time.get.cpp (original) +++ stdcxx/branches/4.2.x/tests/localization/22.locale.time.get.cpp Tue Jul 15 16:37:08 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.