Mercurial > hg > Members > nobuyasu > TOModel
view test/ApplicationTest.java @ 1:40817399e21f draft
add files for eclipse
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 18 Sep 2012 04:38:31 +0900 |
parents | e45bf6020b0d |
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); } }