We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13fadd1 commit c4e3d40Copy full SHA for c4e3d40
contrib/platform/test/com/sun/jna/platform/win32/Kernel32Test.java
@@ -378,6 +378,14 @@ public void testGetTickCount() throws InterruptedException {
378
assertTrue(tick2 > tick1 || tick3 > tick2);
379
}
380
381
+ public void testGetTickCount64() throws InterruptedException {
382
+ long tick1 = Kernel32.INSTANCE.GetTickCount64();
383
+ Thread.sleep(10);
384
+ long tick2 = Kernel32.INSTANCE.GetTickCount64();
385
+
386
+ assertTrue(tick2 > tick1);
387
+ }
388
389
public void testGetVersion() {
390
DWORD version = Kernel32.INSTANCE.GetVersion();
391
assertTrue("Version high should be non-zero: 0x" + Integer.toHexString(version.getHigh().intValue()), version.getHigh().intValue() != 0);
0 commit comments