diff --git a/apps/automated/src/ui/bottom-navigation/bottom-navigation-navigation-tests.ts b/apps/automated/src/ui/bottom-navigation/bottom-navigation-navigation-tests.ts deleted file mode 100644 index 01789168d..000000000 --- a/apps/automated/src/ui/bottom-navigation/bottom-navigation-navigation-tests.ts +++ /dev/null @@ -1,284 +0,0 @@ -import * as TKUnit from '../../tk-unit'; -import * as helper from '../../ui-helper'; -import { Label } from '@nativescript/core/ui/label'; -import { StackLayout } from '@nativescript/core/ui/layouts/stack-layout'; -import { Frame } from '@nativescript/core/ui/frame'; -import { Page } from '@nativescript/core/ui/page'; -import { ListView, ItemEventData } from '@nativescript/core/ui/list-view'; -import { BottomNavigation, TabContentItem, TabStrip, TabStripItem } from '@nativescript/core'; -import { Button } from '@nativescript/core/ui/button'; - -var ASYNC = 2; - -function _createBottomNavigation(): BottomNavigation { - var tabView = new BottomNavigation(); - tabView.id = 'BottomNavigation'; - - return tabView; -} - -function _createContentItems(count: number): Array { - const items = new Array(); - for (let i = 0; i < count; i++) { - const label = new Label(); - label.text = 'Tab ' + i; - const tabEntry = new TabContentItem(); - tabEntry.content = label; - items.push(tabEntry); - } - - return items; -} - -function _createTabStrip(count: number): TabStrip { - const items = new Array(); - for (let i = 0; i < count; i++) { - let tabStripEntry = new TabStripItem(); - tabStripEntry.title = 'Tab ' + i; - items.push(tabStripEntry); - } - - const tabStrip = new TabStrip(); - tabStrip.items = items; - - return tabStrip; -} - -function _createListView(): ListView { - var listView = new ListView(); - listView.id = 'ListView'; - var items = Array.apply(null, Array(10)).map(function (_, i) { - return i; - }); - - listView.on(ListView.itemLoadingEvent, function (args: ItemEventData) { - var button =