This document contains a simple preliminary description of
testcases on BookmarkEntry interface of Webclient API.
| Test ID | Action | Expected Result |
| basic/api/BookmarkEntry_getProperties:0 | Method gets properties from bookmarkEntry which is recieved via TreeModel | Method returns correct properties |
| basic/api/BookmarkEntry_getProperties:1 | Method gets properties from bookmarkEntry which is recieved via newBookmarkEntry | Method returns correct properties |
| basic/api/BookmarkEntry_getProperties:2 | Method gets properties from bookmarkEntry which is recieved via newBookmarkFolder | Method returns correct properties |
| Test ID | Action | Expected Result |
| basic/api/BookmarkEntry_insert:0 | Method adds NULL child to the receiver | Browser doesn't crashed |
| basic/api/BookmarkEntry_insert:1 | Method adds correct child to the receiver at index | Child is added |
| basic/api/BookmarkEntry_insert:2 | Method adds correct child to the receiver at index=0 | Browser doesn't crashed |
| basic/api/BookmarkEntry_insert:3 | Method adds correct child to the receiver at index=-2147483648 | Browser doesn't crashed |
| basic/api/BookmarkEntry_insert:4 | Method adds correct child to the receiver at index=2147483647 | Browser doesn't crashed |
| Test ID | Action | Expected Result |
| basic/api/BookmarkEntry_getChildAt:0 | Method tries to return the child of the bookmarkEntry. | Browser doesn't crashed |
| basic/api/BookmarkEntry_getChildAt:1 | Method returns the child at correct index. | Child is returned. |
| basic/api/BookmarkEntry_getChildAt:2 | Method tries to return the child at index=0. | Browser doesn't crashed |
| basic/api/BookmarkEntry_getChildAt:3 | Method tries to return the child at index=-2147483648. | Browser doesn't crashed |
| basic/api/BookmarkEntry_getChildAt:4 | Method tries to return the child at index=2147483647. | Browser doesn't crashed |
| Test ID | Action | Expected Result |
| basic/api/BookmarkEntry_getIndex:0 | Method returns the index of node in the bookmarkFolder children. | Correct number is returned. |
| basic/api/BookmarkEntry_getIndex:1 | Method returns the index of node in the bookmarkEntry children. | Browser doesn't crashed |
| basic/api/BookmarkEntry_getIndex:2 | Method returns the index of node=NULL in the bookmarkFolder children. | Browser doesn't crashed |
| basic/api/BookmarkEntry_getIndex:3 | Method returns the index of node=bookmarkFolder in the bookmarkFolder children. | Browser doesn't crashed |
| basic/api/BookmarkEntry_getIndex:4 | Method returns the index of incorrect node in the bookmarkFolder children. | Browser doesn't crashed |
| Test ID | Action | Expected Result |
| basic/api/BookmarkEntry_getParent:0 | Method returns the parent node of the reciever=bookmarkFolder, which has no parent. | Browser doesn't crashed |
| basic/api/BookmarkEntry_getParent:1 | Method returns the parent node of the reciever=bookmarkFolder, which has a parent. | Correct parent is returned. |
| basic/api/BookmarkEntry_getParent:2 | Method returns the parent node of the reciever=bookmarkEntry, which has no parent. | Browser doesn't crashed |
| basic/api/BookmarkEntry_getParent:3 | Method returns the parent node of the reciever=bookmarkEntry, which has a parent. | Correct parent is returned. |