Skip to content

Commit

Permalink
Fixed PendantUITest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Mays Jr committed Aug 15, 2014
1 parent bb0a845 commit c70f7f1
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -223,12 +223,16 @@ public void testStart() {

getResponse(url+"/sendGcode?gCode=SEND_FILE");
assertTrue(mainWindow.sendButtonActionPerformed);

systemState.setControlState(ControlState.COMM_SENDING);

getResponse(url+"/sendGcode?gCode=PAUSE_RESUME_FILE");
assertTrue(mainWindow.pauseButtonActionPerformed);

getResponse(url+"/sendGcode?gCode=CANCEL_FILE");
assertTrue(mainWindow.cancelButtonActionPerformed);

systemState.setControlState(ControlState.COMM_IDLE);

// test adjust manual location handler
String adjustManualLocationResponse = getResponse(url+"/adjustManualLocation?dirX=1&dirY=2&dirZ=3&stepSize=4.0");
Expand Down

0 comments on commit c70f7f1

Please sign in to comment.