File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
src/test/java/com/openfin/desktop Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -63,6 +63,15 @@ public void launchFromConfig() throws Exception {
6363 TestUtils .teardownDesktopConnection (conn );
6464 }
6565
66+ @ Test
67+ public void launchFromRemoteConfig () throws Exception {
68+ RuntimeConfiguration configuration = new RuntimeConfiguration ();
69+ configuration .setManifestLocation (TestUtils .hello_app_manifest_url );
70+ DesktopConnection conn = TestUtils .setupConnection (DESKTOP_UUID , configuration );
71+ assertTrue (isWindowCreated ("OpenFinHelloWorld" , conn ));
72+ TestUtils .teardownDesktopConnection (conn );
73+ }
74+
6675 private boolean isWindowCreated (String uuid , DesktopConnection conn ) throws Exception {
6776 CountDownLatch latch = new CountDownLatch (1 );
6877 AtomicReference <Boolean > atomicReference = new AtomicReference <>();
Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ public class TestUtils {
2727 private static String runtimeVersion ;
2828 private static CountDownLatch disconnectedLatch ;
2929 public static final String openfin_app_url = "https://cdn.openfin.co/examples/junit/SimpleOpenFinApp.html" ; // source is in release/SimpleOpenFinApp.html
30- public static final String icon_url = "http://demoappdirectory.openf.in/desktop/config/apps/OpenFin/HelloOpenFin/img/openfin.ico" ;
30+ public static final String icon_url = "https://cdn.openfin.co/demos/hello/img/openfin.ico" ;
31+ public static final String hello_app_manifest_url = "https://cdn.openfin.co/demos/hello/app.json" ;
3132
3233 static {
3334 runtimeVersion = java .lang .System .getProperty ("com.openfin.test.runtime.version" );
You can’t perform that action at this time.
0 commit comments