File tree Expand file tree Collapse file tree 2 files changed +4
-43
lines changed
main/java/com/javafullstacklibrary
test/java/com/javafullstacklibrary/frontend Expand file tree Collapse file tree 2 files changed +4
-43
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 3232import static com .javafullstacklibrary .frontend .MenuEntryTestData .MENU_ENTRIES_GUESTVIEWS ;
3333import static com .javafullstacklibrary .frontend .MenuEntryTestData .MENU_ENTRIES_BORROWERVIEWS ;
3434
35- import com .javafullstacklibrary .TestMainApp ;
35+ import com .javafullstacklibrary .MainApp ;
3636// import start controller class
3737//import com.javafullstacklibrary.frontend.guestControllers.StartViewGuestController;
3838
@@ -52,7 +52,7 @@ public class StartViewGuestControllerTest extends ApplicationTest {
5252
5353 private static final Logger logger = LoggerUtil .getFileLogger (StartViewGuestControllerTest .class , "StartViewGuestControllerTest.log" );
5454
55- private static final int SLEEP_TIME = 100 ; // milliseconds
55+ private static final int SLEEP_TIME = 10 ; // milliseconds
5656
5757 @ Test
5858 @ Order (1 )
@@ -82,9 +82,8 @@ void testBorrowerViewMenuButtons() {
8282 @ Override
8383 public void start (Stage primaryStage ) throws Exception {
8484 try {
85- //Use TestMainApp instead of manual FXML loading
86- TestMainApp testApp = new TestMainApp ();
87- testApp .start (primaryStage );
85+ MainApp mainApp = new MainApp ();
86+ mainApp .start (primaryStage );
8887 } catch (Exception e ) {
8988 e .printStackTrace ();
9089 }
You can’t perform that action at this time.
0 commit comments