Commit Graph

16 Commits

Author SHA1 Message Date
Marcus Whybrow
d647990e86 Updated test.sh to not set the group of the test conf file. 2012-06-06 01:11:56 +01:00
Marcus Whybrow
10e1c77a6f Updated test.sh to only chown the user and not the group of the test directory. 2012-06-06 01:08:42 +01:00
Marcus Whybrow
787765b95f Added tests for renaming stopped servers. 2012-06-05 22:38:21 +01:00
Marcus Whybrow
45b05bcffc Added a test for deleting an existing server. 2012-06-05 21:27:42 +01:00
Marcus Whybrow
67e73f2b4e Added helper functions which set variables for script tests. 2012-06-05 21:08:23 +01:00
Marcus Whybrow
c79efe0abd Added explanatory exit codes to the script.
These codes are used by `test.sh` to better analyse whether an action
was successful or not.
2012-06-05 19:40:32 +01:00
Marcus Whybrow
af15359935 Moved test function to correct section. 2012-06-05 01:43:17 +01:00
Marcus Whybrow
b0477de67b Added comment sections for all interaction points. 2012-06-05 01:41:18 +01:00
Marcus Whybrow
e5e38fc8e2 Added test for deleting a server that does not exist. 2012-06-05 01:40:28 +01:00
Marcus Whybrow
8a6d8ba892 Added a test for creating duplicate server names. 2012-06-05 01:38:33 +01:00
Marcus Whybrow
524f22f781 Added tests for invalid and edge case server names. 2012-06-05 00:50:24 +01:00
Marcus Whybrow
45ee034f2c Added a test for invalid server names. 2012-06-05 00:09:54 +01:00
Marcus Whybrow
63af7c7c1b Added a test for creating a server after the "miencraft" jar group is present. 2012-06-04 21:52:13 +01:00
Marcus Whybrow
330bc72d01 Moved test oneTimeSetup code to execute for each test.
Now the conf file is created fresh for each test.
2012-06-04 21:51:49 +01:00
Marcus Whybrow
819d09b744 Added test fro creating a server without any jar groups present. 2012-06-04 21:42:08 +01:00
Marcus Whybrow
905cb2494a Added test.sh which runs unit tests. 2012-06-04 21:41:22 +01:00