buildframework/helium/sf/java/checktools/tests/src/com/nokia/helium/checktools/tests/TestOSResolver.java
changeset 628 7c4a911dc066
parent 587 85df38eb4012
--- a/buildframework/helium/sf/java/checktools/tests/src/com/nokia/helium/checktools/tests/TestOSResolver.java	Wed Jun 16 16:51:40 2010 +0300
+++ b/buildframework/helium/sf/java/checktools/tests/src/com/nokia/helium/checktools/tests/TestOSResolver.java	Fri Aug 13 14:59:05 2010 +0300
@@ -31,8 +31,9 @@
 
     /**
      * Method to test getCommand.
+     * @throws CheckToolException 
      */
-    public void testGetCommand() {
+    public void testGetCommand() throws CheckToolException {
         String result = OSResolver.getCommand("test");
         String osName = System.getProperty("os.name").toLowerCase(Locale.US);
         boolean isWindows = osName.indexOf("windows") > -1;
@@ -50,7 +51,7 @@
     /**
      * Method to test whether the given os is of Windows family or not.
      */
-    public void testIsOSWindowsFamily() {
+    public void testIsOSWindowsFamily() throws CheckToolException  {
         String osName = System.getProperty("os.name").toLowerCase(Locale.US);
         boolean isWindows = osName.indexOf("windows") > -1;
         boolean result = OSResolver.isOs("windows");
@@ -64,7 +65,7 @@
     /**
      * Method to test whether the given os is of unix family or not.
      */
-    public void testIsOSUnixFamily() {
+    public void testIsOSUnixFamily() throws CheckToolException  {
         String osName = System.getProperty("os.name").toLowerCase(Locale.US);
         String pathSeparator = System.getProperty("path.separator");
         boolean isUnix = pathSeparator.equals(":")