fix(tests): fixes public api spec

This commit is contained in:
vsavkin 2015-10-08 11:10:46 -07:00
parent d63f3c123e
commit d60c7a9118

View File

@ -73,6 +73,8 @@ var NG_API = [
'AppRootUrl.value', 'AppRootUrl.value',
'AppRootUrl.value=', 'AppRootUrl.value=',
'AppViewManager', 'AppViewManager',
/*
Abstract methods
'AppViewManager.attachViewInContainer()', 'AppViewManager.attachViewInContainer()',
'AppViewManager.createEmbeddedViewInContainer()', 'AppViewManager.createEmbeddedViewInContainer()',
'AppViewManager.createHostViewInContainer()', 'AppViewManager.createHostViewInContainer()',
@ -84,12 +86,16 @@ var NG_API = [
'AppViewManager.getHostElement()', 'AppViewManager.getHostElement()',
'AppViewManager.getNamedElementInComponentView()', 'AppViewManager.getNamedElementInComponentView()',
'AppViewManager.getViewContainer()', 'AppViewManager.getViewContainer()',
*/
'ApplicationRef', 'ApplicationRef',
/*
Abstract methods
'ApplicationRef.bootstrap()', 'ApplicationRef.bootstrap()',
'ApplicationRef.dispose()', 'ApplicationRef.dispose()',
'ApplicationRef.injector', 'ApplicationRef.injector',
'ApplicationRef.registerBootstrapListener()', 'ApplicationRef.registerBootstrapListener()',
'ApplicationRef.zone', 'ApplicationRef.zone',
*/
'AsyncPipe', 'AsyncPipe',
'AsyncPipe.onDestroy()', 'AsyncPipe.onDestroy()',
'AsyncPipe.transform()', 'AsyncPipe.transform()',
@ -137,10 +143,12 @@ var NG_API = [
'ChangeDetectionStrategy', 'ChangeDetectionStrategy',
'ChangeDetectionStrategy.index', 'ChangeDetectionStrategy.index',
'ChangeDetectorRef', 'ChangeDetectorRef',
/*
Abstract methods
'ChangeDetectorRef.detach()', 'ChangeDetectorRef.detach()',
'ChangeDetectorRef.detectChanges()', 'ChangeDetectorRef.detectChanges()',
'ChangeDetectorRef.markForCheck()', 'ChangeDetectorRef.markForCheck()',
'ChangeDetectorRef.reattach()', 'ChangeDetectorRef.reattach()',*/
'CheckboxControlValueAccessor', 'CheckboxControlValueAccessor',
'CheckboxControlValueAccessor.onChange', 'CheckboxControlValueAccessor.onChange',
'CheckboxControlValueAccessor.onChange=', 'CheckboxControlValueAccessor.onChange=',
@ -151,8 +159,11 @@ var NG_API = [
'CheckboxControlValueAccessor.writeValue()', 'CheckboxControlValueAccessor.writeValue()',
'Class:js', 'Class:js',
'Compiler', 'Compiler',
/*
Abstract methods
'Compiler.compileInHost()', 'Compiler.compileInHost()',
'Compiler.clearCache()', 'Compiler.clearCache()',
*/
'Component', 'Component',
'Component.bindings', 'Component.bindings',
'Component.changeDetection', 'Component.changeDetection',
@ -196,7 +207,10 @@ var NG_API = [
'ComponentRef', 'ComponentRef',
'ComponentRef.componentType', 'ComponentRef.componentType',
'ComponentRef.componentType=', 'ComponentRef.componentType=',
/*
Abstract method
'ComponentRef.dispose()', 'ComponentRef.dispose()',
*/
'ComponentRef.hostComponent', 'ComponentRef.hostComponent',
'ComponentRef.hostComponentType', 'ComponentRef.hostComponentType',
'ComponentRef.hostView', 'ComponentRef.hostView',
@ -352,14 +366,16 @@ var NG_API = [
'DebugElement.componentInstance', 'DebugElement.componentInstance',
'DebugElement.componentViewChildren', 'DebugElement.componentViewChildren',
'DebugElement.elementRef', 'DebugElement.elementRef',
/*
Abstract methods
'DebugElement.getDirectiveInstance()', 'DebugElement.getDirectiveInstance()',
'DebugElement.getLocal()', 'DebugElement.getLocal()',
'DebugElement.hasDirective()', 'DebugElement.hasDirective()',
'DebugElement.inject()', 'DebugElement.inject()',
*/
'DebugElement.nativeElement', 'DebugElement.nativeElement',
'DebugElement.query()', 'DebugElement.query()',
'DebugElement.queryAll()', 'DebugElement.queryAll()',
'DebugElement.triggerEventHandler()',
'DecimalPipe', 'DecimalPipe',
'DecimalPipe.transform()', 'DecimalPipe.transform()',
'DefaultValidators', 'DefaultValidators',
@ -410,9 +426,12 @@ var NG_API = [
'DirectiveResolver', 'DirectiveResolver',
'DirectiveResolver.resolve()', 'DirectiveResolver.resolve()',
'DynamicComponentLoader', 'DynamicComponentLoader',
/*
Abstract methods
'DynamicComponentLoader.loadAsRoot()', 'DynamicComponentLoader.loadAsRoot()',
'DynamicComponentLoader.loadIntoLocation()', 'DynamicComponentLoader.loadIntoLocation()',
'DynamicComponentLoader.loadNextToLocation()', 'DynamicComponentLoader.loadNextToLocation()',
*/
'ELEMENT_PROBE_BINDINGS', 'ELEMENT_PROBE_BINDINGS',
'ElementRef', 'ElementRef',
'ElementRef.boundElementIndex', 'ElementRef.boundElementIndex',
@ -514,7 +533,10 @@ var NG_API = [
'Injector.resolveAndCreateChild()', 'Injector.resolveAndCreateChild()',
'Injector.resolveAndInstantiate()', 'Injector.resolveAndInstantiate()',
'InstantiationError', 'InstantiationError',
/*
Abstract method
'InstantiationError.addKey()', 'InstantiationError.addKey()',
*/
'InstantiationError.causeKey', 'InstantiationError.causeKey',
'InstantiationError.context', 'InstantiationError.context',
'InstantiationError.injectors', 'InstantiationError.injectors',
@ -548,8 +570,11 @@ var NG_API = [
'KeyValueDiffers.factories', 'KeyValueDiffers.factories',
'KeyValueDiffers.find()', 'KeyValueDiffers.find()',
'LifeCycle', // TODO: replace with ApplicationRef 'LifeCycle', // TODO: replace with ApplicationRef
/*
Abstract methods
'LifeCycle.registerWith()', 'LifeCycle.registerWith()',
'LifeCycle.tick()', 'LifeCycle.tick()',
*/
'LowerCasePipe', 'LowerCasePipe',
'LowerCasePipe.transform()', 'LowerCasePipe.transform()',
'NG_VALIDATORS', 'NG_VALIDATORS',
@ -744,12 +769,15 @@ var NG_API = [
'NgSwitchWhen', 'NgSwitchWhen',
'NgSwitchWhen.ngSwitchWhen=', 'NgSwitchWhen.ngSwitchWhen=',
'NgZone', 'NgZone',
/*
Abstract methods
'NgZone.overrideOnErrorHandler()', 'NgZone.overrideOnErrorHandler()',
'NgZone.overrideOnEventDone()', 'NgZone.overrideOnEventDone()',
'NgZone.overrideOnTurnDone()', 'NgZone.overrideOnTurnDone()',
'NgZone.overrideOnTurnStart()', 'NgZone.overrideOnTurnStart()',
'NgZone.run()', 'NgZone.run()',
'NgZone.runOutsideAngular()', 'NgZone.runOutsideAngular()',
*/
'NoAnnotationError', 'NoAnnotationError',
'NoAnnotationError.message', 'NoAnnotationError.message',
'NoAnnotationError.stackTrace', 'NoAnnotationError.stackTrace',
@ -798,9 +826,12 @@ var NG_API = [
'PipeMetadata.name', 'PipeMetadata.name',
'PipeMetadata.pure', 'PipeMetadata.pure',
'PlatformRef', 'PlatformRef',
/*
Abstract methods
'PlatformRef.application()', 'PlatformRef.application()',
'PlatformRef.asyncApplication()', 'PlatformRef.asyncApplication()',
'PlatformRef.dispose()', 'PlatformRef.dispose()',
*/
'PlatformRef.injector', 'PlatformRef.injector',
'Predicate:dart', 'Predicate:dart',
'Input', 'Input',
@ -864,6 +895,8 @@ var NG_API = [
'RenderViewWithFragments.viewRef', 'RenderViewWithFragments.viewRef',
'RenderViewWithFragments.viewRef=', 'RenderViewWithFragments.viewRef=',
'Renderer', 'Renderer',
/*
Abstract methods
'Renderer.attachFragmentAfterElement()', 'Renderer.attachFragmentAfterElement()',
'Renderer.attachFragmentAfterFragment()', 'Renderer.attachFragmentAfterFragment()',
'Renderer.createProtoView()', 'Renderer.createProtoView()',
@ -871,17 +904,18 @@ var NG_API = [
'Renderer.createRootHostView()', 'Renderer.createRootHostView()',
'Renderer.createView()', 'Renderer.createView()',
'Renderer.dehydrateView()', 'Renderer.dehydrateView()',
'Renderer.destroyView()', 'Renderer.destroyView()',
'Renderer.detachFragment()', 'Renderer.detachFragment()',
'Renderer.getNativeElementSync()', 'Renderer.getNativeElementSync()',
'Renderer.hydrateView()', 'Renderer.hydrateView()',
'Renderer.invokeElementMethod()', 'Renderer.invokeElementMethod()',
'Renderer.setElementAttribute()', 'Renderer.setElementAttribute()',
'Renderer.setElementClass()', 'Renderer.setElementClass()',
'Renderer.setElementProperty()', 'Renderer.setElementProperty()',
'Renderer.setElementStyle()', 'Renderer.setElementStyle()',
'Renderer.setEventDispatcher()', 'Renderer.setEventDispatcher()',
'Renderer.setText()', 'Renderer.setText()',
*/
'ResolvedBinding', 'ResolvedBinding',
'ResolvedBinding.key', 'ResolvedBinding.key',
'ResolvedBinding.key=', 'ResolvedBinding.key=',
@ -925,7 +959,10 @@ var NG_API = [
'TemplateRef', 'TemplateRef',
'TemplateRef.elementRef', 'TemplateRef.elementRef',
'TemplateRef.elementRef=', 'TemplateRef.elementRef=',
'TemplateRef.hasLocal()', /*
Abstract method
'TemplateRef.hasLocal()',
*/
'TemplateRef.protoViewRef', 'TemplateRef.protoViewRef',
'Type:js', 'Type:js',
'Title', 'Title',
@ -985,16 +1022,20 @@ var NG_API = [
'ViewChildrenMetadata.varBindings', 'ViewChildrenMetadata.varBindings',
'ViewContainerRef', 'ViewContainerRef',
'ViewContainerRef.clear()', 'ViewContainerRef.clear()',
'ViewContainerRef.createEmbeddedView()', /*
'ViewContainerRef.createHostView()', Abstract methods
'ViewContainerRef.detach()', 'ViewContainerRef.createEmbeddedView()',
'ViewContainerRef.createHostView()',
'ViewContainerRef.detach()',
*/
'ViewContainerRef.element', 'ViewContainerRef.element',
'ViewContainerRef.element=', 'ViewContainerRef.element=',
'ViewContainerRef.get()', /*
'ViewContainerRef.indexOf()', 'ViewContainerRef.get()',
'ViewContainerRef.insert()', 'ViewContainerRef.indexOf()',
'ViewContainerRef.insert()',
*/
'ViewContainerRef.length', 'ViewContainerRef.length',
'ViewContainerRef.remove()',
'ViewContainerRef.viewManager', 'ViewContainerRef.viewManager',
'ViewContainerRef.viewManager=', 'ViewContainerRef.viewManager=',
'ViewEncapsulation#Emulated', 'ViewEncapsulation#Emulated',
@ -1032,7 +1073,10 @@ var NG_API = [
'ViewRef.changeDetectorRef=', 'ViewRef.changeDetectorRef=',
'ViewRef.render', 'ViewRef.render',
'ViewRef.renderFragment', 'ViewRef.renderFragment',
'ViewRef.setLocal()', /*
Abstract method
'ViewRef.setLocal()',
*/
'WrappedException', 'WrappedException',
'WrappedException.context', 'WrappedException.context',
'WrappedException.message', 'WrappedException.message',