@@ -700,8 +700,8 @@ export function test_parseSpansDirectlyOnLabel() {
700
700
function testAction ( views : Array < viewModule . View > ) {
701
701
var page = < Page > views [ 0 ] ;
702
702
var testLabel = < Label > page . getViewById ( "testLabel" ) ;
703
- TKUnit . assertEqual ( testLabel . formattedText + "" , "We areAwesome" , "Formatted string should be set " ) ;
704
- TKUnit . assertEqual ( testLabel . text + "" , "We areAwesome" , "Formatted string should be set " ) ;
703
+ TKUnit . assertEqual ( testLabel . formattedText + "" , "We areAwesome" , "formattedText " ) ;
704
+ TKUnit . assertEqual ( testLabel . text + "" , "We areAwesome" , "text " ) ;
705
705
}
706
706
707
707
helper . navigate ( function ( ) { return p ; } ) ;
@@ -713,8 +713,8 @@ export function test_parseSpansDirectlyOnButton() {
713
713
function testAction ( views : Array < viewModule . View > ) {
714
714
var page = < Page > views [ 0 ] ;
715
715
var testButton = < Button > page . getViewById ( "testButton" ) ;
716
- TKUnit . assertEqual ( testButton . formattedText + "" , "We areAwesome" , "Formatted string should be set " ) ;
717
- TKUnit . assertEqual ( testButton . text + "" , "We areAwesome" , "Formatted string should be set " ) ;
716
+ TKUnit . assertEqual ( testButton . formattedText + "" , "We areAwesome" , "formattedText " ) ;
717
+ TKUnit . assertEqual ( testButton . text + "" , "We areAwesome" , "text " ) ;
718
718
}
719
719
720
720
helper . navigate ( function ( ) { return p ; } ) ;
@@ -726,8 +726,8 @@ export function test_parseFormattedStringWithoutFormattedText() {
726
726
function testAction ( views : Array < viewModule . View > ) {
727
727
var page = < Page > views [ 0 ] ;
728
728
var testButton = < Button > page . getViewById ( "testButton" ) ;
729
- TKUnit . assertEqual ( testButton . formattedText + "" , "author num_comments" , "Formatted string should be set " ) ;
730
- TKUnit . assertEqual ( testButton . text + "" , "author num_comments" , "Formatted string should be set " ) ;
729
+ TKUnit . assertEqual ( testButton . formattedText + "" , "author num_comments" , "formattedText " ) ;
730
+ TKUnit . assertEqual ( testButton . text + "" , "author num_comments" , "text " ) ;
731
731
}
732
732
733
733
helper . navigate ( function ( ) { return p ; } ) ;
@@ -739,8 +739,8 @@ export function test_parseFormattedStringFullSyntax() {
739
739
function testAction ( views : Array < viewModule . View > ) {
740
740
var page = < Page > views [ 0 ] ;
741
741
var testButton = < Button > page . getViewById ( "testButton" ) ;
742
- TKUnit . assertEqual ( testButton . formattedText + "" , "author num_comments" , "Formatted string should be set " ) ;
743
- TKUnit . assertEqual ( testButton . text + "" , "author num_comments" , "Formatted string should be set " ) ;
742
+ TKUnit . assertEqual ( testButton . formattedText + "" , "author num_comments" , "formattedText " ) ;
743
+ TKUnit . assertEqual ( testButton . text + "" , "author num_comments" , "text " ) ;
744
744
}
745
745
746
746
helper . navigate ( function ( ) { return p ; } ) ;
@@ -752,8 +752,8 @@ export function test_parseSpansDirectlyToFormattedString() {
752
752
function testAction ( views : Array < viewModule . View > ) {
753
753
var page = < Page > views [ 0 ] ;
754
754
var testButton = < Button > page . getViewById ( "testButton" ) ;
755
- TKUnit . assertEqual ( testButton . formattedText + "" , "author num_comments" , "Formatted string should be set " ) ;
756
- TKUnit . assertEqual ( testButton . text + "" , "author num_comments" , "Formatted string should be set " ) ;
755
+ TKUnit . assertEqual ( testButton . formattedText + "" , "author num_comments" , "formattedText " ) ;
756
+ TKUnit . assertEqual ( testButton . text + "" , "author num_comments" , "text " ) ;
757
757
}
758
758
759
759
helper . navigate ( function ( ) { return p ; } ) ;
0 commit comments