From cc337094e97ef406a98cff0dec3df20a706a7ec4 Mon Sep 17 00:00:00 2001 From: Rossen Hristov Date: Thu, 12 Jan 2017 14:12:41 +0200 Subject: [PATCH] Fix text & fromattedText failing tests --- tests/app/ui/tab-view/tab-view-tests.ts | 2 +- .../xml-declaration/xml-declaration-tests.ts | 20 +++++++++---------- .../ui/text-base/text-base.android.ts | 1 + .../ui/text-base/text-base.ios.ts | 4 +++- .../ui/text-field/text-field.ios.ts | 4 ---- .../ui/text-view/text-view.ios.ts | 4 ---- 6 files changed, 15 insertions(+), 20 deletions(-) diff --git a/tests/app/ui/tab-view/tab-view-tests.ts b/tests/app/ui/tab-view/tab-view-tests.ts index f6f818922..1e6af6658 100644 --- a/tests/app/ui/tab-view/tab-view-tests.ts +++ b/tests/app/ui/tab-view/tab-view-tests.ts @@ -330,7 +330,7 @@ export class TabViewTest extends testModule.UITest { assertFontsAreEqual(tabViewTestsNative.getNativeFont(this.testView), nativeFont, "Font must be bold 12 monospace after rebinding items."); //console.log(`>>>>>>>>>>>>> nativeFont: ${fontToString(nativeFont)}`); - console.log(`>>>>>>>>>>>>> RESET`); + //console.log(`>>>>>>>>>>>>> RESET`); this.testView.style.font = unsetValue; assertFontsAreEqual(tabViewTestsNative.getNativeFont(this.testView), originalFont, "Font must be the original one after resetting the style."); } diff --git a/tests/app/xml-declaration/xml-declaration-tests.ts b/tests/app/xml-declaration/xml-declaration-tests.ts index e9f5b3de6..1ca9ea566 100644 --- a/tests/app/xml-declaration/xml-declaration-tests.ts +++ b/tests/app/xml-declaration/xml-declaration-tests.ts @@ -700,8 +700,8 @@ export function test_parseSpansDirectlyOnLabel() { function testAction(views: Array) { var page = views[0]; var testLabel =