This document contains a simple preliminary description of testcases on History interface of Webclient API.

- Tests on addNotify method
- Tests on getWebShell() method
- Tests on setBounds(int, int, int. int) method
- Tests on setBounds(Rectangle) method

## 1. Tests on addNotify method.

Test ID | Action | Expected Result
basic/api/History_addNotify:0 | Method addNotify() invoked when some URL's are loaded | Mozilla doesn't crashes

## 1. Tests on getWebShell method.

Test ID | Action | Expected Result
basic/api/History_getWebShell:0 | Method getWebShell() invoked | Mozilla doesn't crash and getWebShell return correct BrowserControl

## 3. Tests on setBounds(int, int, int. int) method.

Test ID | Action | Expected Result
basic/api/History_setBounds:0 | Method setBounds invoked with correct bounds | Mozilla doesn't crashes and set bounds of Canvas correctly
basic/api/History_setBounds:1 | Method setBounds invoked with INTEGER.MIN_VALUE as first parameter | Mozilla doesn't crashes and do no set new bounds of Canvas
basic/api/History_setBounds:2 | Method setBounds invoked with INTEGER.MAX_VALUE as first parameter | Mozilla doesn't crashes and do no set new bounds of Canvas
basic/api/History_setBounds:3 | Method setBounds invoked with 0 as first parameter | Mozilla doesn't crashes and set new bounds of Canvas correctly
basic/api/History_setBounds:4 | Method setBounds invoked with INTEGER.MIN_VALUE as second parameter | Mozilla doesn't crashes and do no set new bounds of Canvas
basic/api/History_setBounds:5 | Method setBounds invoked with INTEGER.MAX_VALUE as second parameter | Mozilla doesn't crashes and do no set new bounds of Canvas
basic/api/History_setBounds:6 | Method setBounds invoked with 0 as second parameter | Mozilla doesn't crashes and set new bounds of Canvas correctly
basic/api/History_setBounds:7 | Method setBounds invoked with INTEGER.MIN_VALUE as third parameter | Mozilla doesn't crashes and do no set new bounds of Canvas
basic/api/History_setBounds:8 | Method setBounds invoked with INTEGER.MAX_VALUE as third parameter | Mozilla doesn't crashes and do no set new bounds of Canvas
basic/api/History_setBounds:9 | Method setBounds invoked with 0 as third parameter | Mozilla doesn't crashes and set new bounds of Canvas correctly
basic/api/History_setBounds:10 | Method setBounds invoked with INTEGER.MIN_VALUE as fourth parameter | Mozilla doesn't crashes and do no set new bounds of Canvas
basic/api/History_setBounds:11 | Method setBounds invoked with INTEGER.MAX_VALUE as fourth parameter | Mozilla doesn't crashes and do no set new bounds of Canvas
basic/api/History_setBounds:12 | Method setBounds invoked with 0 as fourth parameter | Mozilla doesn't crashes and set new bounds of Canvas correctly
basic/api/History_setBounds:13 | Method setBounds invoked with 0 as all parameters | Mozilla doesn't crashes and set new bounds of Canvas correctly
basic/api/History_setBounds:14 | Method setBounds invoked with inverted rectangle(Xleft >Xright) | Mozilla doesn't crashes and set new bounds of Canvas correctly

## 4. Tests on setBounds(Rectangle) method.

Test ID | Action | Expected Result
basic/api/History_setBounds_rect:0 | Method setBounds invoked with correctly formed rectangle with possible coordinates | Mozilla doesn't crashes and set Bounds of Canvas correctly
basic/api/History_setBounds_rect:1 | Method setBounds invoked with correctly formed rectangle with all coordinates = 0 | Mozilla doesn't crashes and set Bounds of Canvas correctly