• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2008 The Guava Authors
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 package com.google.common.base;
17 public class PreconditionsTest_gwt extends com.google.gwt.junit.client.GWTTestCase {
getModuleName()18 @Override public String getModuleName() {
19   return "com.google.common.base.testModule";
20 }
testCheckArgument_complexMessage_failure()21 public void testCheckArgument_complexMessage_failure() throws Exception {
22   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
23   testCase.testCheckArgument_complexMessage_failure();
24 }
25 
testCheckArgument_complexMessage_success()26 public void testCheckArgument_complexMessage_success() throws Exception {
27   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
28   testCase.testCheckArgument_complexMessage_success();
29 }
30 
testCheckArgument_nullMessage_failure()31 public void testCheckArgument_nullMessage_failure() throws Exception {
32   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
33   testCase.testCheckArgument_nullMessage_failure();
34 }
35 
testCheckArgument_simpleMessage_failure()36 public void testCheckArgument_simpleMessage_failure() throws Exception {
37   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
38   testCase.testCheckArgument_simpleMessage_failure();
39 }
40 
testCheckArgument_simpleMessage_success()41 public void testCheckArgument_simpleMessage_success() throws Exception {
42   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
43   testCase.testCheckArgument_simpleMessage_success();
44 }
45 
testCheckArgument_simple_failure()46 public void testCheckArgument_simple_failure() throws Exception {
47   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
48   testCase.testCheckArgument_simple_failure();
49 }
50 
testCheckArgument_simple_success()51 public void testCheckArgument_simple_success() throws Exception {
52   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
53   testCase.testCheckArgument_simple_success();
54 }
55 
testCheckElementIndex_badSize()56 public void testCheckElementIndex_badSize() throws Exception {
57   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
58   testCase.testCheckElementIndex_badSize();
59 }
60 
testCheckElementIndex_negative()61 public void testCheckElementIndex_negative() throws Exception {
62   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
63   testCase.testCheckElementIndex_negative();
64 }
65 
testCheckElementIndex_ok()66 public void testCheckElementIndex_ok() throws Exception {
67   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
68   testCase.testCheckElementIndex_ok();
69 }
70 
testCheckElementIndex_tooHigh()71 public void testCheckElementIndex_tooHigh() throws Exception {
72   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
73   testCase.testCheckElementIndex_tooHigh();
74 }
75 
testCheckElementIndex_withDesc_negative()76 public void testCheckElementIndex_withDesc_negative() throws Exception {
77   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
78   testCase.testCheckElementIndex_withDesc_negative();
79 }
80 
testCheckElementIndex_withDesc_tooHigh()81 public void testCheckElementIndex_withDesc_tooHigh() throws Exception {
82   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
83   testCase.testCheckElementIndex_withDesc_tooHigh();
84 }
85 
testCheckNotNull_complexMessage_failure()86 public void testCheckNotNull_complexMessage_failure() throws Exception {
87   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
88   testCase.testCheckNotNull_complexMessage_failure();
89 }
90 
testCheckNotNull_complexMessage_success()91 public void testCheckNotNull_complexMessage_success() throws Exception {
92   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
93   testCase.testCheckNotNull_complexMessage_success();
94 }
95 
testCheckNotNull_simpleMessage_failure()96 public void testCheckNotNull_simpleMessage_failure() throws Exception {
97   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
98   testCase.testCheckNotNull_simpleMessage_failure();
99 }
100 
testCheckNotNull_simpleMessage_success()101 public void testCheckNotNull_simpleMessage_success() throws Exception {
102   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
103   testCase.testCheckNotNull_simpleMessage_success();
104 }
105 
testCheckNotNull_simple_failure()106 public void testCheckNotNull_simple_failure() throws Exception {
107   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
108   testCase.testCheckNotNull_simple_failure();
109 }
110 
testCheckNotNull_simple_success()111 public void testCheckNotNull_simple_success() throws Exception {
112   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
113   testCase.testCheckNotNull_simple_success();
114 }
115 
testCheckPositionIndex_badSize()116 public void testCheckPositionIndex_badSize() throws Exception {
117   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
118   testCase.testCheckPositionIndex_badSize();
119 }
120 
testCheckPositionIndex_negative()121 public void testCheckPositionIndex_negative() throws Exception {
122   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
123   testCase.testCheckPositionIndex_negative();
124 }
125 
testCheckPositionIndex_ok()126 public void testCheckPositionIndex_ok() throws Exception {
127   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
128   testCase.testCheckPositionIndex_ok();
129 }
130 
testCheckPositionIndex_startNegative()131 public void testCheckPositionIndex_startNegative() throws Exception {
132   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
133   testCase.testCheckPositionIndex_startNegative();
134 }
135 
testCheckPositionIndex_tooHigh()136 public void testCheckPositionIndex_tooHigh() throws Exception {
137   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
138   testCase.testCheckPositionIndex_tooHigh();
139 }
140 
testCheckPositionIndex_withDesc_negative()141 public void testCheckPositionIndex_withDesc_negative() throws Exception {
142   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
143   testCase.testCheckPositionIndex_withDesc_negative();
144 }
145 
testCheckPositionIndex_withDesc_tooHigh()146 public void testCheckPositionIndex_withDesc_tooHigh() throws Exception {
147   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
148   testCase.testCheckPositionIndex_withDesc_tooHigh();
149 }
150 
testCheckPositionIndexes_badSize()151 public void testCheckPositionIndexes_badSize() throws Exception {
152   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
153   testCase.testCheckPositionIndexes_badSize();
154 }
155 
testCheckPositionIndexes_endTooHigh()156 public void testCheckPositionIndexes_endTooHigh() throws Exception {
157   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
158   testCase.testCheckPositionIndexes_endTooHigh();
159 }
160 
testCheckPositionIndexes_ok()161 public void testCheckPositionIndexes_ok() throws Exception {
162   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
163   testCase.testCheckPositionIndexes_ok();
164 }
165 
testCheckPositionIndexes_reversed()166 public void testCheckPositionIndexes_reversed() throws Exception {
167   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
168   testCase.testCheckPositionIndexes_reversed();
169 }
170 
testCheckState_complexMessage_failure()171 public void testCheckState_complexMessage_failure() throws Exception {
172   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
173   testCase.testCheckState_complexMessage_failure();
174 }
175 
testCheckState_complexMessage_success()176 public void testCheckState_complexMessage_success() throws Exception {
177   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
178   testCase.testCheckState_complexMessage_success();
179 }
180 
testCheckState_nullMessage_failure()181 public void testCheckState_nullMessage_failure() throws Exception {
182   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
183   testCase.testCheckState_nullMessage_failure();
184 }
185 
testCheckState_simpleMessage_failure()186 public void testCheckState_simpleMessage_failure() throws Exception {
187   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
188   testCase.testCheckState_simpleMessage_failure();
189 }
190 
testCheckState_simpleMessage_success()191 public void testCheckState_simpleMessage_success() throws Exception {
192   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
193   testCase.testCheckState_simpleMessage_success();
194 }
195 
testCheckState_simple_failure()196 public void testCheckState_simple_failure() throws Exception {
197   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
198   testCase.testCheckState_simple_failure();
199 }
200 
testCheckState_simple_success()201 public void testCheckState_simple_success() throws Exception {
202   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
203   testCase.testCheckState_simple_success();
204 }
205 
testFormat()206 public void testFormat() throws Exception {
207   com.google.common.base.PreconditionsTest testCase = new com.google.common.base.PreconditionsTest();
208   testCase.testFormat();
209 }
210 }
211