From 3ccac3f774e5f18a89eb0e4734a0c3ba8aa3bc46 Mon Sep 17 00:00:00 2001 From: dbwiddis Date: Sun, 29 Nov 2015 16:41:05 -0800 Subject: [PATCH] --- .../test/com/sun/jna/platform/win32/Kernel32Test.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/platform/test/com/sun/jna/platform/win32/Kernel32Test.java b/contrib/platform/test/com/sun/jna/platform/win32/Kernel32Test.java index 409a9b11b9..abb5373a85 100644 --- a/contrib/platform/test/com/sun/jna/platform/win32/Kernel32Test.java +++ b/contrib/platform/test/com/sun/jna/platform/win32/Kernel32Test.java @@ -395,9 +395,9 @@ public void testGetSystemTimes() { long kernelTime = WinBase.FILETIME.dateToFileTime(lpKernelTime.toDate()); long userTime = WinBase.FILETIME.dateToFileTime(lpUserTime.toDate()); // All should be >= 0. kernel includes idle. - assertTrue(idle >= 0); - assertTrue(kernel >= idle); - assertTrue(user >= 0); + assertTrue(idleTime >= 0); + assertTrue(kernelTime >= idle); + assertTrue(userTime >= 0); } public void testIsWow64Process() {