Commit | Line | Data |
---|---|---|
c7c2bf4d ES |
1 | package org.usfirst.frc.team3501.robot.commandgroups; |
2 | ||
3 | import edu.wpi.first.wpilibj.command.CommandGroup; | |
4 | ||
5 | public 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 | } |