From 7412ce82b3df5c5c08e07afcbbb3d31c571fa48d Mon Sep 17 00:00:00 2001 From: Vasil Chimev Date: Thu, 22 Aug 2019 13:54:47 +0300 Subject: [PATCH] style(tests): format all files --- .../main/res/drawable-nodpi/splash_screen.xml | 2 +- .../src/main/res/values-v21/colors.xml | 2 +- .../src/main/res/values-v21/styles.xml | 4 +- .../Android/src/main/res/values/colors.xml | 2 +- .../Android/src/main/res/values/styles.xml | 6 +- .../AppIcon.appiconset/Contents.json | 162 ++++----- .../iOS/Assets.xcassets/Contents.json | 8 +- .../LaunchImage.launchimage/Contents.json | 314 +++++++++--------- .../Contents.json | 28 +- .../Contents.json | 28 +- tests/app/App_Resources/iOS/build.xcconfig | 2 +- tests/app/console/console-tests.ts | 4 +- tests/app/data/observable-array-tests.ts | 18 +- tests/app/data/observable-array.md | 12 +- tests/app/data/observable-tests.ts | 2 +- tests/app/data/virtual-array.md | 4 +- .../app/file-system-access-tests/xml.expected | 2 +- tests/app/file-system/file-system-tests.ts | 12 +- tests/app/globals/globals-tests.ts | 8 +- tests/app/http/http-tests.ts | 16 +- .../app/image-source/image-source-snippet.ts | 2 +- tests/app/image-source/image-source.md | 2 +- tests/app/livesync/app-new-page.css | 5 +- tests/app/livesync/app-new-scss-page.scss | 5 +- tests/app/livesync/application-page.css | 5 +- tests/app/livesync/button-css-page.css | 2 +- tests/app/livesync/button-scss-page.scss | 2 +- .../app/livesync/livesync-modal-view-page.xml | 2 +- .../app/name-resolvers-tests/files/other.xml | 2 +- .../name-resolvers-tests/files/test.land.xml | 2 +- .../files/test.minWH600.xml | 2 +- tests/app/name-resolvers-tests/files/test.xml | 2 +- tests/app/navigation/custom-transition.d.ts | 2 +- tests/app/pages/background-test.xml | 2 +- tests/app/pages/fonts-test.xml | 2 +- tests/app/pages/navigation/pageA.ts | 2 +- tests/app/pages/package.json | 6 +- tests/app/pages/page14.xml | 4 +- tests/app/pages/page17.xml | 4 +- tests/app/pages/page18.xml | 2 +- tests/app/pages/page19.xml | 2 +- tests/app/pages/page20.xml | 2 +- tests/app/pages/page7.ts | 62 ++-- tests/app/pages/performance-test/start.xml | 2 +- tests/app/pages/performance-test/test-big.xml | 2 +- .../app/pages/performance-test/test-small.xml | 2 +- tests/app/pages/tab-view.xml | 2 +- tests/app/timer/timer-tests.ts | 2 +- tests/app/trace/trace-error-tests.ts | 2 +- tests/app/trace/trace-tests.ts | 2 +- .../ui/action-bar/ActionBar_BetweenTags.xml | 2 +- .../ui/action-bar/ActionBar_NumberAsText.xml | 2 +- .../ui/action-bar/ActionBar_NumberAsTitle.xml | 2 +- .../ui/action-bar/action-bar-tests-common.ts | 2 +- tests/app/ui/action-bar/action-bar-tests.d.ts | 2 +- .../activity-indicator-tests.ts | 2 +- tests/app/ui/animation/animation-tests.ts | 4 +- tests/app/ui/animation/css-animation-tests.ts | 6 +- tests/app/ui/animation/test-page.css | 16 +- tests/app/ui/border/border-tests.ts | 2 +- .../bottom-navigation-tests-native.android.ts | 2 +- .../bottom-navigation-tests-native.d.ts | 2 +- .../builder/builder-file-qualifiers-tests.ts | 2 +- .../weak-event-listener-tests.ts | 4 +- tests/app/ui/date-picker/date-picker-tests.ts | 72 ++-- tests/app/ui/frame/frame-tests.android.ts | 14 +- tests/app/ui/frame/frame-tests.d.ts | 2 +- tests/app/ui/frame/frame-tests.ios.ts | 2 +- tests/app/ui/image-cache/image-cache-tests.ts | 4 +- tests/app/ui/image/image.md | 8 +- tests/app/ui/label/label-tests-page.css | 2 +- tests/app/ui/label/label-tests-wrong-page.css | 3 +- tests/app/ui/layouts/absolute-layout-tests.ts | 2 +- tests/app/ui/layouts/flexbox-layout-tests.ts | 6 +- tests/app/ui/layouts/grid-layout-tests.ts | 12 +- tests/app/ui/layouts/layout-helper.android.ts | 2 +- tests/app/ui/layouts/layout-helper.ios.ts | 2 +- tests/app/ui/layouts/safe-area-tests.ts | 2 +- tests/app/ui/layouts/stack-layout.md | 2 +- tests/app/ui/lifecycle/package.json | 2 +- tests/app/ui/lifecycle/pages/page-one.css | 4 +- tests/app/ui/lifecycle/pages/page-two.css | 2 +- .../list-picker-tests-native.android.ts | 2 +- tests/app/ui/list-picker/list-picker-tests.ts | 2 +- .../app/ui/list-view/list-view-view-model.ts | 2 +- tests/app/ui/page/modal-page.xml | 2 +- tests/app/ui/page/modal-tab-root.xml | 2 +- tests/app/ui/page/page-tests.d.ts | 2 +- tests/app/ui/page/page-tests.ios.ts | 2 +- tests/app/ui/page/page21.xml | 2 +- .../app/ui/page/test-declarative-css-page.css | 2 +- .../app/ui/page/test-declarative-css-page.xml | 2 +- tests/app/ui/page/test-module-css-page.css | 2 +- tests/app/ui/placeholder/placeholder-tests.ts | 4 +- .../ui/repeater/repeater-safe-area-tests.ts | 2 +- .../repeaterItems-bindingToGestures-page.ts | 2 +- .../repeaterItems-bindingToGestures-page.xml | 2 +- tests/app/ui/root-view/mymodule/package.json | 6 +- .../root-modules/custom-component-root.css | 2 +- .../root-modules/custom-component-root.xml | 2 +- .../root-modules/gridlayout-root.css | 2 +- .../root-modules/gridlayout-root.xml | 2 +- .../root-view/root-modules/tabview-root.css | 2 +- .../root-view/root-modules/tabview-root.xml | 2 +- .../ui/search-bar/search-bar-code-snippet.ts | 2 +- tests/app/ui/search-bar/search-bar-tests.ts | 3 +- tests/app/ui/slider/slider-tests.ts | 2 +- tests/app/ui/styling/style-tests.ts | 10 +- tests/app/ui/styling/styling.md | 2 +- tests/app/ui/styling/test-page.css | 4 +- .../tab-view/tab-view-tests-native.android.ts | 2 +- .../ui/tab-view/tab-view-tests-native.d.ts | 2 +- tests/app/ui/tab-view/tab-view.md | 6 +- .../app/ui/tabs/tabs-tests-native.android.ts | 2 +- tests/app/ui/tabs/tabs-tests-native.d.ts | 2 +- tests/app/ui/tabs/tabs-tests-native.ios.ts | 2 +- ...xpressions_comparisonOperators_testPage.ts | 2 +- ...dingExpressions_unaryOperators_testPage.ts | 2 +- .../text-field/text-field-tests-native.ios.ts | 2 +- tests/app/ui/text-field/text-field.md | 2 +- .../text-view/text-view-tests-native.ios.ts | 2 +- tests/app/ui/text-view/text-view-tests.ts | 8 +- tests/app/ui/web-view/test.html | 5 +- .../app/ui/web-view/web-view-code-snippet.ts | 2 +- tests/app/ui/web-view/web-view.md | 2 +- tests/app/xhr/xhr-tests.ts | 12 +- .../xml-declaration/custom-css-file-page.css | 2 +- .../errors/non-existing-element.xml | 2 +- tests/app/xml-declaration/mainPage.xml | 2 +- .../app/xml-declaration/mymodule/package.json | 6 +- .../mymodulewithxml/MyControl.xml | 2 +- .../TabViewParentChainPage.xml | 2 +- .../mymodulewithxml/package.json | 6 +- tests/app/xml-declaration/package.json | 6 +- ...vent-in-codeless-fragment-the-fragment.xml | 2 +- .../event-in-template.ts | 2 +- .../template-builder-tests/template-view.ts | 8 +- tests/app/xml-declaration/tns.xsd | 2 +- tests/app/xml-parser-tests/itemTemplates.xml | 2 +- .../app/xml-parser-tests/xml-parser-tests.ts | 4 +- tests/app/xml-parser-tests/xml.expected | 2 +- tests/app/xml-parser-tests/xml.xml | 2 +- 142 files changed, 589 insertions(+), 557 deletions(-) diff --git a/tests/app/App_Resources/Android/src/main/res/drawable-nodpi/splash_screen.xml b/tests/app/App_Resources/Android/src/main/res/drawable-nodpi/splash_screen.xml index ada77f92c..09ef064f1 100644 --- a/tests/app/App_Resources/Android/src/main/res/drawable-nodpi/splash_screen.xml +++ b/tests/app/App_Resources/Android/src/main/res/drawable-nodpi/splash_screen.xml @@ -5,4 +5,4 @@ - \ No newline at end of file + diff --git a/tests/app/App_Resources/Android/src/main/res/values-v21/colors.xml b/tests/app/App_Resources/Android/src/main/res/values-v21/colors.xml index a64641a9d..660cbac15 100644 --- a/tests/app/App_Resources/Android/src/main/res/values-v21/colors.xml +++ b/tests/app/App_Resources/Android/src/main/res/values-v21/colors.xml @@ -1,4 +1,4 @@ #3d5afe - \ No newline at end of file + diff --git a/tests/app/App_Resources/Android/src/main/res/values-v21/styles.xml b/tests/app/App_Resources/Android/src/main/res/values-v21/styles.xml index dac8727c8..360581d9c 100644 --- a/tests/app/App_Resources/Android/src/main/res/values-v21/styles.xml +++ b/tests/app/App_Resources/Android/src/main/res/values-v21/styles.xml @@ -19,5 +19,5 @@ - \ No newline at end of file + + diff --git a/tests/app/App_Resources/Android/src/main/res/values/colors.xml b/tests/app/App_Resources/Android/src/main/res/values/colors.xml index 74ad8829c..c749667fd 100644 --- a/tests/app/App_Resources/Android/src/main/res/values/colors.xml +++ b/tests/app/App_Resources/Android/src/main/res/values/colors.xml @@ -4,4 +4,4 @@ #757575 #33B5E5 #272734 - \ No newline at end of file + diff --git a/tests/app/App_Resources/Android/src/main/res/values/styles.xml b/tests/app/App_Resources/Android/src/main/res/values/styles.xml index c793e6d4c..bf8b73681 100644 --- a/tests/app/App_Resources/Android/src/main/res/values/styles.xml +++ b/tests/app/App_Resources/Android/src/main/res/values/styles.xml @@ -10,8 +10,8 @@ @color/ns_accent @drawable/splash_screen - - true + + true true @@ -42,4 +42,4 @@ - + diff --git a/tests/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/Contents.json b/tests/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/Contents.json index 1a8b0e645..6d19987b3 100644 --- a/tests/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/Contents.json +++ b/tests/app/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -1,122 +1,122 @@ { - "images" : [ + "images": [ { - "size" : "20x20", - "idiom" : "iphone", - "filename" : "icon-20@2x.png", - "scale" : "2x" + "size": "20x20", + "idiom": "iphone", + "filename": "icon-20@2x.png", + "scale": "2x" }, { - "size" : "20x20", - "idiom" : "iphone", - "filename" : "icon-20@3x.png", - "scale" : "3x" + "size": "20x20", + "idiom": "iphone", + "filename": "icon-20@3x.png", + "scale": "3x" }, { - "size" : "29x29", - "idiom" : "iphone", - "filename" : "icon-29.png", - "scale" : "1x" + "size": "29x29", + "idiom": "iphone", + "filename": "icon-29.png", + "scale": "1x" }, { - "size" : "29x29", - "idiom" : "iphone", - "filename" : "icon-29@2x.png", - "scale" : "2x" + "size": "29x29", + "idiom": "iphone", + "filename": "icon-29@2x.png", + "scale": "2x" }, { - "size" : "29x29", - "idiom" : "iphone", - "filename" : "icon-29@3x.png", - "scale" : "3x" + "size": "29x29", + "idiom": "iphone", + "filename": "icon-29@3x.png", + "scale": "3x" }, { - "size" : "40x40", - "idiom" : "iphone", - "filename" : "icon-40@2x.png", - "scale" : "2x" + "size": "40x40", + "idiom": "iphone", + "filename": "icon-40@2x.png", + "scale": "2x" }, { - "size" : "40x40", - "idiom" : "iphone", - "filename" : "icon-40@3x.png", - "scale" : "3x" + "size": "40x40", + "idiom": "iphone", + "filename": "icon-40@3x.png", + "scale": "3x" }, { - "size" : "60x60", - "idiom" : "iphone", - "filename" : "icon-60@2x.png", - "scale" : "2x" + "size": "60x60", + "idiom": "iphone", + "filename": "icon-60@2x.png", + "scale": "2x" }, { - "size" : "60x60", - "idiom" : "iphone", - "filename" : "icon-60@3x.png", - "scale" : "3x" + "size": "60x60", + "idiom": "iphone", + "filename": "icon-60@3x.png", + "scale": "3x" }, { - "size" : "20x20", - "idiom" : "ipad", - "filename" : "icon-20.png", - "scale" : "1x" + "size": "20x20", + "idiom": "ipad", + "filename": "icon-20.png", + "scale": "1x" }, { - "size" : "20x20", - "idiom" : "ipad", - "filename" : "icon-20@2x.png", - "scale" : "2x" + "size": "20x20", + "idiom": "ipad", + "filename": "icon-20@2x.png", + "scale": "2x" }, { - "size" : "29x29", - "idiom" : "ipad", - "filename" : "icon-29.png", - "scale" : "1x" + "size": "29x29", + "idiom": "ipad", + "filename": "icon-29.png", + "scale": "1x" }, { - "size" : "29x29", - "idiom" : "ipad", - "filename" : "icon-29@2x.png", - "scale" : "2x" + "size": "29x29", + "idiom": "ipad", + "filename": "icon-29@2x.png", + "scale": "2x" }, { - "size" : "40x40", - "idiom" : "ipad", - "filename" : "icon-40.png", - "scale" : "1x" + "size": "40x40", + "idiom": "ipad", + "filename": "icon-40.png", + "scale": "1x" }, { - "size" : "40x40", - "idiom" : "ipad", - "filename" : "icon-40@2x.png", - "scale" : "2x" + "size": "40x40", + "idiom": "ipad", + "filename": "icon-40@2x.png", + "scale": "2x" }, { - "size" : "76x76", - "idiom" : "ipad", - "filename" : "icon-76.png", - "scale" : "1x" + "size": "76x76", + "idiom": "ipad", + "filename": "icon-76.png", + "scale": "1x" }, { - "size" : "76x76", - "idiom" : "ipad", - "filename" : "icon-76@2x.png", - "scale" : "2x" + "size": "76x76", + "idiom": "ipad", + "filename": "icon-76@2x.png", + "scale": "2x" }, { - "size" : "83.5x83.5", - "idiom" : "ipad", - "filename" : "icon-83.5@2x.png", - "scale" : "2x" + "size": "83.5x83.5", + "idiom": "ipad", + "filename": "icon-83.5@2x.png", + "scale": "2x" }, { - "size" : "1024x1024", - "idiom" : "ios-marketing", - "filename" : "icon-1024.png", - "scale" : "1x" + "size": "1024x1024", + "idiom": "ios-marketing", + "filename": "icon-1024.png", + "scale": "1x" } ], - "info" : { - "version" : 1, - "author" : "xcode" + "info": { + "version": 1, + "author": "xcode" } -} \ No newline at end of file +} diff --git a/tests/app/App_Resources/iOS/Assets.xcassets/Contents.json b/tests/app/App_Resources/iOS/Assets.xcassets/Contents.json index da4a164c9..97a8662eb 100644 --- a/tests/app/App_Resources/iOS/Assets.xcassets/Contents.json +++ b/tests/app/App_Resources/iOS/Assets.xcassets/Contents.json @@ -1,6 +1,6 @@ { - "info" : { - "version" : 1, - "author" : "xcode" + "info": { + "version": 1, + "author": "xcode" } -} \ No newline at end of file +} diff --git a/tests/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Contents.json b/tests/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Contents.json index bb3b4a5f6..9cf6229cf 100644 --- a/tests/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Contents.json +++ b/tests/app/App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Contents.json @@ -1,212 +1,212 @@ { - "images" : [ + "images": [ { - "extent" : "full-screen", - "idiom" : "iphone", - "subtype" : "2688h", - "filename" : "Default-Portrait-XS-Max.png", - "minimum-system-version" : "12.0", - "orientation" : "portrait", - "scale" : "3x" + "extent": "full-screen", + "idiom": "iphone", + "subtype": "2688h", + "filename": "Default-Portrait-XS-Max.png", + "minimum-system-version": "12.0", + "orientation": "portrait", + "scale": "3x" }, { - "extent" : "full-screen", - "idiom" : "iphone", - "subtype" : "2688h", - "filename" : "Default-Landscape-XS-Max.png", - "minimum-system-version" : "12.0", - "orientation" : "landscape", - "scale" : "3x" + "extent": "full-screen", + "idiom": "iphone", + "subtype": "2688h", + "filename": "Default-Landscape-XS-Max.png", + "minimum-system-version": "12.0", + "orientation": "landscape", + "scale": "3x" }, { - "extent" : "full-screen", - "idiom" : "iphone", - "subtype" : "1792h", - "filename" : "Default-Portrait-XR.png", - "minimum-system-version" : "12.0", - "orientation" : "portrait", - "scale" : "2x" + "extent": "full-screen", + "idiom": "iphone", + "subtype": "1792h", + "filename": "Default-Portrait-XR.png", + "minimum-system-version": "12.0", + "orientation": "portrait", + "scale": "2x" }, { - "extent" : "full-screen", - "idiom" : "iphone", - "subtype" : "1792h", - "filename" : "Default-Landscape-XR.png", - "minimum-system-version" : "12.0", - "orientation" : "landscape", - "scale" : "2x" + "extent": "full-screen", + "idiom": "iphone", + "subtype": "1792h", + "filename": "Default-Landscape-XR.png", + "minimum-system-version": "12.0", + "orientation": "landscape", + "scale": "2x" }, { - "extent" : "full-screen", - "idiom" : "iphone", - "subtype" : "2436h", - "filename" : "Default-1125h.png", - "minimum-system-version" : "11.0", - "orientation" : "portrait", - "scale" : "3x" + "extent": "full-screen", + "idiom": "iphone", + "subtype": "2436h", + "filename": "Default-1125h.png", + "minimum-system-version": "11.0", + "orientation": "portrait", + "scale": "3x" }, { - "extent" : "full-screen", - "idiom" : "iphone", - "subtype" : "2436h", - "filename" : "Default-Landscape-X.png", - "minimum-system-version" : "11.0", - "orientation" : "landscape", - "scale" : "3x" + "extent": "full-screen", + "idiom": "iphone", + "subtype": "2436h", + "filename": "Default-Landscape-X.png", + "minimum-system-version": "11.0", + "orientation": "landscape", + "scale": "3x" }, { - "extent" : "full-screen", - "idiom" : "iphone", - "subtype" : "736h", - "filename" : "Default-736h@3x.png", - "minimum-system-version" : "8.0", - "orientation" : "portrait", - "scale" : "3x" + "extent": "full-screen", + "idiom": "iphone", + "subtype": "736h", + "filename": "Default-736h@3x.png", + "minimum-system-version": "8.0", + "orientation": "portrait", + "scale": "3x" }, { - "extent" : "full-screen", - "idiom" : "iphone", - "subtype" : "736h", - "filename" : "Default-Landscape@3x.png", - "minimum-system-version" : "8.0", - "orientation" : "landscape", - "scale" : "3x" + "extent": "full-screen", + "idiom": "iphone", + "subtype": "736h", + "filename": "Default-Landscape@3x.png", + "minimum-system-version": "8.0", + "orientation": "landscape", + "scale": "3x" }, { - "extent" : "full-screen", - "idiom" : "iphone", - "subtype" : "667h", - "filename" : "Default-667h@2x.png", - "minimum-system-version" : "8.0", - "orientation" : "portrait", - "scale" : "2x" + "extent": "full-screen", + "idiom": "iphone", + "subtype": "667h", + "filename": "Default-667h@2x.png", + "minimum-system-version": "8.0", + "orientation": "portrait", + "scale": "2x" }, { - "orientation" : "portrait", - "idiom" : "iphone", - "filename" : "Default@2x.png", - "extent" : "full-screen", - "minimum-system-version" : "7.0", - "scale" : "2x" + "orientation": "portrait", + "idiom": "iphone", + "filename": "Default@2x.png", + "extent": "full-screen", + "minimum-system-version": "7.0", + "scale": "2x" }, { - "extent" : "full-screen", - "idiom" : "iphone", - "subtype" : "retina4", - "filename" : "Default-568h@2x.png", - "minimum-system-version" : "7.0", - "orientation" : "portrait", - "scale" : "2x" + "extent": "full-screen", + "idiom": "iphone", + "subtype": "retina4", + "filename": "Default-568h@2x.png", + "minimum-system-version": "7.0", + "orientation": "portrait", + "scale": "2x" }, { - "orientation" : "portrait", - "idiom" : "ipad", - "filename" : "Default-Portrait.png", - "extent" : "full-screen", - "minimum-system-version" : "7.0", - "scale" : "1x" + "orientation": "portrait", + "idiom": "ipad", + "filename": "Default-Portrait.png", + "extent": "full-screen", + "minimum-system-version": "7.0", + "scale": "1x" }, { - "orientation" : "landscape", - "idiom" : "ipad", - "filename" : "Default-Landscape.png", - "extent" : "full-screen", - "minimum-system-version" : "7.0", - "scale" : "1x" + "orientation": "landscape", + "idiom": "ipad", + "filename": "Default-Landscape.png", + "extent": "full-screen", + "minimum-system-version": "7.0", + "scale": "1x" }, { - "orientation" : "portrait", - "idiom" : "ipad", - "filename" : "Default-Portrait@2x.png", - "extent" : "full-screen", - "minimum-system-version" : "7.0", - "scale" : "2x" + "orientation": "portrait", + "idiom": "ipad", + "filename": "Default-Portrait@2x.png", + "extent": "full-screen", + "minimum-system-version": "7.0", + "scale": "2x" }, { - "orientation" : "landscape", - "idiom" : "ipad", - "filename" : "Default-Landscape@2x.png", - "extent" : "full-screen", - "minimum-system-version" : "7.0", - "scale" : "2x" + "orientation": "landscape", + "idiom": "ipad", + "filename": "Default-Landscape@2x.png", + "extent": "full-screen", + "minimum-system-version": "7.0", + "scale": "2x" }, { - "orientation" : "portrait", - "idiom" : "iphone", - "filename" : "Default.png", - "extent" : "full-screen", - "scale" : "1x" + "orientation": "portrait", + "idiom": "iphone", + "filename": "Default.png", + "extent": "full-screen", + "scale": "1x" }, { - "orientation" : "portrait", - "idiom" : "iphone", - "filename" : "Default@2x.png", - "extent" : "full-screen", - "scale" : "2x" + "orientation": "portrait", + "idiom": "iphone", + "filename": "Default@2x.png", + "extent": "full-screen", + "scale": "2x" }, { - "orientation" : "portrait", - "idiom" : "iphone", - "filename" : "Default-568h@2x.png", - "extent" : "full-screen", - "subtype" : "retina4", - "scale" : "2x" + "orientation": "portrait", + "idiom": "iphone", + "filename": "Default-568h@2x.png", + "extent": "full-screen", + "subtype": "retina4", + "scale": "2x" }, { - "orientation" : "portrait", - "idiom" : "ipad", - "extent" : "to-status-bar", - "scale" : "1x" + "orientation": "portrait", + "idiom": "ipad", + "extent": "to-status-bar", + "scale": "1x" }, { - "orientation" : "portrait", - "idiom" : "ipad", - "filename" : "Default-Portrait.png", - "extent" : "full-screen", - "scale" : "1x" + "orientation": "portrait", + "idiom": "ipad", + "filename": "Default-Portrait.png", + "extent": "full-screen", + "scale": "1x" }, { - "orientation" : "landscape", - "idiom" : "ipad", - "extent" : "to-status-bar", - "scale" : "1x" + "orientation": "landscape", + "idiom": "ipad", + "extent": "to-status-bar", + "scale": "1x" }, { - "orientation" : "landscape", - "idiom" : "ipad", - "filename" : "Default-Landscape.png", - "extent" : "full-screen", - "scale" : "1x" + "orientation": "landscape", + "idiom": "ipad", + "filename": "Default-Landscape.png", + "extent": "full-screen", + "scale": "1x" }, { - "orientation" : "portrait", - "idiom" : "ipad", - "extent" : "to-status-bar", - "scale" : "2x" + "orientation": "portrait", + "idiom": "ipad", + "extent": "to-status-bar", + "scale": "2x" }, { - "orientation" : "portrait", - "idiom" : "ipad", - "filename" : "Default-Portrait@2x.png", - "extent" : "full-screen", - "scale" : "2x" + "orientation": "portrait", + "idiom": "ipad", + "filename": "Default-Portrait@2x.png", + "extent": "full-screen", + "scale": "2x" }, { - "orientation" : "landscape", - "idiom" : "ipad", - "extent" : "to-status-bar", - "scale" : "2x" + "orientation": "landscape", + "idiom": "ipad", + "extent": "to-status-bar", + "scale": "2x" }, { - "orientation" : "landscape", - "idiom" : "ipad", - "filename" : "Default-Landscape@2x.png", - "extent" : "full-screen", - "scale" : "2x" + "orientation": "landscape", + "idiom": "ipad", + "filename": "Default-Landscape@2x.png", + "extent": "full-screen", + "scale": "2x" } ], - "info" : { - "version" : 1, - "author" : "xcode" + "info": { + "version": 1, + "author": "xcode" } -} \ No newline at end of file +} diff --git a/tests/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/Contents.json b/tests/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/Contents.json index ab5edd0ca..9180be41d 100644 --- a/tests/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/Contents.json +++ b/tests/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/Contents.json @@ -1,23 +1,23 @@ { - "images" : [ + "images": [ { - "idiom" : "universal", - "filename" : "LaunchScreen-AspectFill.png", - "scale" : "1x" + "idiom": "universal", + "filename": "LaunchScreen-AspectFill.png", + "scale": "1x" }, { - "idiom" : "universal", - "filename" : "LaunchScreen-AspectFill@2x.png", - "scale" : "2x" + "idiom": "universal", + "filename": "LaunchScreen-AspectFill@2x.png", + "scale": "2x" }, { - "idiom" : "universal", - "filename" : "LaunchScreen-AspectFill@3x.png", - "scale" : "3x" + "idiom": "universal", + "filename": "LaunchScreen-AspectFill@3x.png", + "scale": "3x" } ], - "info" : { - "version" : 1, - "author" : "xcode" + "info": { + "version": 1, + "author": "xcode" } -} \ No newline at end of file +} diff --git a/tests/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/Contents.json b/tests/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/Contents.json index 444d7152d..7a03e93a6 100644 --- a/tests/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/Contents.json +++ b/tests/app/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/Contents.json @@ -1,23 +1,23 @@ { - "images" : [ + "images": [ { - "idiom" : "universal", - "filename" : "LaunchScreen-Center.png", - "scale" : "1x" + "idiom": "universal", + "filename": "LaunchScreen-Center.png", + "scale": "1x" }, { - "idiom" : "universal", - "filename" : "LaunchScreen-Center@2x.png", - "scale" : "2x" + "idiom": "universal", + "filename": "LaunchScreen-Center@2x.png", + "scale": "2x" }, { - "idiom" : "universal", - "filename" : "LaunchScreen-Center@3x.png", - "scale" : "3x" + "idiom": "universal", + "filename": "LaunchScreen-Center@3x.png", + "scale": "3x" } ], - "info" : { - "version" : 1, - "author" : "xcode" + "info": { + "version": 1, + "author": "xcode" } -} \ No newline at end of file +} diff --git a/tests/app/App_Resources/iOS/build.xcconfig b/tests/app/App_Resources/iOS/build.xcconfig index 9d738435d..296ca9b50 100644 --- a/tests/app/App_Resources/iOS/build.xcconfig +++ b/tests/app/App_Resources/iOS/build.xcconfig @@ -1,6 +1,6 @@ // You can add custom settings here // for example you can uncomment the following line to force distribution code signing -// CODE_SIGN_IDENTITY = iPhone Distribution +// CODE_SIGN_IDENTITY = iPhone Distribution // To build for device with XCode 8 you need to specify your development team. More info: https://developer.apple.com/library/prerelease/content/releasenotes/DeveloperTools/RN-Xcode/Introduction.html // DEVELOPMENT_TEAM = YOUR_TEAM_ID; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; diff --git a/tests/app/console/console-tests.ts b/tests/app/console/console-tests.ts index 74465ed15..491973801 100644 --- a/tests/app/console/console-tests.ts +++ b/tests/app/console/console-tests.ts @@ -24,7 +24,7 @@ export var test_DummyTestForSnippetOnly2 = function () { export var test_DummyTestForSnippetOnly3 = function () { // >> console-dir - var obj = {name: "John", age: 34}; + var obj = { name: "John", age: 34 }; console.dir(obj); // << console-dir }; @@ -33,4 +33,4 @@ export var test_DummyTestForSnippetOnly5 = function () { // >> console-trace console.trace(); // << console-trace -}; \ No newline at end of file +}; diff --git a/tests/app/data/observable-array-tests.ts b/tests/app/data/observable-array-tests.ts index 1c51e01da..38fdff924 100644 --- a/tests/app/data/observable-array-tests.ts +++ b/tests/app/data/observable-array-tests.ts @@ -114,7 +114,7 @@ export const test_ObservableArray_popShouldRemoveTheLastElement = function () { // >> (hide) const viewBase = new Label(); viewBase.set("testProperty", 0); - viewBase.bind({sourceProperty: "length", targetProperty: "testProperty"}, array); + viewBase.bind({ sourceProperty: "length", targetProperty: "testProperty" }, array); // << (hide) const result = array.pop(); // << observable-array-join-pop @@ -157,7 +157,7 @@ export const test_ObservableArray_pushShouldAppendNewElement = function () { // >> (hide) const viewBase = new Label(); viewBase.set("testProperty", 0); - viewBase.bind({sourceProperty: "length", targetProperty: "testProperty"}, array); + viewBase.bind({ sourceProperty: "length", targetProperty: "testProperty" }, array); // << (hide) const result = array.push(4); // << observable-array-push @@ -196,7 +196,7 @@ export const test_ObservableArray_pushShouldAppendNewElements = function () { // >> (hide) const viewBase = new Label(); viewBase.set("testProperty", 0); - viewBase.bind({sourceProperty: "length", targetProperty: "testProperty"}, array); + viewBase.bind({ sourceProperty: "length", targetProperty: "testProperty" }, array); // << (hide) const result = array.push(4, 5, 6); // << observable-array-push-multiple @@ -235,7 +235,7 @@ export const test_ObservableArray_pushShouldAppendNewElementsFromSourceArray = f // >> (hide) const viewBase = new Label(); viewBase.set("testProperty", 0); - viewBase.bind({sourceProperty: "length", targetProperty: "testProperty"}, array); + viewBase.bind({ sourceProperty: "length", targetProperty: "testProperty" }, array); // << (hide) const result = array.push([4, 5, 6]); // << observable-array-push-source @@ -282,7 +282,7 @@ export const test_ObservableArray_shiftShouldRemoveTheFirstElement = function () // >> (hide) const viewBase = new Label(); viewBase.set("testProperty", 0); - viewBase.bind({sourceProperty: "length", targetProperty: "testProperty"}, array); + viewBase.bind({ sourceProperty: "length", targetProperty: "testProperty" }, array); // << (hide) const result = array.shift(); // << observable-array-shift @@ -354,7 +354,7 @@ export const test_ObservableArray_spliceShouldRemoveSpecifiedNumberOfElementsSta // >> (hide) const viewBase = new Label(); viewBase.set("testProperty", 0); - viewBase.bind({sourceProperty: "length", targetProperty: "testProperty"}, array); + viewBase.bind({ sourceProperty: "length", targetProperty: "testProperty" }, array); // << (hide) const result = array.splice(1, 2); // << observable-array-splice @@ -430,7 +430,7 @@ export const test_ObservableArray_unshiftShouldInsertNewElementsFromTheStart = f // >> (hide) const viewBase = new Label(); viewBase.set("testProperty", 0); - viewBase.bind({sourceProperty: "length", targetProperty: "testProperty"}, array); + viewBase.bind({ sourceProperty: "length", targetProperty: "testProperty" }, array); // << (hide) const result = array.unshift(4, 5); // << observable-array-unshift @@ -647,7 +647,7 @@ export const test_reduce_with_initial_value = function () { }; export const test_reduce_with_zero_as_initial_value = function () { - const sa = [{prop: 1}, {prop: 2}, {prop: 3}]; + const sa = [{ prop: 1 }, { prop: 2 }, { prop: 3 }]; let array: ObservableArray = new ObservableArray(sa); const result = array.reduce((a, b) => a + b.prop, 0); TKUnit.assertEqual(result, 6, "ObservableArray reduce function broken when Initial Value is zero."); @@ -672,7 +672,7 @@ export const test_reduceRight_with_initial_value = function () { }; export const test_reduceRight_with_zero_as_initial_value = function () { - const sa = [{prop: 1}, {prop: 2}, {prop: 3}]; + const sa = [{ prop: 1 }, { prop: 2 }, { prop: 3 }]; let array: ObservableArray = new ObservableArray(sa); const result = array.reduceRight((a, b) => a + b.prop, 0); TKUnit.assertEqual(result, 6, "ObservableArray reduceRight function broken when Initial Value is zero."); diff --git a/tests/app/data/observable-array.md b/tests/app/data/observable-array.md index 1c0377bb8..c78aa969f 100644 --- a/tests/app/data/observable-array.md +++ b/tests/app/data/observable-array.md @@ -71,25 +71,25 @@ previous_url: /ApiReference/data/observable-array/HOW-TO ### Handle "change" event to know more info about the change after calling shift() method. {%snippet observable-array-shift-change%} -### Use slice() method to return array with all ObservableArray elements. +### Use slice() method to return array with all ObservableArray elements. {%snippet observable-array-slice%} -### Use slice(star, end) method to return section of the array. +### Use slice(star, end) method to return section of the array. {%snippet observable-array-slice-args%} -### Use sort() method to sort the array. +### Use sort() method to sort the array. {%snippet observable-array-sort%} -### Use sort(compareFunction) method to sort the array with your own comparing logic. +### Use sort(compareFunction) method to sort the array with your own comparing logic. {%snippet observable-array-sort-comparer%} -### Use splice(start, deleteCount) method to delete elements in the array. +### Use splice(start, deleteCount) method to delete elements in the array. {%snippet observable-array-splice%} ### Handle "change" event to know more info about the change after calling splice(start, deleteCount) method. {%snippet observable-array-splice-change%} -### Use splice(start, deleteCount, ...arguments) method to remove and insert elements in the array. +### Use splice(start, deleteCount, ...arguments) method to remove and insert elements in the array. {%snippet observable-array-splice-args%} ### Handle "change" event to know more info about the change after calling splice(start, deleteCount, ...arguments) method. diff --git a/tests/app/data/observable-tests.ts b/tests/app/data/observable-tests.ts index bd70c2a2d..291bbe996 100644 --- a/tests/app/data/observable-tests.ts +++ b/tests/app/data/observable-tests.ts @@ -563,7 +563,7 @@ export function test_get_set_on_observables_fromObject_without_property_in_json( export function test_get_set_on_observables_fromObject_with_property_in_json() { const array = new ObservableArray(); - const vm = fromObject({ p: null}); + const vm = fromObject({ p: null }); vm.set("p", array); const value1 = vm.get("p"); const value2 = (vm).p; diff --git a/tests/app/data/virtual-array.md b/tests/app/data/virtual-array.md index a47909149..3c618351f 100644 --- a/tests/app/data/virtual-array.md +++ b/tests/app/data/virtual-array.md @@ -9,8 +9,8 @@ previous_url: /ApiReference/data/virtual-array/HOW-TO {%snippet virtual-array-require%} ### Handle "itemsLoading" event to load items on demand using load() method. -Use "length" property set via VirtualArray constructor to specify total number of items, -"loadSize" to specify number of items to be requested in a single request, +Use "length" property set via VirtualArray constructor to specify total number of items, +"loadSize" to specify number of items to be requested in a single request, "itemsLoading" event to handle items request and "load()" method to copy items into the array. All already loaded items are cached in -memory and when "getItem()" method is called the array will raise "itemsLoading" event for still not loaded items. diff --git a/tests/app/file-system-access-tests/xml.expected b/tests/app/file-system-access-tests/xml.expected index 2f0db1e67..0dd746a0d 100644 --- a/tests/app/file-system-access-tests/xml.expected +++ b/tests/app/file-system-access-tests/xml.expected @@ -1 +1 @@ -{"eventType":"StartElement","elementName":"DocumentElement","attributes":{"param":"value"}}{"eventType":"StartElement","elementName":"First.Element","attributes":{"some.attr":"some.value"}}{"eventType":"Text","data":"\n ¶ Some Text ®\n "}{"eventType":"EndElement","elementName":"First.Element"}{"eventType":"StartElement","elementName":"SecondElement","attributes":{"param2":"something"}}{"eventType":"Text","data":"\n Pre-Text "}{"eventType":"StartElement","elementName":"Inline"}{"eventType":"Text","data":"Inlined text"}{"eventType":"EndElement","elementName":"Inline"}{"eventType":"Text","data":" Post-text.\n "}{"eventType":"EndElement","elementName":"SecondElement"}{"eventType":"StartElement","elementName":"entities"}{"eventType":"Text","data":"Xml tags begin with \"<\" and end with \">\" Ampersand is & and apostrophe is '"}{"eventType":"EndElement","elementName":"entities"}{"eventType":"StartElement","elementName":"script"}{"eventType":"CDATA","data":"\nfunction sum(a,b)\n{\n return a+b;\n}\n"}{"eventType":"EndElement","elementName":"script"}{"eventType":"Comment","data":"\n Hello,\n I am a multi-line XML comment.\n"}{"eventType":"EndElement","elementName":"DocumentElement"} \ No newline at end of file +{"eventType":"StartElement","elementName":"DocumentElement","attributes":{"param":"value"}}{"eventType":"StartElement","elementName":"First.Element","attributes":{"some.attr":"some.value"}}{"eventType":"Text","data":"\n ¶ Some Text ®\n "}{"eventType":"EndElement","elementName":"First.Element"}{"eventType":"StartElement","elementName":"SecondElement","attributes":{"param2":"something"}}{"eventType":"Text","data":"\n Pre-Text "}{"eventType":"StartElement","elementName":"Inline"}{"eventType":"Text","data":"Inlined text"}{"eventType":"EndElement","elementName":"Inline"}{"eventType":"Text","data":" Post-text.\n "}{"eventType":"EndElement","elementName":"SecondElement"}{"eventType":"StartElement","elementName":"entities"}{"eventType":"Text","data":"Xml tags begin with \"<\" and end with \">\" Ampersand is & and apostrophe is '"}{"eventType":"EndElement","elementName":"entities"}{"eventType":"StartElement","elementName":"script"}{"eventType":"CDATA","data":"\nfunction sum(a,b)\n{\n return a+b;\n}\n"}{"eventType":"EndElement","elementName":"script"}{"eventType":"Comment","data":"\n Hello,\n I am a multi-line XML comment.\n"}{"eventType":"EndElement","elementName":"DocumentElement"} diff --git a/tests/app/file-system/file-system-tests.ts b/tests/app/file-system/file-system-tests.ts index 7815afe58..2f19fcd82 100644 --- a/tests/app/file-system/file-system-tests.ts +++ b/tests/app/file-system/file-system-tests.ts @@ -239,8 +239,8 @@ function _testIOSSpecificKnownFolder(knownFolderName: string) { } else { TKUnit.assertThrows(testFunc, - `Trying to retrieve the ${knownFolderName} known folder on a platform different from iOS should throw!`, - `The "${knownFolderName}" known folder is available on iOS only!`); + `Trying to retrieve the ${knownFolderName} known folder on a platform different from iOS should throw!`, + `The "${knownFolderName}" known folder is available on iOS only!`); } } @@ -574,7 +574,7 @@ export function test_FileSize(done) { return file.remove(); }).then(() => done()) - .catch(done); + .catch(done); } export function test_UnlockAfterWrite(done) { @@ -586,17 +586,17 @@ export function test_UnlockAfterWrite(done) { return file.remove(); }).then(() => done()) - .catch(done); + .catch(done); } export function test_CreateParentOnNewFile(done) { var documentsFolderName = fs.knownFolders.documents().path; var tempFileName = fs.path.join(documentsFolderName, "folder1", "folder2", "Test_File_Create_Parent.txt"); var file = fs.File.fromPath(tempFileName); - file.writeText("Hello World!").then(() => { + file.writeText("Hello World!").then(() => { return fs.knownFolders.documents().getFolder("folder1").remove(); }).then(() => done()) - .catch(done); + .catch(done); } export function test_FolderClear_RemovesEmptySubfolders(done) { diff --git a/tests/app/globals/globals-tests.ts b/tests/app/globals/globals-tests.ts index 48ba9d59d..994ad70e5 100644 --- a/tests/app/globals/globals-tests.ts +++ b/tests/app/globals/globals-tests.ts @@ -8,20 +8,20 @@ export function test_global_system_import() { TKUnit.assert((global).System, "global.System not defined"); TKUnit.assert(typeof (global).System.import === "function", "global.System.import not a function"); -} +} export function test_global_zonedCallback() { TKUnit.assert(typeof zonedCallback === "function", "zonedCallback not defined"); TKUnit.assert(typeof global.zonedCallback === "function", "global.zonedCallback not a function"); -} +} export function test_global_moduleMerge() { TKUnit.assert(typeof global.moduleMerge === "function", "global.moduleMerge not a function"); -} +} export function test_global_registerModule() { TKUnit.assert(typeof global.registerModule === "function", "global.registerModule not a function"); -} +} export function test_global_registerWebpackModules() { TKUnit.assert(typeof global.registerWebpackModules === "function", "global.registerWebpackModules not a function"); diff --git a/tests/app/http/http-tests.ts b/tests/app/http/http-tests.ts index 39ccc1b8b..4ea6bfdc8 100644 --- a/tests/app/http/http-tests.ts +++ b/tests/app/http/http-tests.ts @@ -128,7 +128,7 @@ export var test_getJSON_fail_when_result_is_not_JSONP = function (done) { }); }; -export var test_gzip_request_explicit = function(done) { +export var test_gzip_request_explicit = function (done) { var result; http.request({ @@ -136,7 +136,8 @@ export var test_gzip_request_explicit = function(done) { method: "GET", headers: { "Accept-Encoding": "gzip" - }}).then(function (r) { + } + }).then(function (r) { result = r; try { TKUnit.assert(typeof (JSON.stringify(result)) === "string", "Result from gzipped stream should be valid JSON object!"); @@ -150,12 +151,13 @@ export var test_gzip_request_explicit = function(done) { }); }; -export var test_gzip_request_implicit = function(done) { +export var test_gzip_request_implicit = function (done) { var result; http.request({ url: "https://postman-echo.com/gzip", - method: "GET"}).then(function (r) { + method: "GET" + }).then(function (r) { result = r; try { TKUnit.assert(typeof (JSON.stringify(result)) === "string", "Result from gzipped stream should be valid JSON object!"); @@ -634,12 +636,12 @@ export var test_request_jsonAsContentSentAndReceivedProperly = function (done) { }; declare var Worker: any; -export var test_getString_WorksProperlyInWorker = function(done) { +export var test_getString_WorksProperlyInWorker = function (done) { let worker = new Worker("./http-string-worker"); - worker.onmessage = function(msg) { + worker.onmessage = function (msg) { done(); }; - worker.onerror = function(e) { + worker.onerror = function (e) { done(e); }; }; diff --git a/tests/app/image-source/image-source-snippet.ts b/tests/app/image-source/image-source-snippet.ts index b8ab9cea2..c341aad70 100644 --- a/tests/app/image-source/image-source-snippet.ts +++ b/tests/app/image-source/image-source-snippet.ts @@ -14,4 +14,4 @@ export function imageSourceFromAsset(imageAsset) { } }); } -// << imagesource-from-imageasset-save-to \ No newline at end of file +// << imagesource-from-imageasset-save-to diff --git a/tests/app/image-source/image-source.md b/tests/app/image-source/image-source.md index 04d3a6922..4b7c746e4 100644 --- a/tests/app/image-source/image-source.md +++ b/tests/app/image-source/image-source.md @@ -53,4 +53,4 @@ The supported formats are `png`, `jpeg`, and `jpg`. The quality parameter is opt ### Creating PNG image file from base64 string The method `fromBase64(source: string): Promise` loads this instance from the specified base64 encoded string asynchronously. -{%snippet imagesource-from-base-string%} \ No newline at end of file +{%snippet imagesource-from-base-string%} diff --git a/tests/app/livesync/app-new-page.css b/tests/app/livesync/app-new-page.css index 5ad9ea7d5..30df29ef4 100644 --- a/tests/app/livesync/app-new-page.css +++ b/tests/app/livesync/app-new-page.css @@ -1,3 +1,4 @@ -Button, Label { +Button, +Label { color: green; -} \ No newline at end of file +} diff --git a/tests/app/livesync/app-new-scss-page.scss b/tests/app/livesync/app-new-scss-page.scss index 5ad9ea7d5..30df29ef4 100644 --- a/tests/app/livesync/app-new-scss-page.scss +++ b/tests/app/livesync/app-new-scss-page.scss @@ -1,3 +1,4 @@ -Button, Label { +Button, +Label { color: green; -} \ No newline at end of file +} diff --git a/tests/app/livesync/application-page.css b/tests/app/livesync/application-page.css index 89fff3b12..b3d05f604 100644 --- a/tests/app/livesync/application-page.css +++ b/tests/app/livesync/application-page.css @@ -1,3 +1,4 @@ -Button, Label { +Button, +Label { color: black; -} \ No newline at end of file +} diff --git a/tests/app/livesync/button-css-page.css b/tests/app/livesync/button-css-page.css index 1f811bb24..68d098e0c 100644 --- a/tests/app/livesync/button-css-page.css +++ b/tests/app/livesync/button-css-page.css @@ -1,3 +1,3 @@ Button { color: green; -} \ No newline at end of file +} diff --git a/tests/app/livesync/button-scss-page.scss b/tests/app/livesync/button-scss-page.scss index 1f811bb24..68d098e0c 100644 --- a/tests/app/livesync/button-scss-page.scss +++ b/tests/app/livesync/button-scss-page.scss @@ -1,3 +1,3 @@ Button { color: green; -} \ No newline at end of file +} diff --git a/tests/app/livesync/livesync-modal-view-page.xml b/tests/app/livesync/livesync-modal-view-page.xml index 8b5ae3cd1..62eecdf17 100644 --- a/tests/app/livesync/livesync-modal-view-page.xml +++ b/tests/app/livesync/livesync-modal-view-page.xml @@ -1,3 +1,3 @@ - + diff --git a/tests/app/name-resolvers-tests/files/other.xml b/tests/app/name-resolvers-tests/files/other.xml index 162275934..07baef738 100644 --- a/tests/app/name-resolvers-tests/files/other.xml +++ b/tests/app/name-resolvers-tests/files/other.xml @@ -1 +1 @@ -other.xml \ No newline at end of file +other.xml diff --git a/tests/app/name-resolvers-tests/files/test.land.xml b/tests/app/name-resolvers-tests/files/test.land.xml index 07270d972..0f2b16d84 100644 --- a/tests/app/name-resolvers-tests/files/test.land.xml +++ b/tests/app/name-resolvers-tests/files/test.land.xml @@ -1 +1 @@ -test.minWH300.xml \ No newline at end of file +test.minWH300.xml diff --git a/tests/app/name-resolvers-tests/files/test.minWH600.xml b/tests/app/name-resolvers-tests/files/test.minWH600.xml index e0c145e88..a4af10111 100644 --- a/tests/app/name-resolvers-tests/files/test.minWH600.xml +++ b/tests/app/name-resolvers-tests/files/test.minWH600.xml @@ -1 +1 @@ -test.monWH450.xml \ No newline at end of file +test.monWH450.xml diff --git a/tests/app/name-resolvers-tests/files/test.xml b/tests/app/name-resolvers-tests/files/test.xml index 3d02faa9c..a6535f35d 100644 --- a/tests/app/name-resolvers-tests/files/test.xml +++ b/tests/app/name-resolvers-tests/files/test.xml @@ -1 +1 @@ -test.xml \ No newline at end of file +test.xml diff --git a/tests/app/navigation/custom-transition.d.ts b/tests/app/navigation/custom-transition.d.ts index 4b14ce81a..958994bdb 100644 --- a/tests/app/navigation/custom-transition.d.ts +++ b/tests/app/navigation/custom-transition.d.ts @@ -3,4 +3,4 @@ import { Transition } from "tns-core-modules/ui/transition"; export class CustomTransition extends Transition { constructor(); constructor(duration: number, curve: any); -} \ No newline at end of file +} diff --git a/tests/app/pages/background-test.xml b/tests/app/pages/background-test.xml index 5699dc180..06414eb24 100644 --- a/tests/app/pages/background-test.xml +++ b/tests/app/pages/background-test.xml @@ -34,4 +34,4 @@ - \ No newline at end of file + diff --git a/tests/app/pages/fonts-test.xml b/tests/app/pages/fonts-test.xml index 5d2b2cb39..d2b2bdff6 100644 --- a/tests/app/pages/fonts-test.xml +++ b/tests/app/pages/fonts-test.xml @@ -81,4 +81,4 @@ - \ No newline at end of file + diff --git a/tests/app/pages/navigation/pageA.ts b/tests/app/pages/navigation/pageA.ts index 079ed62a5..d0e770184 100644 --- a/tests/app/pages/navigation/pageA.ts +++ b/tests/app/pages/navigation/pageA.ts @@ -41,7 +41,7 @@ export function createPage() { lv.height = 200; lv.items = data; lv.on(list.ListView.itemLoadingEvent, (args: list.ItemEventData) => { - var btn = args.view; + var btn = args.view; if (!btn) { btn = new button.Button(); args.view = btn; diff --git a/tests/app/pages/package.json b/tests/app/pages/package.json index 780cb595f..711702985 100644 --- a/tests/app/pages/package.json +++ b/tests/app/pages/package.json @@ -1,2 +1,4 @@ -{ "name" : "testsapp", - "main" : "app.js" } +{ + "name": "testsapp", + "main": "app.js" +} diff --git a/tests/app/pages/page14.xml b/tests/app/pages/page14.xml index 45f44219d..686edb7a4 100644 --- a/tests/app/pages/page14.xml +++ b/tests/app/pages/page14.xml @@ -2,10 +2,10 @@ diff --git a/tests/app/pages/page17.xml b/tests/app/pages/page17.xml index af6b5d26d..ec54ed2b4 100644 --- a/tests/app/pages/page17.xml +++ b/tests/app/pages/page17.xml @@ -1,6 +1,6 @@ - +