File tree 1 file changed +3
-3
lines changed
tests/app/xml-declaration 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ export function test_loadWithOptionsFromTNS() {
126
126
127
127
export function test_loadWithOptionsFromTNSPath ( ) {
128
128
var v = builder . load ( {
129
- path : "tns_modules/tns-core-modules/ ui/label" ,
129
+ path : "ui/label" ,
130
130
name : "Label"
131
131
} ) ;
132
132
@@ -139,7 +139,7 @@ export function test_loadWithAttributes() {
139
139
var lColor = "#FF0000" ; // red
140
140
141
141
var v = builder . load ( {
142
- path : "tns_modules/tns-core-modules/ ui/label" ,
142
+ path : "ui/label" ,
143
143
name : "Label" ,
144
144
attributes : {
145
145
text : lText ,
@@ -517,7 +517,7 @@ export function test_parse_ShouldParseCustomComponentWithoutXml() {
517
517
} ;
518
518
519
519
export function test_parse_ShouldParseCustomComponentWithoutXmlFromTNSModules ( ) {
520
- var p = < Page > builder . parse ( '<Page xmlns' + ':customControls="tns_modules/tns-core-modules/ ui/label"><customControls:Label /></Page>' ) ;
520
+ var p = < Page > builder . parse ( '<Page xmlns' + ':customControls="ui/label"><customControls:Label /></Page>' ) ;
521
521
var ctrl = p . content ;
522
522
523
523
TKUnit . assert ( ctrl instanceof Label , "Expected result: custom control is defined!; Actual result: " + ctrl ) ;
You can’t perform that action at this time.
0 commit comments