01: /**
02: *******************************************************************************
03: * Copyright (C) 2001-2004, International Business Machines Corporation and *
04: * others. All Rights Reserved. *
05: *******************************************************************************
06: */package com.ibm.icu.dev.data;
07:
08: import com.ibm.icu.impl.ICUListResourceBundle;
09:
10: public class TestDataElements_testtypes extends ICUListResourceBundle {
11:
12: public TestDataElements_testtypes() {
13: super .contents = data;
14: }
15:
16: private static Object[][] data = new Object[][] {
17: {
18: "binarytest",
19: new ICUListResourceBundle.CompressedBinary(
20: "\u0000\u000F\u0001\u0203\u0405\u0607\u0809\u0A0B"
21: + "\u0C0D\u0E00"), },
22: { "emptyarray", new String[] {}, },
23: { "emptybin",
24: new ICUListResourceBundle.CompressedBinary(null), },
25: { "emptyexplicitstring", "", },
26: { "emptyint", new Integer(0), },
27: { "emptyintv", new Integer[] {}, },
28: { "emptystring", "", },
29: { "emptytable", new Object[][] {}, },
30: {
31: "importtest",
32: new ICUListResourceBundle.CompressedBinary(
33: "\u0000\u000F\u0001\u0203\u0405\u0607\u0809\u0A0B"
34: + "\u0C0D\u0E00"), },
35: {
36: "integerarray",
37: new Integer[] { new Integer(1), new Integer(2),
38: new Integer(3), new Integer(-3),
39: new Integer(4), new Integer(5),
40: new Integer(6), new Integer(7), }, },
41: {
42: "menu",
43: new Object[][] { {
44: "file",
45: new Object[][] { { "exit", "Exit", },
46: { "open", "Open", },
47: { "save", "Save", }, }, }, }, },
48: { "minusone", new Integer(-1), },
49: { "one", new Integer(1), },
50: { "onehundredtwentythree", new Integer(123), },
51: { "plusone", new Integer(1), },
52: { "string", new String[] {}, },
53: { "stringTable", new Object[] { new String[] {},
54:
55: }, },
56: { "test_underscores", "test message ....", },
57: {
58: "testescape",
59: "tab:\u0009 cr:\f ff:\u000C newline:\n backslash:\\"
60: + " quote=\\\' doubleQuote=\\\" singlequoutes=''", },
61: { "zerotest", "abc\u0000def", }, };
62: }
|