limited_play.html 2.42 KB
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <title></title>
</head>
<body>
<h3>Window Management</h3>
(see bbapps/sktest/limited)<br>
<br>
AdvanceTicketWindow<br>
&nbsp;&nbsp;&nbsp; - increment several times and verify change <br>
<br>
GetConsumption<br>
&nbsp;&nbsp;&nbsp; - bad pointers<br>
&nbsp;&nbsp;&nbsp; - verify window changes<br>
<br>
Initialization<br>
&nbsp;&nbsp;&nbsp; - load random v0/1 and see that window is reset to 0,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; consumption counters to 0 &nbsp; (use jtag
to set to arbitrary values)<br>
<br>
<h3>Ticket Enforcement</h3>
<br>
Time Limit<br>
<br>
&nbsp;&nbsp;&nbsp; - verify ticket id must be &gt;= 0x8000&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
( time_limit script )<br>
&nbsp;&nbsp;&nbsp; - run ticketed app with time limit, check that it runs
for that time<br>
&nbsp;&nbsp;&nbsp; - check that it can't run once time expired ( time_limit
script )<br>
&nbsp;&nbsp;&nbsp; - start over and verify that game can be run for less
than limit<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; and the right amount of time is left over
(hand test)<br>
&nbsp;&nbsp;&nbsp; - run ticket with id outside window range, verify doesn't
work<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; advance window, verify it does
work&nbsp;&nbsp;&nbsp;&nbsp; ( time_limit script )<br>
&nbsp;&nbsp;&nbsp; - test that killing game reenters sysapp cleanly&nbsp;
(hand test)<br>
&nbsp;&nbsp;&nbsp; - test that unplugging leaves completely consumed game
(hand test)<br>
&nbsp;&nbsp;&nbsp; - test unplugging card and pressing button credits game<br>
&nbsp;&nbsp;&nbsp; =&gt; implicitly tests limit code<br>
<br>
<br>
Count Limit<br>
&nbsp;&nbsp;&nbsp; - run ticketed app with count limit, check that it runs
for that many counts<br>
&nbsp;&nbsp;&nbsp; - check that it can't run after counts run out&nbsp; (
count_limit script )<br>
&nbsp;&nbsp;&nbsp; - check that new ticket can be issued with high limit<br>
&nbsp;&nbsp;&nbsp; - test each play, up to and including power-off counts
as 1-play (hand test)<br>
<br>
Bonus Limit<br>
&nbsp;&nbsp;&nbsp; - test SetLimit call&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
(special version of test sysapp)<br>
&nbsp;&nbsp;&nbsp; - test that only works for bonus game codes<br>
&nbsp;&nbsp;&nbsp; - test that fails for non-valid ticket (outside of launchsetup/launch)<br>
[<br>
</body>
</html>