(test: (views: [Page, Button, ActionBar]) => void)
| 44 | } |
| 45 | |
| 46 | export function do_PageTest_WithButton(test: (views: [Page, Button, ActionBar]) => void) { |
| 47 | clearPage(); |
| 48 | let newPage = getCurrentPage(); |
| 49 | let btn = new Button(); |
| 50 | newPage.content = btn; |
| 51 | test([newPage, btn, newPage.actionBar]); |
| 52 | newPage.content = null; |
| 53 | } |
| 54 | |
| 55 | export function do_PageTest_WithStackLayout_AndButton(test: (views: [Page, StackLayout, Button, ActionBar]) => void) { |
| 56 | clearPage(); |
nothing calls this directly
no test coverage detected