001: /**
002: *******************************************************************************
003: * Copyright (C) 1996-2004, International Business Machines Corporation and *
004: * others. All Rights Reserved. *
005: *******************************************************************************
006: */package com.ibm.icu.dev.data;
007:
008: import com.ibm.icu.impl.ICUListResourceBundle;
009:
010: public class TestDataElements_testaliases extends ICUListResourceBundle {
011:
012: public TestDataElements_testaliases() {
013: super .contents = data;
014: }
015:
016: static final Object[][] data = new Object[][] {
017: { "collations",
018: new ICUListResourceBundle.Alias("/ICUDATA/uk"), },
019: // Circular aliases test moved to TestCircularAliases
020: // {
021: // "aaa",
022: // new ICUListResourceBundle.Alias("testaliases/aab"),
023: // },
024: // {
025: // "aab",
026: // new ICUListResourceBundle.Alias("testaliases/aaa"),
027: // },
028: {
029: "anotheralias",
030: new ICUListResourceBundle.Alias(
031: "/ICUDATA/uk/collations/standard"), },
032: // Moved to TestNonExisting
033: // {
034: // "nonexisting",
035: // new ICUListResourceBundle.Alias("/ICUDATA/uk"),
036: // },
037: {
038: "referencingalias",
039: new ICUListResourceBundle.Alias(
040: "testaliases/anotheralias/Sequence"), },
041: {
042: "simplealias",
043: new ICUListResourceBundle.Alias(
044: "testtypes/menu/file/open"), },
045: {
046: "testGetStringByIndexAliasing",
047: new Object[] {
048: new ICUListResourceBundle.Alias(
049: "/ICUDATA/en/zoneStrings/0/0"),
050: new ICUListResourceBundle.Alias(
051: "/ICUDATA/en/zoneStrings/0/1"),
052: new ICUListResourceBundle.Alias(
053: "/ICUDATA/en/zoneStrings/0/4"),
054: new ICUListResourceBundle.Alias(
055: "/ICUDATA/en/zoneStrings/0/5"),
056:
057: }, },
058: {
059: "testGetStringByKeyAliasing",
060: new Object[][] {
061: {
062: "KeyAlias0PST",
063: new ICUListResourceBundle.Alias(
064: "/ICUDATA/en/zoneStrings/0/0"), },
065: {
066: "KeyAlias1PacificStandardTime",
067: new ICUListResourceBundle.Alias(
068: "/ICUDATA/en/zoneStrings/0/1"), },
069: {
070: "KeyAlias2PDT",
071: new ICUListResourceBundle.Alias(
072: "/ICUDATA/en/zoneStrings/0/4"), },
073: {
074: "KeyAlias3LosAngeles",
075: new ICUListResourceBundle.Alias(
076: "/ICUDATA/en/zoneStrings/0/5"), }, }, },
077: {
078: "zoneStrings",
079: new Object[] {
080: new ICUListResourceBundle.Alias(
081: "/ICUDATA/en"),
082: new ICUListResourceBundle.Alias(
083: "/ICUDATA/en"),
084:
085: }, },
086: {
087: "zoneTests",
088: new Object[][] {
089: {
090: "zoneAlias",
091: new ICUListResourceBundle.Alias(
092: "/ICUDATA/en/zoneStrings"), },
093: {
094: "zoneAlias1",
095: new ICUListResourceBundle.Alias(
096: "/ICUDATA/en/zoneStrings/3"), },
097: {
098: "zoneAlias2",
099: new ICUListResourceBundle.Alias(
100: "/ICUDATA/en/zoneStrings/3/0"), }, }, }, };
101: }
|