diff --git a/graphwalker-java/src/main/java/org/graphwalker/java/test/TestExecutor.java b/graphwalker-java/src/main/java/org/graphwalker/java/test/TestExecutor.java index 8bde1e028..3cfff7152 100644 --- a/graphwalker-java/src/main/java/org/graphwalker/java/test/TestExecutor.java +++ b/graphwalker-java/src/main/java/org/graphwalker/java/test/TestExecutor.java @@ -185,7 +185,7 @@ private void configureContext(Context context) throws IOException { } else { for (Context examineContext : contexts) { try { - if (Class.forName(path.getParent().toString().replace('/', '.') + "." + examineContext.getModel().getName()).isAssignableFrom(context.getClass())) { + if (Class.forName(path.getParent().toString().replace(File.separatorChar, '.') + "." + examineContext.getModel().getName()).isAssignableFrom(context.getClass())) { context.setModel(examineContext.getModel()); context.setNextElement(examineContext.getNextElement());