mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2026-10-31 13:52:15 +01:00
test: name the ticket tests as GLOSSARY.md does
Two test names still said seq after the rename to ticket. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
019af34cd9
commit
3a2702af6c
2 changed files with 4 additions and 4 deletions
|
|
@ -157,7 +157,7 @@ static void test_txhold_moving_shade_is_not_held() {
|
||||||
hold.mark(7, true, 1000);
|
hold.mark(7, true, 1000);
|
||||||
TEST_ASSERT_FALSE(hold.held());
|
TEST_ASSERT_FALSE(hold.held());
|
||||||
}
|
}
|
||||||
static void test_txhold_ignores_seq_zero() {
|
static void test_txhold_ignores_ticket_zero() {
|
||||||
TxHold hold;
|
TxHold hold;
|
||||||
hold.mark(0, false, 1000);
|
hold.mark(0, false, 1000);
|
||||||
TEST_ASSERT_FALSE(hold.held());
|
TEST_ASSERT_FALSE(hold.held());
|
||||||
|
|
@ -232,7 +232,7 @@ int main(int argc, char **argv) {
|
||||||
RUN_TEST(test_flipCommand_keeps_the_rest);
|
RUN_TEST(test_flipCommand_keeps_the_rest);
|
||||||
RUN_TEST(test_txhold_idle_shade_is_held);
|
RUN_TEST(test_txhold_idle_shade_is_held);
|
||||||
RUN_TEST(test_txhold_moving_shade_is_not_held);
|
RUN_TEST(test_txhold_moving_shade_is_not_held);
|
||||||
RUN_TEST(test_txhold_ignores_seq_zero);
|
RUN_TEST(test_txhold_ignores_ticket_zero);
|
||||||
RUN_TEST(test_txhold_first_job_wins);
|
RUN_TEST(test_txhold_first_job_wins);
|
||||||
RUN_TEST(test_txhold_release_only_matches_the_held_job);
|
RUN_TEST(test_txhold_release_only_matches_the_held_job);
|
||||||
RUN_TEST(test_txhold_new_hold_after_release);
|
RUN_TEST(test_txhold_new_hold_after_release);
|
||||||
|
|
|
||||||
|
|
@ -155,7 +155,7 @@ static void test_one_event_for_the_held_job_and_the_favorite() {
|
||||||
TEST_ASSERT_FALSE(tx.hold.held());
|
TEST_ASSERT_FALSE(tx.hold.held());
|
||||||
TEST_ASSERT_EQUAL_UINT32(0, tx.myTicket);
|
TEST_ASSERT_EQUAL_UINT32(0, tx.myTicket);
|
||||||
}
|
}
|
||||||
static void test_seq_zero_is_ignored() {
|
static void test_ticket_zero_is_ignored() {
|
||||||
ShadeTxState tx;
|
ShadeTxState tx;
|
||||||
tx.setMySent(0, 40.0f, 10.0f);
|
tx.setMySent(0, 40.0f, 10.0f);
|
||||||
tx.stopSent(0, 5000, DOWN, false);
|
tx.stopSent(0, 5000, DOWN, false);
|
||||||
|
|
@ -233,7 +233,7 @@ int main(int argc, char **argv) {
|
||||||
RUN_TEST(test_stop_on_air_does_nothing);
|
RUN_TEST(test_stop_on_air_does_nothing);
|
||||||
RUN_TEST(test_stop_aborted_does_not_run_on);
|
RUN_TEST(test_stop_aborted_does_not_run_on);
|
||||||
RUN_TEST(test_one_event_for_the_held_job_and_the_favorite);
|
RUN_TEST(test_one_event_for_the_held_job_and_the_favorite);
|
||||||
RUN_TEST(test_seq_zero_is_ignored);
|
RUN_TEST(test_ticket_zero_is_ignored);
|
||||||
RUN_TEST(test_other_jobs_are_ignored);
|
RUN_TEST(test_other_jobs_are_ignored);
|
||||||
RUN_TEST(test_limitTarget);
|
RUN_TEST(test_limitTarget);
|
||||||
RUN_TEST(test_check_nothing_held);
|
RUN_TEST(test_check_nothing_held);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue