trace start_time in Date format

This commit is contained in:
Doug MacEachern 2005-02-09 07:05:43 +00:00
parent 06abd079e8
commit a4a38b0725
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,7 @@
package net.hyperic.sigar.test;
import java.util.Date;
import net.hyperic.sigar.Sigar;
import net.hyperic.sigar.SigarException;
import net.hyperic.sigar.ProcTime;
@ -21,6 +23,7 @@ public class TestProcTime extends SigarTestCase {
ProcTime procTime = sigar.getProcTime(sigar.getPid());
assertGtEqZeroTrace("StartTime", procTime.getStartTime());
traceln("StartDate=" + new Date(procTime.getStartTime()));
//XXX
//assertTrue(procTime.getStartTime() < System.currentTimeMillis());