BakeoutController  0.1
A Controller for the Omicron vacuum chamber
UserInterfaceTestCase.java
1 package unit.ui;
2 
3 import javafx.stage.Stage;
4 import org.springframework.context.ApplicationContext;
5 import org.springframework.context.annotation.AnnotationConfigApplicationContext;
7 import unit.UnitTestCase;
8 
12 public abstract class UserInterfaceTestCase extends UnitTestCase {
13  protected static final ApplicationContext applicationContext =
14  new AnnotationConfigApplicationContext(TestingConfiguration.class);
15 
16  protected static volatile UserInterfaceLauncher application = new
17  UserInterfaceLauncher(applicationContext);
18 
19  @Override public void start(Stage stage) throws Exception {
20  application.start(stage);
21  }
22 }
Git Repo