> +      assertOS("Ubuntu 10.04 LTS", OsFamily.UBUNTU, "10.04", true);
> +      assertOS("Ubuntu 12.04 LTS", OsFamily.UBUNTU, "12.04", true);
> +      assertOS("Windows Server 2008 R2 Standard", OsFamily.WINDOWS, "2008 R2 
> Standard", true);
> +      assertOS("Windows Server 2008 R2 Standard SP1 with SQL Server 2008 R2 
> Web Edition", OsFamily.WINDOWS,
> +            "2008 R2 Standard SP1 with SQL Server 2008 R2 Web Edition", 
> true);
> +      assertOS("Windows Server 2012 Standard", OsFamily.WINDOWS, "2012 
> Standard", true);
> +      assertOS("Windows Web Server 2008 R2", OsFamily.WINDOWS, "2008 R2", 
> true);
> +      assertOS("Windows Web Server 2008 R2 SP1 with SQL Server 2008 R2 Web 
> Edition", OsFamily.WINDOWS,
> +            "2008 R2 SP1 with SQL Server 2008 R2 Web Edition", true);
> +   }
> +
> +   private void assertOS(String name, OsFamily expectedFamily, String 
> expectedVersion, boolean expectedIs64bit) {
> +      StandardDrive drive = standardDrive(name);
> +      WellKnownImage image = function.apply(drive);
> +
> +      assertEquals(image.getOsFamily(), expectedFamily, 
> String.format("Parsing family for [%s]:", name));

Ah, OK...thanks for explaining!

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/362/files#r13053363

Reply via email to