Skip to content

Commit ab56a4b

Browse files
authored
Update UiApplicationTests.java
1 parent 61f021c commit ab56a4b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

forsrc-springboot-gwt-ui/src/test/java/com/forsrc/boot/ui/gwt/UiApplicationTests.java

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,13 @@ public class UiApplicationTests {
1212
@Test
1313
public void contextLoads() {
1414
}
15-
15+
/*
16+
public static void main(String[] args) throws Exception {
17+
SpringApplication application = new SpringApplication(AutoDeployBatch.class);
18+
application.setWebEnvironment(false);
19+
ApplicationContext context = application.run();
20+
// X x = context.getBean(X.class);
21+
SpringApplication.exit(context);
22+
}
23+
*/
1624
}

0 commit comments

Comments
 (0)