litesoft
Diff Revisions
150
vs
151
for /trunk/Java/core/Server/tests/org/litesoft/core/simpletypes/temporal/SimpleDateTest.java
|
@@ -119,8 +119,7 @@ |
119 |
119 |
|
chk( new SimpleDate( "MMMyy", new SimpleDate( 1957, 1, 4 ) ), "Jan57", "My", 1957, 1, 0 ); |
120 |
120 |
|
} |
121 |
121 |
|
|
122 |
|
- |
private void chk( SimpleDate pDate, String pToString, String pFieldOrder, int pYear, int pMonth, |
123 |
|
- |
int pDay ) |
|
122 |
+ |
private void chk( SimpleDate pDate, String pToString, String pFieldOrder, int pYear, int pMonth, int pDay ) |
124 |
123 |
|
{ |
125 |
124 |
|
assertEquals( pToString, pDate.toString() ); |
126 |
125 |
|
assertEquals( pFieldOrder, pDate.getFieldOrder() ); |
|
@@ -173,8 +172,7 @@ |
173 |
172 |
|
try |
174 |
173 |
|
{ |
175 |
174 |
|
sd.setYearAndMonth( pSetYear, pSetMonth ); |
176 |
|
- |
fail( "Did Not fail on '" + pDateYMD + "': setYearAndMonth( " + pSetYear + ", " + pSetMonth + |
177 |
|
- |
" )" ); |
|
175 |
+ |
fail( "Did Not fail on '" + pDateYMD + "': setYearAndMonth( " + pSetYear + ", " + pSetMonth + " )" ); |
178 |
176 |
|
} |
179 |
177 |
|
catch ( IllegalArgumentException expected ) |
180 |
178 |
|
{ |
|
@@ -205,8 +203,7 @@ |
205 |
203 |
|
try |
206 |
204 |
|
{ |
207 |
205 |
|
sd.setMonthAndDay( pSetMonth, pSetDay ); |
208 |
|
- |
fail( "Did Not fail on '" + pDateYMD + "': setMonthAndDay( " + pSetMonth + ", " + pSetDay + |
209 |
|
- |
" )" ); |
|
206 |
+ |
fail( "Did Not fail on '" + pDateYMD + "': setMonthAndDay( " + pSetMonth + ", " + pSetDay + " )" ); |
210 |
207 |
|
} |
211 |
208 |
|
catch ( IllegalArgumentException expected ) |
212 |
209 |
|
{ |