69 lines
4.6 KiB
HTML
69 lines
4.6 KiB
HTML
<html>
|
|
<head>
|
|
<title>
|
|
Description of tests on History interface
|
|
</title>
|
|
</head>
|
|
<body bgcolor=white>
|
|
<P align=left>This document contains a simple preliminary description of
|
|
testcases on History interface of Webclient API.</P>
|
|
|
|
<UL>
|
|
<LI><A href=#addNotify()>Tests on <B>addNotify</B> method</A>
|
|
<LI><A href=#getWebShell>Tests on <B>getWebShell()</B> method</A>
|
|
<LI><A href=#setBounds(int, int, int. int)>Tests on <B>setBounds(int, int, int. int)</B> method</A>
|
|
<LI><A href=#setBounds(Rectangle)>Tests on <B>setBounds(Rectangle)</B> method</A>
|
|
</UL>
|
|
|
|
<A name=addNotify>
|
|
<H2>1. Tests on addNotify method.</H2>
|
|
<table border=1>
|
|
<tr><td>Test ID</td><td>Action</td><td>Expected Result</td>
|
|
<tr><td>basic/api/History_addNotify:0</td><td>Method addNotify() invoked when some URL's are loaded</td><td>Mozilla doesn't crashes</td></tr>
|
|
</table>
|
|
|
|
<A name="getWebShell">
|
|
<H2>1. Tests on getWebShell method.</H2>
|
|
<table border=1>
|
|
<tr><td>Test ID</td><td>Action</td><td>Expected Result</td>
|
|
<tr><td>basic/api/History_getWebShell:0</td><td>Method getWebShell() invoked</td><td>Mozilla doesn't crash and getWebShell return correct BrowserControl</td></tr>
|
|
</table>
|
|
|
|
<A name="setBounds(int, int, int. int)">
|
|
<H2>3. Tests on setBounds(int, int, int. int) method.</H2>
|
|
<table border=1>
|
|
<tr><td>Test ID</td><td>Action</td><td>Expected Result</td>
|
|
<tr><td>basic/api/History_setBounds:0</td><td>Method setBounds invoked with correct bounds</td><td>Mozilla doesn't crashes and set bounds of Canvas correctly</td></tr>
|
|
<tr><td>basic/api/History_setBounds:1</td><td>Method setBounds invoked with INTEGER.MIN_VALUE as first parameter</td><td>Mozilla doesn't crashes and do no set new bounds of Canvas</td></tr>
|
|
<tr><td>basic/api/History_setBounds:2</td><td>Method setBounds invoked with INTEGER.MAX_VALUE as first parameter</td><td>Mozilla doesn't crashes and do no set new bounds of Canvas</td></tr>
|
|
<tr><td>basic/api/History_setBounds:3</td><td>Method setBounds invoked with 0 as first parameter</td><td>Mozilla doesn't crashes and set new bounds of Canvas correctly</td></tr>
|
|
<tr><td>basic/api/History_setBounds:4</td><td>Method setBounds invoked with INTEGER.MIN_VALUE as second parameter</td><td>Mozilla doesn't crashes and do no set new bounds of Canvas</td></tr>
|
|
<tr><td>basic/api/History_setBounds:5</td><td>Method setBounds invoked with INTEGER.MAX_VALUE as second parameter</td><td>Mozilla doesn't crashes and do no set new bounds of Canvas</td></tr>
|
|
<tr><td>basic/api/History_setBounds:6</td><td>Method setBounds invoked with 0 as second parameter</td><td>Mozilla doesn't crashes and set new bounds of Canvas correctly</td></tr>
|
|
<tr><td>basic/api/History_setBounds:7</td><td>Method setBounds invoked with INTEGER.MIN_VALUE as third parameter</td><td>Mozilla doesn't crashes and do no set new bounds of Canvas</td></tr>
|
|
<tr><td>basic/api/History_setBounds:8</td><td>Method setBounds invoked with INTEGER.MAX_VALUE as third parameter</td><td>Mozilla doesn't crashes and do no set new bounds of Canvas</td></tr>
|
|
<tr><td>basic/api/History_setBounds:9</td><td>Method setBounds invoked with 0 as third parameter</td><td>Mozilla doesn't crashes and set new bounds of Canvas correctly</td></tr>
|
|
<tr><td>basic/api/History_setBounds:10</td><td>Method setBounds invoked with INTEGER.MIN_VALUE as fourth parameter</td><td>Mozilla doesn't crashes and do no set new bounds of Canvas</td></tr>
|
|
<tr><td>basic/api/History_setBounds:11</td><td>Method setBounds invoked with INTEGER.MAX_VALUE as fourth parameter</td><td>Mozilla doesn't crashes and do no set new bounds of Canvas</td></tr>
|
|
<tr><td>basic/api/History_setBounds:12</td><td>Method setBounds invoked with 0 as fourth parameter</td><td>Mozilla doesn't crashes and set new bounds of Canvas correctly</td></tr>
|
|
<tr><td>basic/api/History_setBounds:13</td><td>Method setBounds invoked with 0 as all parameters</td><td>Mozilla doesn't crashes and set new bounds of Canvas correctly</td></tr>
|
|
<tr><td>basic/api/History_setBounds:14</td><td>Method setBounds invoked with inverted rectangle(Xleft >Xright)</td><td>Mozilla doesn't crashes and set new bounds of Canvas correctly</td></tr>
|
|
</table>
|
|
|
|
<A name="setBounds(Rectangle)">
|
|
<H2>4. Tests on setBounds(Rectangle) method.</H2>
|
|
<table border=1>
|
|
<tr><td>Test ID</td><td>Action</td><td>Expected Result</td>
|
|
<tr><td>basic/api/History_setBounds_rect:0</td><td>Method setBounds invoked with correctly formed rectangle with possible coordinates</td><td>Mozilla doesn't crashes and set Bounds of Canvas correctly</td></tr>
|
|
<tr><td>basic/api/History_setBounds_rect:1</td><td>Method setBounds invoked with correctly formed rectangle with all coordinates = 0</td><td>Mozilla doesn't crashes and set Bounds of Canvas correctly</td></tr>
|
|
</table>
|
|
|
|
|
|
</body>
|
|
</html>
|
|
|
|
|
|
|
|
|
|
|