Skip to content

Commit 68345eb

Browse files
committed
InvalidSeqCancelCall
1 parent cbae2cc commit 68345eb

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Svc/FpySequencer/FpySequencer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ void FpySequencer::cmdResponseIn_handler(FwIndexType portNum, //!< T
360360
void FpySequencer ::seqCancelIn_handler(FwIndexType portNum) {
361361
// only state you can't cancel in is IDLE
362362
if (sequencer_getState() == State::IDLE) {
363-
this->log_WARNING_HI_InvalidCancel(static_cast<I32>(sequencer_getState()));
363+
this->log_WARNING_HI_InvalidSeqCancelCall(static_cast<I32>(sequencer_getState()));
364364
return;
365365
}
366366
this->sequencer_sendSignal_cmd_CANCEL();

Svc/FpySequencer/FpySequencerEvents.fppi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ event InvalidSeqRunCall($state: I32) \
66
severity warning high \
77
format "Cannot run sequence from a port in state {}"
88

9-
event InvalidCancel($state: I32) \
9+
event InvalidSeqCancelCall($state: I32) \
1010
severity warning high \
11-
format "Cannot cancel sequence in state {}"
11+
format "Cannot cancel sequence from a port in state {}"
1212

1313
event FileOpenError(
1414
filePath: string

Svc/FpySequencer/test/ut/FpySequencerTestMain.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3196,7 +3196,7 @@ TEST_F(FpySequencerTester, seqCancelIn) {
31963196
this->invoke_to_seqCancelIn(0);
31973197
this->tester_doDispatch();
31983198
// should fail if we're in IDLE
3199-
ASSERT_EVENTS_InvalidCancel_SIZE(1);
3199+
ASSERT_EVENTS_InvalidSeqCancelCall_SIZE(1);
32003200

32013201
dispatchCurrentMessages(cmp);
32023202
ASSERT_EQ(this->tester_getState(), State::IDLE);

0 commit comments

Comments
 (0)