From 18eb6e92e3128e46f156bb55d6c46aacafedd837 Mon Sep 17 00:00:00 2001 From: qi Date: Thu, 6 Aug 2020 14:25:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=8D=95=E5=85=83=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/panda/code/uitl/os/JvmUtilTest.java | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 panda-code/src/test/org/panda/code/uitl/os/JvmUtilTest.java diff --git a/panda-code/src/test/org/panda/code/uitl/os/JvmUtilTest.java b/panda-code/src/test/org/panda/code/uitl/os/JvmUtilTest.java new file mode 100644 index 0000000..3e0c206 --- /dev/null +++ b/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() { + } +} \ No newline at end of file