2
我試圖遵循http://www.playframework.com/documentation/2.1.0/JavaGuide6打2.1教程,但我卡在這行代碼DrawerTest找不到符號變量儀表盤
@Test
public void newProject() throws Exception {
drawer.group("Personal").newProject();
dashboard.await().until(drawer.group("Personal").hasProject("New project"));
dashboard.await().until(drawer.group("Personal").project("New project").isInEdit());
}
我把這個代碼在測試/視圖/ DrawerTest.java但我得到了運行測試時出現這個錯誤:
zentasks/test/views/DrawerTest.java:32: cannot find symbol
[error] symbol : variable dashboard
[error] location: class views.DrawerTest
[error] dashboard.await().until(drawer.group("Personal").hasProject("New project"));
請幫幫我。 感謝