Пример #1
0
 /** Stops an application. */
 public static void stop(FakeApplication fakeApplication) {
   play.api.Play.stop();
 }
Пример #2
0
 /** Returns `true` if the current application is `DEV` mode. */
 private static boolean isDev() {
   return play.api.Play.isDev(play.api.Play.current());
 }
Пример #3
0
  /** Starts a new application. */
  public static void start(FakeApplication fakeApplication) {

    play.api.Play.start(fakeApplication.getWrappedApplication());
  }
Пример #4
0
 /** Stops an application. */
 public static void stop(Application application) {
   play.api.Play.stop(application.getWrappedApplication());
 }