Line | |
---|
1 | package dbnp.visualization |
---|
2 | |
---|
3 | import grails.test.* |
---|
4 | |
---|
5 | /** |
---|
6 | * VisualizeControllerTests Test |
---|
7 | * |
---|
8 | * Description of my test |
---|
9 | * |
---|
10 | * @author your email (+name?) |
---|
11 | * @since 2010mmdd |
---|
12 | * @package ??? |
---|
13 | * |
---|
14 | * Revision information: |
---|
15 | * $Rev$ |
---|
16 | * $Author$ |
---|
17 | * $Date$ |
---|
18 | */ |
---|
19 | class VisualizeControllerTests extends ControllerUnitTestCase { |
---|
20 | protected void setUp() { |
---|
21 | super.setUp() |
---|
22 | } |
---|
23 | |
---|
24 | protected void tearDown() { |
---|
25 | super.tearDown() |
---|
26 | } |
---|
27 | |
---|
28 | void testGetStudies() { |
---|
29 | assert 1 == 1 |
---|
30 | } |
---|
31 | |
---|
32 | void testGetFields() { |
---|
33 | assert 1 == 1 |
---|
34 | } |
---|
35 | |
---|
36 | void testGetData() { |
---|
37 | // Create a fake study |
---|
38 | |
---|
39 | // Set controller parameters |
---|
40 | controller.params.study = 1; |
---|
41 | controller.params.fields = [ "row": 4, "columns": 6 ]; |
---|
42 | |
---|
43 | // Run controller method |
---|
44 | //controller.getData() |
---|
45 | //assertEquals "...", controller.response.contentAsString |
---|
46 | assert 1 == 1; |
---|
47 | } |
---|
48 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.