startNestedTransaction();
_projectSettings.getAllSteps().clear(); // Clear config to be able to load it again
- _projectSettings.configure(ClassLoader
- .getSystemResource("test/som.xml").getPath());
+ _projectSettings.configure("classpath:test/som.xml");
HibernateTemplate ht = getHibernateTemplate();
ht.flush();
long scenarioId = createScenario();
_projectSettings.getAllSteps().clear(); // Clear config to be able to load it again
// Load workflow customization
try {
- _projectSettings.configure(ClassLoader.getSystemResource(
- "test/som.xml").getPath());
+ _projectSettings.configure("classpath:test/som.xml");
} catch (FileNotFoundException e) {
Assert.fail("Can't find som.xml: ", e);
}
* @param title the title
* @throws InvalidParameterException if there is something wrong likely unrelated to the tested method
*/
- private void testEdit(StepCommentAttribute comment, String value, String title)
+ private void testEdit(final StepCommentAttribute comment, final String value, final String title)
throws InvalidParameterException {
String oldValue = comment.getValue();
String oldTitle = comment.getTitle();