@@ -0,0 +1,997 @@
+package tests;%0A%0Aimport static org.junit.Assert.assertEquals;%0A%0Aimport org.junit.Test;%0A%0Aimport util.PlatformSpecific;%0Aimport util.PlatformSpecific.Architecture;%0A%0Apublic class PlatformSpecificTests %7B%0A%0A    @Test%0A    public void testStringToArchitectureEnum() %7B%0A        assertEquals(Architecture.X86_64,%0A                     PlatformSpecific.getArchitectureFromString(%22blah x86_64 blah%22));%0A        assertEquals(Architecture.I386,%0A                     PlatformSpecific.getArchitectureFromString(%22blah i386 blah%22));%0A        assertEquals(Architecture.I686,%0A                     PlatformSpecific.getArchitectureFromString(%22blah i686 blah%22));%0A        assertEquals(Architecture.UNKNOWN,%0A                     PlatformSpecific.getArchitectureFromString(%22blah blah blah%22));%0A        assertEquals(Architecture.UNKNOWN,%0A                     PlatformSpecific.getArchitectureFromString(%22%22));%0A        assertEquals(Architecture.UNKNOWN,%0A                     PlatformSpecific.getArchitectureFromString(null));%0A    %7D%0A%0A%7D%0A

Add test for converting architecture's string description to Architecture enum