diff options
Diffstat (limited to 'BKUCommonGUI/src/test/java/at/gv')
-rw-r--r-- | BKUCommonGUI/src/test/java/at/gv/egiz/bku/gui/SecureViewerDialogTest.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/BKUCommonGUI/src/test/java/at/gv/egiz/bku/gui/SecureViewerDialogTest.java b/BKUCommonGUI/src/test/java/at/gv/egiz/bku/gui/SecureViewerDialogTest.java index b927aecd..dde71390 100644 --- a/BKUCommonGUI/src/test/java/at/gv/egiz/bku/gui/SecureViewerDialogTest.java +++ b/BKUCommonGUI/src/test/java/at/gv/egiz/bku/gui/SecureViewerDialogTest.java @@ -12,6 +12,7 @@ import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.UnsupportedEncodingException; +import java.net.URL; import java.util.ResourceBundle; import org.junit.After; import org.junit.AfterClass; @@ -32,8 +33,9 @@ public class SecureViewerDialogTest { @BeforeClass public static void setUpClass() throws Exception { + URL baseURL = new URL("../help"); messages = ResourceBundle.getBundle("at/gv/egiz/bku/gui/Messages"); - secureViewer = new SecureViewerDialog(null, messages,null, null, new DummyFontLoader(), new HelpListener("../help", messages.getLocale()), 1f); + secureViewer = new SecureViewerDialog(null, messages,null, null, new DummyFontLoader(), new HelpListener(baseURL, messages.getLocale()), 1f); } @AfterClass |