add verify() to tester abstract class
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commandgroups / TestCommandGroup.java
CommitLineData
c7c2bf4d
ES
1package org.usfirst.frc.team3501.robot.commandgroups;
2
3import edu.wpi.first.wpilibj.command.CommandGroup;
4
5public abstract class TestCommandGroup extends CommandGroup {
6
3b9f1c50 7 public TestCommandGroup() {
c7c2bf4d
ES
8 setup();
9 runCommandGroup();
10 teardown();
11
12 }
13
5efe6c61
ES
14 protected abstract void setup();
15
3b9f1c50 16 protected abstract void runCommandGroup();
c7c2bf4d 17
5efe6c61 18 protected abstract void verify();
c7c2bf4d 19
3b9f1c50 20 protected abstract void teardown();
c7c2bf4d
ES
21
22}