OLD | NEW |
1 //******************************************************************************
* | 1 //******************************************************************************
* |
2 //* | 2 //* |
3 //* Copyright (C) 2002-2012, International Business Machines | 3 //* Copyright (C) 2002-2015, International Business Machines |
4 //* Corporation and others. All Rights Reserved. | 4 //* Corporation and others. All Rights Reserved. |
5 //* | 5 //* |
6 //******************************************************************************
* | 6 //******************************************************************************
* |
7 | 7 |
8 | 8 |
9 // This is a test resource to check whether the aliasing mechanism works | 9 // This is a test resource to check whether the aliasing mechanism works |
10 // as advertised | 10 // as advertised |
11 | 11 |
12 testaliases:table(nofallback) | 12 testaliases:table(nofallback) |
13 { | 13 { |
14 // This should produce an error - circular alias | 14 // This should produce an error - circular alias |
15 aaa:alias { "testaliases/aab" } // Test circular dependency protection | 15 aaa:alias { "testaliases/aab" } // Test circular dependency protection |
16 aab:alias { "testaliases/aaa" } | 16 aab:alias { "testaliases/aaa" } |
17 | 17 |
18 // aliasing nonexist position | 18 // aliasing nonexist position |
19 nonexisting:alias { "/ICUDATA/ja" } | 19 nonexisting:alias { "/ICUDATA/ja" } |
20 | 20 |
21 // aliasing to another resource | 21 // aliasing to another resource |
22 simplealias:alias { "testtypes/menu/file/open" } // simple referencing | 22 simplealias:alias { "testtypes/menu/file/open" } // simple referencing |
23 | 23 |
24 // alias that uses another alias and references parts of the end structure | 24 // alias that uses another alias and references parts of the end structure |
25 referencingalias:alias { "testaliases/anotheralias/2" } // Referencing throu
gh another alias | 25 referencingalias:alias { "testaliases/anotheralias/2" } // Referencing throu
gh another alias |
26 anotheralias:alias { "/ICUDATA/ja_JP/LocaleScript" } // Provoke a fallback t
oo | 26 anotheralias:alias { "/ICUDATA/ja_JP/calendar/gregorian/DateTimePatterns" }
// Provoke a fallback too |
27 | 27 |
28 LocaleScript:alias { "/ICUDATA/ja/LocaleScript" } | 28 DateTimePatterns:alias { "/ICUDATA/ja/calendar/gregorian/DateTimePatterns" } |
29 | 29 |
30 // aliasing using position | 30 // aliasing using position |
31 boundaries:alias { "/ICUDATA-brkitr/th" } // Referencing corresponding resou
rce in another bundle | 31 boundaries:alias { "/ICUDATA-brkitr/th" } // Referencing corresponding resou
rce in another bundle |
32 | 32 |
33 // aliasing arrays | 33 // aliasing arrays |
34 zoneTests { | 34 zoneTests { |
35 zoneAlias:alias { "/ICUDATA-zone/en/zoneStrings" } // Referencing by ind
ex | 35 zoneAlias:alias { "/ICUDATA-zone/en/zoneStrings" } // Referencing by ind
ex |
36 zoneAlias1:alias { "/ICUDATA-zone/en/zoneStrings/3" } // Referencing by
index | 36 zoneAlias1:alias { "/ICUDATA-zone/en/zoneStrings/3" } // Referencing by
index |
37 zoneAlias2:alias { "/ICUDATA-zone/en/zoneStrings/3/0" } // Referencing b
y index | 37 zoneAlias2:alias { "/ICUDATA-zone/en/zoneStrings/3/0" } // Referencing b
y index |
38 } | 38 } |
(...skipping 17 matching lines...) Expand all Loading... |
56 :alias { "te/zoneStrings/2/4" } //"PDT", | 56 :alias { "te/zoneStrings/2/4" } //"PDT", |
57 :alias { "te/zoneStrings/2/5" } //"Los Angeles", | 57 :alias { "te/zoneStrings/2/5" } //"Los Angeles", |
58 } | 58 } |
59 testAliasToTree:alias{"/ICUDATA-coll/en/collations"} | 59 testAliasToTree:alias{"/ICUDATA-coll/en/collations"} |
60 | 60 |
61 } | 61 } |
62 | 62 |
63 //eof | 63 //eof |
64 | 64 |
65 | 65 |
OLD | NEW |