@Test public void testCheckTestSuiteOk() throws Exception { CommonInitializingServiceImpl.checkConfiguration(new TestSuiteExampleBuilder().buildExample()); }
static void checkConfiguration(TestSuite testSuite) throws SakuliInitException { if (StringUtils.isBlank(testSuite.getId())) { throw new SakuliInitException(String.format( "The property '%s' have not been set. Please check your '%s' file", TestSuiteProperties.SUITE_ID, TestSuiteProperties.TEST_SUITE_PROPERTIES_FILE_NAME)); } }
CommonInitializingServiceImpl implements InitializingService { static void checkConfiguration(TestSuite testSuite) throws SakuliInitException { if (StringUtils.isBlank(testSuite.getId())) { throw new SakuliInitException(String.format( "The property '%s' have not been set. Please check your '%s' file", TestSuiteProperties.SUITE_ID, TestSuiteProperties.TEST_SUITE_PROPERTIES_FILE_NAME)); } } }
CommonInitializingServiceImpl implements InitializingService { static void checkConfiguration(TestSuite testSuite) throws SakuliInitException { if (StringUtils.isBlank(testSuite.getId())) { throw new SakuliInitException(String.format( "The property '%s' have not been set. Please check your '%s' file", TestSuiteProperties.SUITE_ID, TestSuiteProperties.TEST_SUITE_PROPERTIES_FILE_NAME)); } }  }
CommonInitializingServiceImpl implements InitializingService { static void checkConfiguration(TestSuite testSuite) throws SakuliInitException { if (StringUtils.isBlank(testSuite.getId())) { throw new SakuliInitException(String.format( "The property '%s' have not been set. Please check your '%s' file", TestSuiteProperties.SUITE_ID, TestSuiteProperties.TEST_SUITE_PROPERTIES_FILE_NAME)); } }  @Override int getServicePriority(); @Override void initTestSuite(); }
CommonInitializingServiceImpl implements InitializingService { static void checkConfiguration(TestSuite testSuite) throws SakuliInitException { if (StringUtils.isBlank(testSuite.getId())) { throw new SakuliInitException(String.format( "The property '%s' have not been set. Please check your '%s' file", TestSuiteProperties.SUITE_ID, TestSuiteProperties.TEST_SUITE_PROPERTIES_FILE_NAME)); } }  @Override int getServicePriority(); @Override void initTestSuite();  }