Home | History | Annotate | Download | only in data
      1 /* GENERATED SOURCE. DO NOT MODIFY. */
      2 //  2016 and later: Unicode, Inc. and others.
      3 // License & terms of use: http://www.unicode.org/copyright.html#License
      4 /**
      5  *******************************************************************************
      6  * Copyright (C) 2001-2008, International Business Machines Corporation and    *
      7  * others. All Rights Reserved.                                                *
      8  *******************************************************************************
      9  */
     10 package android.icu.dev.data;
     11 import java.util.ListResourceBundle;
     12 import android.icu.testsharding.MainTestShard;
     13 
     14 @MainTestShard
     15 public class TestDataElements_testtypes extends ListResourceBundle {
     16     /**
     17      * Overrides ListResourceBundle
     18      */
     19     public final Object[][] getContents() {
     20           return  contents;
     21     }
     22 
     23     private static Object[][] contents = {
     24                 {
     25                     "binarytest",
     26                     new byte[] {
     27                         0,   1,   2,   3,   4,   5,   6,   7,   8,   9,   10,  11,  12,  13,  14,
     28                     },
     29                 },
     30                 {
     31                     "emptyarray",
     32                     new String[] {
     33                     },
     34                 },
     35                 {
     36                     "emptybin",
     37                     new byte[] {},
     38                 },
     39                 {
     40                     "emptyexplicitstring",
     41                     "",
     42                 },
     43                 {
     44                     "emptyint",
     45                     new Integer(0),
     46                 },
     47                 {
     48                     "emptyintv",
     49                     new Integer[] {
     50                     },
     51                 },
     52                 {
     53                     "emptystring",
     54                     "",
     55                 },
     56                 {
     57                     "emptytable",
     58                     new Object[][]{
     59                     },
     60                 },
     61                 {
     62                     "importtest",
     63                     new byte[] {
     64                         0,   1,   2,   3,   4,   5,   6,   7,   8,   9,   10,  11,  12,  13,  14,
     65                     },
     66                 },
     67                 {
     68                     "integerarray",
     69                     new Integer[] {
     70                         new Integer(1),
     71                         new Integer(2),
     72                         new Integer(3),
     73                         new Integer(-3),
     74                         new Integer(4),
     75                         new Integer(5),
     76                         new Integer(6),
     77                         new Integer(7),
     78                     },
     79                 },
     80                 {
     81                     "menu",
     82                     new Object[][]{
     83                         {
     84                             "file",
     85                             new Object[][]{
     86                                 {
     87                                     "exit",
     88                                     "Exit",
     89                                 },
     90                                 {
     91                                     "open",
     92                                     "Open",
     93                                 },
     94                                 {
     95                                     "save",
     96                                     "Save",
     97                                 },
     98                             },
     99                         },
    100                     },
    101                 },
    102                 {
    103                     "minusone",
    104                     new Integer(-1),
    105                 },
    106                 {
    107                     "one",
    108                     new Integer(1),
    109                 },
    110                 {
    111                     "onehundredtwentythree",
    112                     new Integer(123),
    113                 },
    114                 {
    115                     "plusone",
    116                     new Integer(1),
    117                 },
    118                 {
    119                     "string",
    120                     new String[] {
    121                     },
    122                 },
    123                 {
    124                     "stringTable",
    125                     new Object[]{
    126                         new String[] {
    127                         },
    128 
    129                     },
    130                 },
    131                 {
    132                     "test_underscores",
    133                     "test message ....",
    134                 },
    135                 {
    136                     "testescape",
    137                     "tab:\u0009 cr:\f ff:\u000C newline:\n backslash:\\" +
    138                     " quote=\\\' doubleQuote=\\\" singlequoutes=''",
    139                 },
    140                 {
    141                     "zerotest",
    142                     "abc\u0000def",
    143                 },
    144     };
    145 }
    146