1234567891011121314151617 |
- 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);
- }
-
- }
|