@@ -39,11 +39,11 @@ public static void teardown() throws Exception {
3939 @ Test
4040 public void runAndClose () throws Exception {
4141 logger .debug ("runAndClose" );
42- ApplicationOptions options = TestUtils .getAppOptions ();
42+ ApplicationOptions options = TestUtils .getAppOptions (null );
4343 Application application = TestUtils .runApplication (options , desktopConnection );
4444
45- // duplciate UUID is not allowed
46- ApplicationOptions options2 = TestUtils .getAppOptions (options .getUUID ());
45+ // duplicate UUID is not allowed
46+ ApplicationOptions options2 = TestUtils .getAppOptions (options .getUUID (), null );
4747 CountDownLatch dupLatch = new CountDownLatch (1 );
4848 Application application2 = new Application (options2 , desktopConnection , new AckListener () {
4949 @ Override
@@ -65,7 +65,7 @@ public void onError(Ack ack) {
6565 @ Test
6666 public void runAndTerminate () throws Exception {
6767 logger .debug ("runAndTerminate" );
68- ApplicationOptions options = TestUtils .getAppOptions ();
68+ ApplicationOptions options = TestUtils .getAppOptions (null );
6969 Application application = TestUtils .createApplication (options , desktopConnection );
7070
7171 CountDownLatch stoppedLatch = new CountDownLatch (1 );
@@ -87,7 +87,7 @@ public void eventReceived(ActionEvent actionEvent) {
8787 @ Test
8888 public void getApplicationManifest () throws Exception {
8989 logger .debug ("getApplicationManifest" );
90- ApplicationOptions options = TestUtils .getAppOptions ();
90+ ApplicationOptions options = TestUtils .getAppOptions (null );
9191 Application application = TestUtils .runApplication (options , desktopConnection );
9292 CountDownLatch latch = new CountDownLatch (1 );
9393 application .getManifest (new AckListener () {
@@ -110,7 +110,7 @@ public void onError(Ack ack) {
110110 @ Ignore ("restart does not fire started event. need to take a look later" )
111111 @ Test
112112 public void restartApplication () throws Exception {
113- ApplicationOptions options = TestUtils .getAppOptions ();
113+ ApplicationOptions options = TestUtils .getAppOptions (null );
114114 Application application = TestUtils .runApplication (options , desktopConnection );
115115 CountDownLatch latch = new CountDownLatch (1 );
116116 TestUtils .addEventListener (application , "started" , actionEvent -> {
@@ -125,7 +125,7 @@ public void restartApplication() throws Exception {
125125
126126 @ Test
127127 public void runReqestedEventListeners () throws Exception {
128- ApplicationOptions options = TestUtils .getAppOptions ();
128+ ApplicationOptions options = TestUtils .getAppOptions (null );
129129 Application application = TestUtils .createApplication (options , desktopConnection );
130130 CountDownLatch latch = new CountDownLatch (1 );
131131 TestUtils .addEventListener (application , "run-requested" , actionEvent -> {
@@ -144,7 +144,7 @@ public void runReqestedEventListeners() throws Exception {
144144
145145 @ Test
146146 public void createChildWindow () throws Exception {
147- Application application = TestUtils .runApplication (TestUtils .getAppOptions (), desktopConnection );
147+ Application application = TestUtils .runApplication (TestUtils .getAppOptions (null ), desktopConnection );
148148 WindowOptions childOptions = TestUtils .getWindowOptions ("child1" , TestUtils .openfin_app_url ); // use same URL as main app
149149 Window childWindow = TestUtils .createChildWindow (application , childOptions , desktopConnection );
150150 TestUtils .closeApplication (application );
0 commit comments