Adds CommandTests to the C++ Integration Test Suite

Also adds/updates some comments in the Java Command Tests

Change-Id: I24ae6cce06b8d5251e1cb115cd725f24a871635f
This commit is contained in:
Jonathan Leitschuh
2014-06-23 15:12:58 -04:00
parent 801efe601a
commit 61ca865117
6 changed files with 563 additions and 4 deletions

View File

@@ -59,8 +59,11 @@ public class CommandParallelGroupTest extends AbstractCommandTest {
public void tearDown() throws Exception {
}
/**
* Simple Parallel Command Group With 2 commands one command terminates first
*/
@Test
public void test() {
public void testParallelCommandGroupWithTwoCommands() {
MockCommand command1 = new MockCommand();
MockCommand command2 = new MockCommand();

View File

@@ -60,7 +60,6 @@ public class CommandSequentialGroupTest extends AbstractCommandTest {
/**
* Simple Command Group With 3 commands that all depend on a subsystem. Some commands have a timeout
*/
//@Ignore("This currently hangs the tests, needs work")
@Test(timeout = 20000)
public void testThreeCommandOnSubSystem() {
logger.fine("Begining Test");

View File

@@ -58,10 +58,10 @@ public class DefaultCommandTest extends AbstractCommandTest {
}
/**
* Testing of default commands where the interrupting command is ends itself
* Testing of default commands where the interrupting command ends itself
*/
@Test
public void test() {
public void testDefaultCommandWhereTheInteruptingCommandEndsItself() {
final ASubsystem subsystem = new ASubsystem();