MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / do_PageTest_WithButton

Function do_PageTest_WithButton

apps/automated/src/ui-helper.ts:46–53  ·  view source on GitHub ↗
(test: (views: [Page, Button, ActionBar]) => void)

Source from the content-addressed store, hash-verified

44}
45
46export 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
55export function do_PageTest_WithStackLayout_AndButton(test: (views: [Page, StackLayout, Button, ActionBar]) => void) {
56 clearPage();

Callers

nothing calls this directly

Calls 3

clearPageFunction · 0.85
getCurrentPageFunction · 0.70
testFunction · 0.50

Tested by

no test coverage detected