import { AsyncTestCompleter, beforeEach, ddescribe, xdescribe, describe, el, dispatchEvent, expect, iit, inject, beforeEachBindings, it, xit, SpyObject, proxy } from 'angular2/test_lib'; import {isBlank} from 'angular2/src/facade/lang'; import {ListWrapper} from 'angular2/src/facade/collection'; import {DomProtoView} from 'angular2/src/render/dom/view/proto_view'; import {ElementBinder} from 'angular2/src/render/dom/view/element_binder'; import {DomView} from 'angular2/src/render/dom/view/view'; import {DomElement} from 'angular2/src/render/dom/view/element'; import {DOM} from 'angular2/src/dom/dom_adapter'; export function main() { describe('DomView', () => { function createProtoView(binders = null) { if (isBlank(binders)) { binders = []; } var rootEl = el('
'); return new DomProtoView( {element: rootEl, elementBinders: binders, transitiveContentTagCount: 0}); } function createView(pv = null, boundElementCount = 0) { if (isBlank(pv)) { pv = createProtoView(); } var root = el('