testAsyncLoadTemplateErrors : function () { Aria.loadTemplate({ classpath : "test.aria.templates.test.error.BadResources", div : "thisDivIsInTheBody" }, { fn : this._loadTemplateErrorsCallback, scope : this }); },
testAsyncLoadInvalidDependencies : function () { // Inject an invalid item in the cache var cacheItem = ariaCoreCache.getItem("files", "invalidInCache.js", true); cacheItem.status = ariaCoreCache.STATUS_ERROR; Aria.loadTemplate({ classpath : "test.aria.templates.test.error.InvalidCache", div : "thisDivIsInTheBody" }, { fn : this._loadInvalidDependenciesCallback, scope : this }); },