Mercurial > hg > Members > nobuyasu > TOModel
view test/ApplicationTest.java @ 0:e45bf6020b0d draft
add play files
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 18 Sep 2012 04:36:47 +0900 |
parents | |
children | 5a097a2336fa |
line wrap: on
line source
import org.junit.*; import play.test.*; import play.mvc.*; import play.mvc.Http.*; import models.*; public class ApplicationTest extends FunctionalTest { @Test public void testThatIndexPageWorks() { Response response = GET("/"); assertIsOk(response); assertContentType("text/html", response); assertCharset(play.Play.defaultWebEncoding, response); } }