public static void testParseSystemCapabilities() throws Exception { Workspace ws = Workspace.getWorkspace(new File("src/test/ws")); Project project = ws.getProject("p1"); ProjectLauncherImpl launcher = new ProjectLauncherImpl(project); launcher.prepare(); String systemCaps = launcher.getSystemCapabilities(); assertEquals( "osgi.native;osgi.native.osname:List<String>=\"Win7,Windows7,Windows 7\";osgi.native.osversion:Version=6.1", systemCaps); }