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

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