diff --git a/apps/tests/file-system-tests.ts b/apps/tests/file-system-tests.ts index b99e4fca8b..142983a329 100644 --- a/apps/tests/file-system-tests.ts +++ b/apps/tests/file-system-tests.ts @@ -336,12 +336,13 @@ export var testFileNameExtension = function () { export var testFileExists = function () { // >> file-system-fileexists var documents = fs.knownFolders.documents(); - var file = documents.getFile("Test.txt"); - var exists = fs.File.exists(file.path); + var filePath = fs.path.join(documents.path, "Test.txt"); + var exists = fs.File.exists(filePath); // >> (hide) - TKUnit.assert(exists, "File.exists API not working."); - exists = fs.File.exists(file.path + "_"); TKUnit.assert(!exists, "File.exists API not working."); + var file = documents.getFile("Test.txt"); + exists = fs.File.exists(file.path); + TKUnit.assert(exists, "File.exists API not working."); file.remove(); // << (hide) // << file-system-fileexists diff --git a/apps/tests/ui/action-bar/action-bar.md b/apps/tests/ui/action-bar/action-bar.md index d15f5153bd..a79013c0fc 100644 --- a/apps/tests/ui/action-bar/action-bar.md +++ b/apps/tests/ui/action-bar/action-bar.md @@ -53,7 +53,7 @@ The icon can only be set in Android platform. It is hidden by default, but you e ``` -The position option is platform specific. The available values are as follows: +The position option is platform-specific. The available values are as follows: * **Android** - `actionBar`, `actionBarIfRoom` and `popup`. The default is `actionBar`. * **iOS** - `left` and `right`. The default is `left`. @@ -77,32 +77,31 @@ The position option is platform specific. The available values are as follows: Set `ios.systemIcon` to a number representing the iOS system item to be displayed. Use this property instead of `ActionItem.icon` if you want to diplsay a built-in iOS system icon. Note: systemIcon is not supported on NavigationButton in iOS -The value should be a number from the `UIBarButtonSystemItem` enumeration -(https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIBarButtonItem_Class/#//apple_ref/c/tdef/UIBarButtonSystemItem) -0: Done -1: Cancel -2: Edit -3: Save -4: Add -5: FlexibleSpace -6: FixedSpace -7: Compose -8: Reply -9: Action -10: Organize -11: Bookmarks -12: Search -13: Refresh -14: Stop -15: Camera -16: Trash -17: Play -18: Pause -19: Rewind -20: FastForward -21: Undo -22: Redo -23: PageCurl +The value should be a number from the [UIBarButtonSystemItem](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIBarButtonItem_Class/#//apple_ref/c/tdef/UIBarButtonSystemItem) enumeration: +0: `Done` +1: `Cancel` +2: `Edit` +3: `Save` +4: `Add` +5: `FlexibleSpace` +6: `FixedSpace` +7: `Compose` +8: `Reply` +9: `Action` +10: `Organize` +11: `Bookmarks` +12: `Search` +13: `Refresh` +14: `Stop` +15: `Camera` +16: `Trash` +17: `Play` +18: `Pause` +19: `Rewind` +20: `FastForward` +21: `Undo` +22: `Redo` +23: `PageCurl` ### Android Set `android.systemIcon` the name of the system drawable resource to be displayed. diff --git a/apps/tests/ui/border/border.md b/apps/tests/ui/border/border.md index 1656a157ef..b619d8f0a5 100644 --- a/apps/tests/ui/border/border.md +++ b/apps/tests/ui/border/border.md @@ -4,7 +4,7 @@ title: "border" description: "Examples for using Border" --- # Border -Using borders requires the "ui/border" module. +Using borders requires the Border module. ### Declaring a Border. diff --git a/apps/tests/ui/image/image.md b/apps/tests/ui/image/image.md index cd004bc9a6..48ba7cb847 100644 --- a/apps/tests/ui/image/image.md +++ b/apps/tests/ui/image/image.md @@ -22,17 +22,17 @@ Binding the image source property to a view-model property. ``` -### How to create an image and set its source. +### Creating an image and setting its source -### How to create an image and set its src. +### Creating an image and setting its src -### How to create an image and set its src to file within the application. +### Creating an image and setting its src to a file within the application -### How to create an image and set its src to Data URI. +### Creating an image and setting its src to Data URI -### How to set image stretching. +### Setting image stretching diff --git a/apps/tests/ui/label/label.md b/apps/tests/ui/label/label.md index d37bc8f991..b15fd62e1c 100644 --- a/apps/tests/ui/label/label.md +++ b/apps/tests/ui/label/label.md @@ -13,20 +13,20 @@ Using a label requires the Label module. {%raw%}