diff --git a/apps/tests/ui/tab-view/tab-view-tests.ts b/apps/tests/ui/tab-view/tab-view-tests.ts index f20011982..5d164e4da 100644 --- a/apps/tests/ui/tab-view/tab-view-tests.ts +++ b/apps/tests/ui/tab-view/tab-view-tests.ts @@ -392,41 +392,4 @@ export class TabViewTest extends testModule.UITest { export function createTestCase(): TabViewTest { return new TabViewTest(); -} - -export function test__tabview_selectedindex_will_work_from_xml() { - var p = builder.parse( - '' + - '' + - ''+ - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - ''); - - function testAction(views: Array) { - var tab: tabViewModule.TabView = p.content; - - TKUnit.wait(0.2); - - TKUnit.assertEqual(tab.selectedIndex, 1); - }; - - helper.navigate(function () { return p; }); - - try { - testAction([p.content, p]); - } - finally { - helper.goBack(); - } } \ No newline at end of file diff --git a/apps/tests/xml-declaration/mymodulewithxml/TabViewParentChain.ts b/apps/tests/xml-declaration/mymodulewithxml/TabViewParentChain.ts new file mode 100644 index 000000000..8f0b144aa --- /dev/null +++ b/apps/tests/xml-declaration/mymodulewithxml/TabViewParentChain.ts @@ -0,0 +1,11 @@ +import {Label} from "ui/label"; +import {Observable} from "data/observable"; +import {Page} from "ui/page"; + +export function loaded(args) { + ((