Sample Test Cases
From ReliSourceWiki
(Difference between revisions)
Line 5: | Line 5: | ||
| align="center" style="background:#86a676;"| | | align="center" style="background:#86a676;"| | ||
|- | |- | ||
- | |style="background:#c2ebae;"| Phase 0||style="background:#c2ebae;"|Wait for Idle||style="background:#c2ebae;"|| | + | |style="background:#c2ebae;"| Phase 0||style="background:#c2ebae;"|Wait for Idle||style="background:#c2ebae;"|||style="background:#c2ebae;"|| |
|- | |- | ||
| OPM||Standard poll AND Escrow checkbox|||| | | OPM||Standard poll AND Escrow checkbox|||| |
Revision as of 08:04, 22 July 2011
Test Case Name | Stack standard note | |||
Phase 0 | Wait for Idle | style="background:#c2ebae;" | style="background:#c2ebae;" | |
OPM | Standard poll AND Escrow checkbox | |||
Trigger IMF | Idle and LRC bit on. | Next phase | Idle | |
Trigger Timeout | Wait 10s | Next phase | FAIL | |
Phase 1 | Idle | |||
User prompt | \"Feed a $5 note\" | |||
OPM | Standard poll AND Escrow checkbox | |||
Trigger IMF | Escrow bit AND note index 3. Remove prompt. | Next phase | Escrow | |
Trigger Timeout | Wait 20s | Next phase | FAIL | |
Phase 2 | Escrow | |||
OPM | Standard poll AND stack checkbox. | |||
Trigger IMF | Escrow bit AND note index 3 | Next Phase | Note Acceptance | |
Trigger Timeout | Wait 10s | Next phase | FAIL | |
Phase 3 | Note Acceptance | |||
OPM | Standard poll AND Escrow checkbox | |||
Trigger IMF | Stacked AND Idle bits AND note index 3 | Next phase | PASS | |
Trigger Timeout | Wait 5s | Next phase | FAIL | |