if (!isCorrectTestPlatform("testRegistry")) {
return;
}
WindowsNativeSystemInfo platform = (WindowsNativeSystemInfo) SystemInfoFactory.createSystemInfo();
Root root = RegistryEntry.Root.HKEY_LOCAL_MACHINE;
String baseKey = "SOFTWARE\\Microsoft";
List<String> keys = platform.getRegistryChildKeys(root, baseKey);
System.out.println("Child registry keys of: " + keys);
assert keys.size() > 0;