buildframework/helium/sf/java/checktools/src/com/nokia/helium/checktools/CheckEngine.java
changeset 628 7c4a911dc066
parent 587 85df38eb4012
equal deleted inserted replaced
588:c7c26511138f 628:7c4a911dc066
    44     }
    44     }
    45 
    45 
    46     /**
    46     /**
    47      * Method verifies Ant version.
    47      * Method verifies Ant version.
    48      */
    48      */
    49     public void verifyAntVersion() {
    49     public void verifyAntVersion() throws CheckToolException {
    50         String expVersion = configuration.getProperty("ant.version");
    50         String expVersion = configuration.getProperty("ant.version");
    51         String errorMsg = "Supported Ant version is not defined in 'helium.basic.tools.config' file under helium config folder.";
    51         String errorMsg = "Supported Ant version is not defined in 'helium.basic.tools.config' file under helium config folder.";
    52         verifyIsExpectedToolVersionConfigured(expVersion, errorMsg);
    52         verifyIsExpectedToolVersionConfigured(expVersion, errorMsg);
    53         errorMsg = "Ant " + expVersion
    53         errorMsg = "Ant " + expVersion
    54                 + " not found. Kindly install and run again.";
    54                 + " not found. Kindly install and run again.";
    57     }
    57     }
    58 
    58 
    59     /**
    59     /**
    60      * Method verifies Python version.
    60      * Method verifies Python version.
    61      */
    61      */
    62     public void verifyPythonVersion() {
    62     public void verifyPythonVersion() throws CheckToolException {
    63         String expVersion = configuration.getProperty("python.version");
    63         String expVersion = configuration.getProperty("python.version");
    64         String errorMsg = "Supported Python version is not defined in 'helium.basic.tools.config' file under helium config folder.";
    64         String errorMsg = "Supported Python version is not defined in 'helium.basic.tools.config' file under helium config folder.";
    65         verifyIsExpectedToolVersionConfigured(expVersion, errorMsg);
    65         verifyIsExpectedToolVersionConfigured(expVersion, errorMsg);
    66 
    66 
    67         errorMsg = "Python " + expVersion
    67         errorMsg = "Python " + expVersion