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

Function do_PageTest

apps/automated/src/ui-helper.ts:38–44  ·  view source on GitHub ↗
(test: (views: [Page, View, View, View, ActionBar]) => void, content: View, secondView: View, thirdView: View)

Source from the content-addressed store, hash-verified

36}
37
38export function do_PageTest(test: (views: [Page, View, View, View, ActionBar]) => void, content: View, secondView: View, thirdView: View) {
39 clearPage();
40 let newPage = getCurrentPage();
41 newPage.content = content;
42 test([newPage, content, secondView, thirdView, newPage.actionBar]);
43 newPage.content = null;
44}
45
46export function do_PageTest_WithButton(test: (views: [Page, Button, ActionBar]) => void) {
47 clearPage();

Callers

nothing calls this directly

Calls 3

clearPageFunction · 0.85
getCurrentPageFunction · 0.70
testFunction · 0.50

Tested by

no test coverage detected