in gepard-core/src/main/java/com/epam/gepard/common/Environment.java [95:117]
public boolean setUp(final String propFiles) {
boolean isLoadedProperly = true;
if ("".equals(propFiles.trim())) {
AllTestRunner.CONSOLE_LOG.info("No property files has been loaded into Environment class.");
isLoadedProperly = false;
} else { //properties need to be loaded - it can be a comma separated list of property files
String[] strParts = propFiles.split(DELIMITER);
String propFile;
for (String strPart : strParts) {
propFile = strPart;
try {
InputStream inp = new FileInputStream(propFile);
properties.load(inp);
inp.close();
} catch (IOException e) {
AllTestRunner.CONSOLE_LOG.info("Cannot load property file: " + propFile);
isLoadedProperly = false;
}
}
}
testEnvironmentID = getProperty(Environment.TEST_ENVIRONMENT_ID);
return isLoadedProperly;
}