_XTimeField.java (ef39d40d) _XTimeField.java (bb6af6bc)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 66 unchanged lines hidden (view full) ---

75 System.out.println("Getting "+oObj.getTime()+ " expected 11150000");
76 }
77
78 tRes.tested("setTime()", result) ;
79 }
80
81 /**
82 * Gets the current value. <p>
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 66 unchanged lines hidden (view full) ---

75 System.out.println("Getting "+oObj.getTime()+ " expected 11150000");
76 }
77
78 tRes.tested("setTime()", result) ;
79 }
80
81 /**
82 * Gets the current value. <p>
83 * Has <b> OK </b> status if no runtime exceptions occured
83 * Has <b> OK </b> status if no runtime exceptions occurred
84 */
85 public void _getTime() {
86
87 boolean result = true ;
88 oObj.getTime() ;
89
90 tRes.tested("getTime()", result) ;
91 }

--- 13 unchanged lines hidden (view full) ---

105
106 result = oObj.getMin() == 4978 ;
107
108 tRes.tested("setMin()", result) ;
109 }
110
111 /**
112 * Gets the current value. <p>
84 */
85 public void _getTime() {
86
87 boolean result = true ;
88 oObj.getTime() ;
89
90 tRes.tested("getTime()", result) ;
91 }

--- 13 unchanged lines hidden (view full) ---

105
106 result = oObj.getMin() == 4978 ;
107
108 tRes.tested("setMin()", result) ;
109 }
110
111 /**
112 * Gets the current value. <p>
113 * Has <b> OK </b> status if no runtime exceptions occured
113 * Has <b> OK </b> status if no runtime exceptions occurred
114 */
115 public void _getMin() {
116
117 boolean result = true ;
118 oObj.getMin() ;
119
120 tRes.tested("getMin()", result) ;
121 }

--- 13 unchanged lines hidden (view full) ---

135
136 result = oObj.getMax() == 27856 ;
137
138 tRes.tested("setMax()", result) ;
139 }
140
141 /**
142 * Gets the current value. <p>
114 */
115 public void _getMin() {
116
117 boolean result = true ;
118 oObj.getMin() ;
119
120 tRes.tested("getMin()", result) ;
121 }

--- 13 unchanged lines hidden (view full) ---

135
136 result = oObj.getMax() == 27856 ;
137
138 tRes.tested("setMax()", result) ;
139 }
140
141 /**
142 * Gets the current value. <p>
143 * Has <b> OK </b> status if no runtime exceptions occured
143 * Has <b> OK </b> status if no runtime exceptions occurred
144 */
145 public void _getMax() {
146
147 boolean result = true ;
148 oObj.getMax() ;
149
150 tRes.tested("getMax()", result) ;
151 }

--- 17 unchanged lines hidden (view full) ---

169 log.println("Set to " + 5118 + " but returned " + oObj.getFirst()) ;
170 }
171
172 tRes.tested("setFirst()", result) ;
173 }
174
175 /**
176 * Gets the current value. <p>
144 */
145 public void _getMax() {
146
147 boolean result = true ;
148 oObj.getMax() ;
149
150 tRes.tested("getMax()", result) ;
151 }

--- 17 unchanged lines hidden (view full) ---

169 log.println("Set to " + 5118 + " but returned " + oObj.getFirst()) ;
170 }
171
172 tRes.tested("setFirst()", result) ;
173 }
174
175 /**
176 * Gets the current value. <p>
177 * Has <b> OK </b> status if no runtime exceptions occured
177 * Has <b> OK </b> status if no runtime exceptions occurred
178 */
179 public void _getFirst() {
180
181 boolean result = true ;
182 int val = oObj.getFirst() ;
183
184 log.println("getFirst() = " + val) ;
185

--- 19 unchanged lines hidden (view full) ---

205 log.println("Set to " + 23450 + " but returned " + oObj.getLast()) ;
206 }
207
208 tRes.tested("setLast()", result) ;
209 }
210
211 /**
212 * Gets the current value. <p>
178 */
179 public void _getFirst() {
180
181 boolean result = true ;
182 int val = oObj.getFirst() ;
183
184 log.println("getFirst() = " + val) ;
185

--- 19 unchanged lines hidden (view full) ---

205 log.println("Set to " + 23450 + " but returned " + oObj.getLast()) ;
206 }
207
208 tRes.tested("setLast()", result) ;
209 }
210
211 /**
212 * Gets the current value. <p>
213 * Has <b> OK </b> status if no runtime exceptions occured
213 * Has <b> OK </b> status if no runtime exceptions occurred
214 */
215 public void _getLast() {
216
217 boolean result = true ;
218 int val = oObj.getLast() ;
219
220 log.println("getLast() = " + val) ;
221
222 tRes.tested("getLast()", result) ;
223 }
224
225 /**
226 * Sets the value to empty. <p>
214 */
215 public void _getLast() {
216
217 boolean result = true ;
218 int val = oObj.getLast() ;
219
220 log.println("getLast() = " + val) ;
221
222 tRes.tested("getLast()", result) ;
223 }
224
225 /**
226 * Sets the value to empty. <p>
227 * Has <b> OK </b> status if no runtime exceptions occured
227 * Has <b> OK </b> status if no runtime exceptions occurred
228 * The following method tests are to be completed successfully before :
229 * <ul>
230 * <li> <code> setTime </code> : value must be not empty </li>
231 * </ul>
232 */
233 public void _setEmpty() {
234 requiredMethod("setTime()") ;
235

--- 36 unchanged lines hidden (view full) ---

272
273 result = oObj.isStrictFormat() == !strict ;
274
275 tRes.tested("setStrictFormat()", result) ;
276 }
277
278 /**
279 * Gets strict state and stores it. <p>
228 * The following method tests are to be completed successfully before :
229 * <ul>
230 * <li> <code> setTime </code> : value must be not empty </li>
231 * </ul>
232 */
233 public void _setEmpty() {
234 requiredMethod("setTime()") ;
235

--- 36 unchanged lines hidden (view full) ---

272
273 result = oObj.isStrictFormat() == !strict ;
274
275 tRes.tested("setStrictFormat()", result) ;
276 }
277
278 /**
279 * Gets strict state and stores it. <p>
280 * Has <b> OK </b> status if no runtime exceptions occured.
280 * Has <b> OK </b> status if no runtime exceptions occurred.
281 */
282 public void _isStrictFormat() {
283
284 boolean result = true ;
285 strict = oObj.isStrictFormat() ;
286
287 tRes.tested("isStrictFormat()", result) ;
288 }
289}
290
291
281 */
282 public void _isStrictFormat() {
283
284 boolean result = true ;
285 strict = oObj.isStrictFormat() ;
286
287 tRes.tested("isStrictFormat()", result) ;
288 }
289}
290
291