From 11a18f86f312944b35b08d209b2fa2259b447b4f Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Tue, 2 Nov 2004 23:17:37 +0000 Subject: [PATCH] test Idle --- bindings/java/src/net/hyperic/sigar/test/TestCpu.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bindings/java/src/net/hyperic/sigar/test/TestCpu.java b/bindings/java/src/net/hyperic/sigar/test/TestCpu.java index 4ebbcbdf..1d33b2b6 100644 --- a/bindings/java/src/net/hyperic/sigar/test/TestCpu.java +++ b/bindings/java/src/net/hyperic/sigar/test/TestCpu.java @@ -18,6 +18,9 @@ public class TestCpu extends SigarTestCase { traceln("Sys=" + cpu.getSys()); assertTrue(cpu.getSys() >= 0); + traceln("Idle=" + cpu.getIdle()); + assertTrue(cpu.getIdle() >= 0); + traceln("Total=" + cpu.getTotal()); assertTrue(cpu.getTotal() >= 0); }