mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-05 03:21:42 +00:00
Corrected order of access specifiers in MockCommand class (#436)
This commit is contained in:
committed by
Peter Johnson
parent
64eab1f7b3
commit
4b6dc9583a
@@ -18,6 +18,12 @@ MockCommand::MockCommand() {
|
||||
m_interruptedCount = 0;
|
||||
}
|
||||
|
||||
bool MockCommand::HasInitialized() { return GetInitializeCount() > 0; }
|
||||
|
||||
bool MockCommand::HasEnd() { return GetEndCount() > 0; }
|
||||
|
||||
bool MockCommand::HasInterrupted() { return GetInterruptedCount() > 0; }
|
||||
|
||||
void MockCommand::Initialize() { ++m_initializeCount; }
|
||||
|
||||
void MockCommand::Execute() { ++m_executeCount; }
|
||||
@@ -30,9 +36,3 @@ bool MockCommand::IsFinished() {
|
||||
void MockCommand::End() { ++m_endCount; }
|
||||
|
||||
void MockCommand::Interrupted() { ++m_interruptedCount; }
|
||||
|
||||
bool MockCommand::HasInitialized() { return GetInitializeCount() > 0; }
|
||||
|
||||
bool MockCommand::HasEnd() { return GetEndCount() > 0; }
|
||||
|
||||
bool MockCommand::HasInterrupted() { return GetInterruptedCount() > 0; }
|
||||
|
||||
Reference in New Issue
Block a user