新增单元测试

master
星期八 4 years ago
parent e1c9dd0868
commit 18eb6e92e3
  1. 33
      panda-code/src/test/org/panda/code/uitl/os/JvmUtilTest.java

@ -0,0 +1,33 @@
package org.panda.code.uitl.os;
import junit.framework.TestCase;
public class JvmUtilTest extends TestCase {
public void testGetVersion() {
System.out.println(JvmUtil.getVersion());
}
public void testGetVendor() {
System.out.println(JvmUtil.getVendor());
}
public void testGetVendorUrl() {
System.out.println(JvmUtil.getVendorUrl());
}
public void testGetHome() {
System.out.println(JvmUtil.getHome());
}
public void testGetTotalMemory() {
System.out.println(JvmUtil.getTotalMemory());
}
public void testGetInfo() {
}
public void testDisplayAvailableMemory() {
}
}
Loading…
Cancel
Save