mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
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:
@@ -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();
|
||||
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user