Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(371)

Side by Side Diff: source/test/testdata/format.txt

Issue 845603002: Update ICU to 54.1 step 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: remove unusued directories Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/test/testdata/csdetest.xml ('k') | source/test/testdata/letest.xml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2007-2013 International Business Machines 1 // Copyright (c) 2007-2014 International Business Machines
2 // Corporation and others. All Rights Reserved. 2 // Corporation and others. All Rights Reserved.
3 format:table(nofallback) { 3 format:table(nofallback) {
4 Info { 4 Info {
5 Description { "These are the data driven format tests" } 5 Description { "These are the data driven format tests" }
6 LongDescription { "Data for data driven format tests." } 6 LongDescription { "Data for data driven format tests." }
7 } 7 }
8 TestData { 8 TestData {
9 TestDateFormatBasic { 9 TestDateFormatBasic {
10 Info { 10 Info {
11 Description { "Test data for format and parse :" } 11 Description { "Test data for format and parse :" }
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 "GMT", 155 "GMT",
156 "DATE=RELATIVE_LONG,TIME=MEDIUM", 156 "DATE=RELATIVE_LONG,TIME=MEDIUM",
157 "ERA=1,YEAR=2012,MONTH=OCTOBER,DATE=8,HOUR_OF_DAY=23,MINUTE= 59,SECOND=0", 157 "ERA=1,YEAR=2012,MONTH=OCTOBER,DATE=8,HOUR_OF_DAY=23,MINUTE= 59,SECOND=0",
158 "23:59:00 Ngày 08 tháng 10 năm 2012" 158 "23:59:00 Ngày 08 tháng 10 năm 2012"
159 }, 159 },
160 { 160 {
161 "vi@calendar=gregorian", 161 "vi@calendar=gregorian",
162 "GMT", 162 "GMT",
163 "DATE=RELATIVE_LONG,TIME=MEDIUM", 163 "DATE=RELATIVE_LONG,TIME=MEDIUM",
164 "RELATIVE_ADD:DATE=-1,HOUR_OF_DAY=17,MINUTE=0,SECOND=0", // one day before now at specified time 164 "RELATIVE_ADD:DATE=-1,HOUR_OF_DAY=17,MINUTE=0,SECOND=0", // one day before now at specified time
165 "17:00:00 Hôm qua" 165 "17:00:00 hôm qua"
166 }, 166 },
167 // el combines formats using hyphen 167 // el combines formats using hyphen
168 { 168 {
169 "el@calendar=gregorian", 169 "el@calendar=gregorian",
170 "GMT", 170 "GMT",
171 "DATE=RELATIVE_LONG,TIME=MEDIUM", 171 "DATE=RELATIVE_LONG,TIME=MEDIUM",
172 "ERA=1,YEAR=2012,MONTH=OCTOBER,DATE=8,HOUR_OF_DAY=23,MINUTE= 59,SECOND=0", 172 "ERA=1,YEAR=2012,MONTH=OCTOBER,DATE=8,HOUR_OF_DAY=23,MINUTE= 59,SECOND=0",
173 "8 Οκτωβρίου 2012 - 11:59:00 μ.μ." 173 "8 Οκτωβρίου 2012 - 11:59:00 μ.μ."
174 }, 174 },
175 { 175 {
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 // or RELATIVE_ADD:DATE=1 which means that the field "DATE" will be added by +1 relative to current time, 545 // or RELATIVE_ADD:DATE=1 which means that the field "DATE" will be added by +1 relative to current time,
546 // and any other fields present will be set explicitly. 546 // and any other fields present will be set explicitly.
547 // str: the expected unicode string 547 // str: the expected unicode string
548 548
549 Cases { 549 Cases {
550 { 550 {
551 "en_US@calendar=hebrew", 551 "en_US@calendar=hebrew",
552 "", 552 "",
553 "DATE=FULL,TIME=FULL", 553 "DATE=FULL,TIME=FULL",
554 "MILLIS=3076424179200000", 554 "MILLIS=3076424179200000",
555 "Friday, Heshvan 3, 103217 AM at 12:00:00 AM GMT-08:00" 555 "Friday, 3 Heshvan 103217 at 12:00:00 AM GMT-08:00"
556 }, 556 },
557 } 557 }
558 } 558 }
559 TestMoreDateParse { 559 TestMoreDateParse {
560 Info { 560 Info {
561 Description { "Additional date parse tests (may not 561 Description { "Additional date parse tests (may not
562 round/trip to format.)" } 562 round/trip to format.)" }
563 } 563 }
564 Settings { 564 Settings {
565 // options: 'format', or 'parse'. One can be omitted if this is a 1 way test. 565 // options: 'format', or 'parse'. One can be omitted if this is a 1 way test.
(...skipping 18 matching lines...) Expand all
584 "", 584 "",
585 "PATTERN=YYYYHHmmssEEEww", 585 "PATTERN=YYYYHHmmssEEEww",
586 "YEAR=1999,HOUR_OF_DAY=4,MINUTE=5,SECOND=6,DAY_OF_WEEK=2,WEE K_OF_YEAR=4", 586 "YEAR=1999,HOUR_OF_DAY=4,MINUTE=5,SECOND=6,DAY_OF_WEEK=2,WEE K_OF_YEAR=4",
587 // won't roundtrip. 587 // won't roundtrip.
588 "1998040506MON56" 588 "1998040506MON56"
589 } 589 }
590 } 590 }
591 } 591 }
592 } 592 }
593 } 593 }
OLDNEW
« no previous file with comments | « source/test/testdata/csdetest.xml ('k') | source/test/testdata/letest.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698