Remove hardcoded path from ViewLoaderTests

This commit is contained in:
Chris Beams 2014-11-25 01:56:43 +01:00
parent 50046b6adc
commit 63b7e254d7
No known key found for this signature in database
GPG key ID: 3D214F8F5BC5ED73

View file

@ -88,13 +88,6 @@ public class ViewLoaderTests {
new FxmlViewLoader(viewFactory, resourceBundle).load(uri);
}
@Test
public void loadingValidFxmlResourceShouldNotThrow() throws MalformedURLException {
String path = "/Users/cbeams/Desktop/bitsquare/bitsquare/build/resources/main/" +
"io/bitsquare/gui/main/account/AccountView.fxml";
new FxmlViewLoader(viewFactory, resourceBundle).load(new File(path).toURI().toURL());
}
@Test
public void loadingFromValidFxmlViewClassShouldNotThrow() {
new FxmlViewLoader(viewFactory, resourceBundle).load(FundsView.class);