From 1d26f8aef55072099500d3900bdef291f92e5658 Mon Sep 17 00:00:00 2001 From: Motonori IWAMURO Date: Tue, 24 Jun 2014 08:12:23 +0900 Subject: [PATCH] fix a bug for issue #122. --- src/main/java/jp/vmi/selenium/selenese/TestSuite.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/jp/vmi/selenium/selenese/TestSuite.java b/src/main/java/jp/vmi/selenium/selenese/TestSuite.java index a15eb3743..a39f2eee2 100644 --- a/src/main/java/jp/vmi/selenium/selenese/TestSuite.java +++ b/src/main/java/jp/vmi/selenium/selenese/TestSuite.java @@ -82,6 +82,7 @@ public void addSelenese(Selenese selenese) { * @param commandFactory command factory. */ public void addSeleneseFile(String filename, ICommandFactory commandFactory) { + filename = PathUtils.normalizeSeparator(filename); if (FilenameUtils.getPrefixLength(filename) == 0 && parentDir != null) filename = FilenameUtils.concat(parentDir, filename); addSelenese(Parser.parse(filename, commandFactory));