001: /*
002: * Copyright 2007 Google Inc.
003: *
004: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
005: * use this file except in compliance with the License. You may obtain a copy of
006: * the License at
007: *
008: * http://www.apache.org/licenses/LICENSE-2.0
009: *
010: * Unless required by applicable law or agreed to in writing, software
011: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
012: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
013: * License for the specific language governing permissions and limitations under
014: * the License.
015: */
016: package com.google.gwt.i18n.client;
017:
018: import java.util.Map;
019:
020: /**
021: * Interface to represent the contents of resourcePattern bundle
022: * com/google/gwt/i18n/client/TestConstants.properties.
023: */
024: public interface TestConstants extends
025: com.google.gwt.i18n.client.Constants {
026:
027: /**
028: * @gwt.key string
029: */
030: String getString();
031:
032: String stringTrimsLeadingWhitespace();
033:
034: String stringDoesNotTrimTrailingThreeSpaces();
035:
036: String stringEmpty();
037:
038: String stringJapaneseRed();
039:
040: String stringJapaneseGreen();
041:
042: String stringJapaneseBlue();
043:
044: int intZero();
045:
046: int intOne();
047:
048: int intNegOne();
049:
050: int intMax();
051:
052: int intMin();
053:
054: float floatPi();
055:
056: float floatZero();
057:
058: float floatOne();
059:
060: float floatNegOne();
061:
062: float floatPosMax();
063:
064: float floatPosMin();
065:
066: float floatNegMax();
067:
068: float floatNegMin();
069:
070: double doublePi();
071:
072: double doubleZero();
073:
074: double doubleOne();
075:
076: double doubleNegOne();
077:
078: double doublePosMax();
079:
080: double doublePosMin();
081:
082: double doubleNegMax();
083:
084: double doubleNegMin();
085:
086: String[] stringArrayABCDEFG();
087:
088: String[] stringArraySizeOneEmptyString();
089:
090: String[] stringArraySizeOneX();
091:
092: String[] stringArraySizeTwoBothEmpty();
093:
094: String[] stringArraySizeThreeAllEmpty();
095:
096: String[] stringArraySizeTwoWithEscapedComma();
097:
098: String[] stringArraySizeOneWithBackslashX();
099:
100: String[] stringArraySizeThreeWithDoubleBackslash();
101:
102: boolean booleanFalse();
103:
104: boolean booleanTrue();
105:
106: Map mapABCD();
107:
108: Map mapDCBA();
109:
110: Map mapBACD();
111:
112: Map mapBBB();
113:
114: Map mapXYZ();
115:
116: // uncomment for desk tests
117: // Map mapWithMissingKey();
118:
119: // uncomment for desk tests
120: // Map mapEmpty();
121: }
|