litesoft
Diff Revisions
150
vs
151
for /trunk/Java/core/Server/tests/org/litesoft/core/simpletypes/temporal/SimpleTimeTest.java
|
@@ -3,8 +3,7 @@ |
3 |
3 |
|
|
4 |
4 |
|
import junit.framework.*; |
5 |
5 |
|
|
6 |
|
- |
public class SimpleTimeTest |
7 |
|
- |
extends TestCase |
|
6 |
+ |
public class SimpleTimeTest extends TestCase |
8 |
7 |
|
{ |
9 |
8 |
|
public static TestSuite suite() |
10 |
9 |
|
{ |
|
@@ -547,8 +546,7 @@ |
547 |
546 |
|
chk_addMilliSecs( "12" ); |
548 |
547 |
|
} |
549 |
548 |
|
|
550 |
|
- |
private void chk_addMilliSecs( String pTimeString, int pAdjustBy, String pExpectedString, |
551 |
|
- |
int pResultDays ) |
|
549 |
+ |
private void chk_addMilliSecs( String pTimeString, int pAdjustBy, String pExpectedString, int pResultDays ) |
552 |
550 |
|
{ |
553 |
551 |
|
SimpleTime sd = SimpleTime.fromString( pTimeString ); |
554 |
552 |
|
int zResultDays = sd.addMilliSecs( pAdjustBy ); |
|
@@ -556,8 +554,7 @@ |
556 |
554 |
|
assertEquals( pResultDays, zResultDays ); |
557 |
555 |
|
} |
558 |
556 |
|
|
559 |
|
- |
private void chk_addMilliSecs( String pTimeString, int pAdjustBy, String pExpectedString, |
560 |
|
- |
String pDiffString ) |
|
557 |
+ |
private void chk_addMilliSecs( String pTimeString, int pAdjustBy, String pExpectedString, String pDiffString ) |
561 |
558 |
|
{ |
562 |
559 |
|
SimpleTime sd = SimpleTime.fromString( pTimeString ); |
563 |
560 |
|
SimpleTime sdOrig = sd.copy(); |