예제 #1
0
파일: Main.java 프로젝트: ebottabi/mangooio
 public static void main(String[] args) {
   System.setProperty("application.mode", Mode.DEV.toString());
   Application.main(null);
 }
예제 #2
0
 MangooTestInstance() {
   System.setProperty(Key.APPLICATION_MODE.toString(), Mode.TEST.toString());
   Application.main(null);
   this.fakeSMTP = Application.getFakeSMTP();
   this.injector = Application.getInjector();
 }
예제 #3
0
  private Form getNewForm() {
    Form form = Application.getInstance(Form.class);
    form.setSubmitted(true);

    return form;
  }