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

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

Issue 2435373002: Delete source/test (Closed)
Patch Set: Created 4 years, 2 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/test5.ucm ('k') | source/test/testdata/testdata.mak » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 //****************************************************************************** *
2 //*
3 //* Copyright (C) 2002-2015, International Business Machines
4 //* Corporation and others. All Rights Reserved.
5 //*
6 //****************************************************************************** *
7
8
9 // This is a test resource to check whether the aliasing mechanism works
10 // as advertised
11
12 testaliases:table(nofallback)
13 {
14 // This should produce an error - circular alias
15 aaa:alias { "testaliases/aab" } // Test circular dependency protection
16 aab:alias { "testaliases/aaa" }
17
18 // aliasing nonexist position
19 nonexisting:alias { "/ICUDATA/ja" }
20
21 // aliasing to another resource
22 simplealias:alias { "testtypes/menu/file/open" } // simple referencing
23
24 // alias that uses another alias and references parts of the end structure
25 referencingalias:alias { "testaliases/anotheralias/2" } // Referencing throu gh another alias
26 anotheralias:alias { "/ICUDATA/ja_JP/calendar/gregorian/DateTimePatterns" } // Provoke a fallback too
27
28 DateTimePatterns:alias { "/ICUDATA/ja/calendar/gregorian/DateTimePatterns" }
29
30 // aliasing using position
31 boundaries:alias { "/ICUDATA-brkitr/th" } // Referencing corresponding resou rce in another bundle
32
33 // aliasing arrays
34 zoneTests {
35 zoneAlias:alias { "/ICUDATA-zone/en/zoneStrings" } // Referencing by ind ex
36 zoneAlias1:alias { "/ICUDATA-zone/en/zoneStrings/3" } // Referencing by index
37 zoneAlias2:alias { "/ICUDATA-zone/en/zoneStrings/3/0" } // Referencing b y index
38 }
39
40 // Test aliasing parts of an array using position
41 zoneStrings {
42 :alias { "/ICUDATA/en" }
43 :alias { "/ICUDATA/en" }
44 }
45 // WARNING: this test assumes that on all platforms digits sort normally
46 // if not, the test may fail
47 testGetStringByKeyAliasing {
48 KeyAlias0PST:alias { "te/zoneStrings/2/0" } //"America/Los_Angeles",
49 KeyAlias1PacificStandardTime:alias { "te/zoneStrings/2/1" } //"Pacific S tandard Time",
50 KeyAlias2PDT:alias { "te/zoneStrings/2/4" } //"PDT",
51 KeyAlias3LosAngeles:alias { "te/zoneStrings/2/5" } //"Los Angeles",
52 }
53 testGetStringByIndexAliasing {
54 :alias { "te/zoneStrings/2/0" } //"America/Los_Angeles",
55 :alias { "te/zoneStrings/2/1" } //"Pacific Standard Time",
56 :alias { "te/zoneStrings/2/4" } //"PDT",
57 :alias { "te/zoneStrings/2/5" } //"Los Angeles",
58 }
59 testAliasToTree:alias{"/ICUDATA-coll/en/collations"}
60
61 }
62
63 //eof
64
65
OLDNEW
« no previous file with comments | « source/test/testdata/test5.ucm ('k') | source/test/testdata/testdata.mak » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698