Skip to content

Commit

Permalink
Fixing compilation issues in Kernel32UtilTest
Browse files Browse the repository at this point in the history
  • Loading branch information
hakanai committed May 7, 2013
1 parent 6a06656 commit d2159d7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ public final void testWritePrivateProfileString() throws IOException {
}

public final void testGetLogicalProcessorInformation() {
WinNT.SYSTEM_LOGICAL_PROCESSOR_INFORMATION informationArray = Kernel32Util.getLogicalProcessorInformation();
assertTrue(informationArray >= 1); // docs say so
WinNT.SYSTEM_LOGICAL_PROCESSOR_INFORMATION[] informationArray = Kernel32Util.getLogicalProcessorInformation();
assertTrue(informationArray.length >= 1); // docs say so
for (WinNT.SYSTEM_LOGICAL_PROCESSOR_INFORMATION information : informationArray) {
//TODO: What can we check? Java itself has no way to get physical processor info (if it did,
// I wouldn't be writing in JNA support for it.)
Expand Down

0 comments on commit d2159d7

Please sign in to comment.