",
{ extractFirstChild: true });
},
*/
testClassicBinding_disableOptimizedProcessing(c) {
this._executeTest(
c,
"
",
// Because this uses the interpreted path we don't end up stripping the attributes.
"
Yellow
",
{ disableOptimizedProcessing: true });
}
testSecurity_markSupported(c) {
this._executeTest(
c,
"
",
"
");
}
}
export class ListViewTemplateOptimizerTests extends TestClass {
constructor() {
super();
this._containerHelper = new CorsicaTests.ListViewContainerHelper();
}
testClassicBinding_processTimeout(c) {
this._executeTest(
c,
"
",
"
Yellow
",
{ processTimeout: -1 });
}
testClassicBinding_href(c) {
var that = this;
this._executeTest(
c,
null,
function (container, data) {
var node = that._containerHelper.getItemNode(container, 0);
LiveUnit.Assert.areEqual("Yellow", node.textContent.replace(/\n/g, ''));
},
{ href: "nonCompatTemplate.html" });
}
}
export class RepeaterTemplateOptimizerTests extends TestClass {
constructor() {
super();
this._containerHelper = new CorsicaTests.RepeaterContainerHelper();
}
testNonExtractChild(c) {
var that = this;
this._executeTest(
c,
"
",
"
");
}
}
}
LiveUnit.registerTestClass("CorsicaTests.ListViewTemplateOptimizerTests");
LiveUnit.registerTestClass("CorsicaTests.RepeaterTemplateOptimizerTests");