angular-docs-cn/modules/angular2/test/public_api_spec.ts

1737 lines
50 KiB
TypeScript

import {
AsyncTestCompleter,
beforeEach,
ddescribe,
describe,
expect,
iit,
inject,
it,
xdescribe,
xit
} from 'angular2/testing_internal';
import {IS_DART} from 'angular2/src/facade/lang';
import {getSymbolsFromLibrary} from './symbol_inspector/symbol_inspector';
import {SymbolsDiff} from './symbol_inspector/symbol_differ';
// =================================================================================================
// =================================================================================================
// =========== S T O P - S T O P - S T O P - S T O P - S T O P - S T O P ===========
// =================================================================================================
// =================================================================================================
//
// DO NOT EDIT THIS LIST OF PUBLIC APIS UNLESS YOU GET IT CLEARED BY: mhevery, vsavkin, or tbosch!
//
// =================================================================================================
// =================================================================================================
var NG_COMMON = [
'AbstractControl',
'AbstractControl.asyncValidator',
'AbstractControl.asyncValidator=',
'AbstractControl.dirty',
'AbstractControl.errors',
'AbstractControl.find()',
'AbstractControl.getError()',
'AbstractControl.hasError()',
'AbstractControl.markAsDirty()',
'AbstractControl.markAsPending()',
'AbstractControl.markAsTouched()',
'AbstractControl.pending',
'AbstractControl.pristine',
'AbstractControl.setErrors()',
'AbstractControl.setParent()',
'AbstractControl.status',
'AbstractControl.statusChanges',
'AbstractControl.touched',
'AbstractControl.untouched',
'AbstractControl.updateValueAndValidity()',
'AbstractControl.valid',
'AbstractControl.validator',
'AbstractControl.validator=',
'AbstractControl.value',
'AbstractControl.valueChanges',
'AbstractControlDirective',
'AbstractControlDirective.control',
'AbstractControlDirective.dirty',
'AbstractControlDirective.errors',
'AbstractControlDirective.path',
'AbstractControlDirective.pristine',
'AbstractControlDirective.touched',
'AbstractControlDirective.untouched',
'AbstractControlDirective.valid',
'AbstractControlDirective.value',
'AsyncPipe',
'AsyncPipe.ngOnDestroy()',
'AsyncPipe.transform()',
'COMMON_DIRECTIVES',
'COMMON_PIPES',
'CORE_DIRECTIVES',
'CheckboxControlValueAccessor',
'CheckboxControlValueAccessor.onChange',
'CheckboxControlValueAccessor.onChange=',
'CheckboxControlValueAccessor.onTouched',
'CheckboxControlValueAccessor.onTouched=',
'CheckboxControlValueAccessor.registerOnChange()',
'CheckboxControlValueAccessor.registerOnTouched()',
'CheckboxControlValueAccessor.writeValue()',
'Control',
'Control.asyncValidator',
'Control.asyncValidator=',
'Control.dirty',
'Control.errors',
'Control.find()',
'Control.getError()',
'Control.hasError()',
'Control.markAsDirty()',
'Control.markAsPending()',
'Control.markAsTouched()',
'Control.pending',
'Control.pristine',
'Control.registerOnChange()',
'Control.setErrors()',
'Control.setParent()',
'Control.status',
'Control.statusChanges',
'Control.touched',
'Control.untouched',
'Control.updateValue()',
'Control.updateValueAndValidity()',
'Control.valid',
'Control.validator',
'Control.validator=',
'Control.value',
'Control.valueChanges',
'ControlArray',
'ControlArray.asyncValidator',
'ControlArray.asyncValidator=',
'ControlArray.at()',
'ControlArray.controls',
'ControlArray.controls=',
'ControlArray.dirty',
'ControlArray.errors',
'ControlArray.find()',
'ControlArray.getError()',
'ControlArray.hasError()',
'ControlArray.insert()',
'ControlArray.length',
'ControlArray.markAsDirty()',
'ControlArray.markAsPending()',
'ControlArray.markAsTouched()',
'ControlArray.pending',
'ControlArray.pristine',
'ControlArray.push()',
'ControlArray.removeAt()',
'ControlArray.setErrors()',
'ControlArray.setParent()',
'ControlArray.status',
'ControlArray.statusChanges',
'ControlArray.touched',
'ControlArray.untouched',
'ControlArray.updateValueAndValidity()',
'ControlArray.valid',
'ControlArray.validator',
'ControlArray.validator=',
'ControlArray.value',
'ControlArray.valueChanges',
'ControlContainer',
'ControlContainer.control',
'ControlContainer.dirty',
'ControlContainer.errors',
'ControlContainer.formDirective',
'ControlContainer.name',
'ControlContainer.name=',
'ControlContainer.path',
'ControlContainer.pristine',
'ControlContainer.touched',
'ControlContainer.untouched',
'ControlContainer.valid',
'ControlContainer.value',
'ControlGroup',
'ControlGroup.addControl()',
'ControlGroup.asyncValidator',
'ControlGroup.asyncValidator=',
'ControlGroup.contains()',
'ControlGroup.controls',
'ControlGroup.controls=',
'ControlGroup.dirty',
'ControlGroup.errors',
'ControlGroup.exclude()',
'ControlGroup.find()',
'ControlGroup.getError()',
'ControlGroup.hasError()',
'ControlGroup.include()',
'ControlGroup.markAsDirty()',
'ControlGroup.markAsPending()',
'ControlGroup.markAsTouched()',
'ControlGroup.pending',
'ControlGroup.pristine',
'ControlGroup.removeControl()',
'ControlGroup.setErrors()',
'ControlGroup.setParent()',
'ControlGroup.status',
'ControlGroup.statusChanges',
'ControlGroup.touched',
'ControlGroup.untouched',
'ControlGroup.updateValueAndValidity()',
'ControlGroup.valid',
'ControlGroup.validator',
'ControlGroup.validator=',
'ControlGroup.value',
'ControlGroup.valueChanges',
'ControlValueAccessor:dart',
'CurrencyPipe',
'CurrencyPipe.transform()',
'DatePipe',
'DatePipe.supports()',
'DatePipe.transform()',
'DecimalPipe',
'DecimalPipe.transform()',
'DefaultValueAccessor',
'DefaultValueAccessor.onChange',
'DefaultValueAccessor.onChange=',
'DefaultValueAccessor.onTouched',
'DefaultValueAccessor.onTouched=',
'DefaultValueAccessor.registerOnChange()',
'DefaultValueAccessor.registerOnTouched()',
'DefaultValueAccessor.writeValue()',
'FORM_BINDINGS',
'FORM_DIRECTIVES',
'FORM_PROVIDERS',
'Form:dart',
'FormBuilder',
'FormBuilder.array()',
'FormBuilder.control()',
'FormBuilder.group()',
'JsonPipe',
'JsonPipe.transform()',
'LowerCasePipe',
'LowerCasePipe.transform()',
'MaxLengthValidator',
'MaxLengthValidator.validate()',
'MinLengthValidator',
'MinLengthValidator.validate()',
'NG_ASYNC_VALIDATORS',
'NG_VALIDATORS',
'NG_VALUE_ACCESSOR',
'NgClass',
'NgClass.initialClasses=',
'NgClass.ngDoCheck()',
'NgClass.ngOnDestroy()',
'NgClass.rawClass=',
'NgControl',
'NgControl.asyncValidator',
'NgControl.control',
'NgControl.dirty',
'NgControl.errors',
'NgControl.name',
'NgControl.name=',
'NgControl.path',
'NgControl.pristine',
'NgControl.touched',
'NgControl.untouched',
'NgControl.valid',
'NgControl.validator',
'NgControl.value',
'NgControl.valueAccessor',
'NgControl.valueAccessor=',
'NgControlGroup',
'NgControlGroup.asyncValidator',
'NgControlGroup.control',
'NgControlGroup.dirty',
'NgControlGroup.errors',
'NgControlGroup.formDirective',
'NgControlGroup.name',
'NgControlGroup.name=',
'NgControlGroup.ngOnDestroy()',
'NgControlGroup.ngOnInit()',
'NgControlGroup.path',
'NgControlGroup.pristine',
'NgControlGroup.touched',
'NgControlGroup.untouched',
'NgControlGroup.valid',
'NgControlGroup.validator',
'NgControlGroup.value',
'NgControlName',
'NgControlName.asyncValidator',
'NgControlName.control',
'NgControlName.dirty',
'NgControlName.errors',
'NgControlName.formDirective',
'NgControlName.model',
'NgControlName.model=',
'NgControlName.name',
'NgControlName.name=',
'NgControlName.ngOnChanges()',
'NgControlName.ngOnDestroy()',
'NgControlName.path',
'NgControlName.pristine',
'NgControlName.touched',
'NgControlName.untouched',
'NgControlName.update',
'NgControlName.update=',
'NgControlName.valid',
'NgControlName.validator',
'NgControlName.value',
'NgControlName.valueAccessor',
'NgControlName.valueAccessor=',
'NgControlName.viewModel',
'NgControlName.viewModel=',
'NgControlName.viewToModelUpdate()',
'NgControlStatus',
'NgControlStatus.ngClassDirty',
'NgControlStatus.ngClassInvalid',
'NgControlStatus.ngClassPristine',
'NgControlStatus.ngClassTouched',
'NgControlStatus.ngClassUntouched',
'NgControlStatus.ngClassValid',
'NgFor',
'NgFor.ngDoCheck()',
'NgFor.ngForOf=',
'NgFor.ngForTemplate=',
'NgForm',
'NgForm.addControl()',
'NgForm.addControlGroup()',
'NgForm.control',
'NgForm.controls',
'NgForm.dirty',
'NgForm.errors',
'NgForm.form',
'NgForm.form=',
'NgForm.formDirective',
'NgForm.getControl()',
'NgForm.getControlGroup()',
'NgForm.name',
'NgForm.name=',
'NgForm.ngSubmit',
'NgForm.ngSubmit=',
'NgForm.onSubmit()',
'NgForm.path',
'NgForm.pristine',
'NgForm.removeControl()',
'NgForm.removeControlGroup()',
'NgForm.touched',
'NgForm.untouched',
'NgForm.updateModel()',
'NgForm.valid',
'NgForm.value',
'NgFormControl',
'NgFormControl.asyncValidator',
'NgFormControl.control',
'NgFormControl.dirty',
'NgFormControl.errors',
'NgFormControl.form',
'NgFormControl.form=',
'NgFormControl.model',
'NgFormControl.model=',
'NgFormControl.name',
'NgFormControl.name=',
'NgFormControl.ngOnChanges()',
'NgFormControl.path',
'NgFormControl.pristine',
'NgFormControl.touched',
'NgFormControl.untouched',
'NgFormControl.update',
'NgFormControl.update=',
'NgFormControl.valid',
'NgFormControl.validator',
'NgFormControl.value',
'NgFormControl.valueAccessor',
'NgFormControl.valueAccessor=',
'NgFormControl.viewModel',
'NgFormControl.viewModel=',
'NgFormControl.viewToModelUpdate()',
'NgFormModel',
'NgFormModel.addControl()',
'NgFormModel.addControlGroup()',
'NgFormModel.control',
'NgFormModel.directives',
'NgFormModel.directives=',
'NgFormModel.dirty',
'NgFormModel.errors',
'NgFormModel.form',
'NgFormModel.form=',
'NgFormModel.formDirective',
'NgFormModel.getControl()',
'NgFormModel.getControlGroup()',
'NgFormModel.name',
'NgFormModel.name=',
'NgFormModel.ngOnChanges()',
'NgFormModel.ngSubmit',
'NgFormModel.ngSubmit=',
'NgFormModel.onSubmit()',
'NgFormModel.path',
'NgFormModel.pristine',
'NgFormModel.removeControl()',
'NgFormModel.removeControlGroup()',
'NgFormModel.touched',
'NgFormModel.untouched',
'NgFormModel.updateModel()',
'NgFormModel.valid',
'NgFormModel.value',
'NgIf',
'NgIf.ngIf=',
'NgModel',
'NgModel.asyncValidator',
'NgModel.control',
'NgModel.dirty',
'NgModel.errors',
'NgModel.model',
'NgModel.model=',
'NgModel.name',
'NgModel.name=',
'NgModel.ngOnChanges()',
'NgModel.path',
'NgModel.pristine',
'NgModel.touched',
'NgModel.untouched',
'NgModel.update',
'NgModel.update=',
'NgModel.valid',
'NgModel.validator',
'NgModel.value',
'NgModel.valueAccessor',
'NgModel.valueAccessor=',
'NgModel.viewModel',
'NgModel.viewModel=',
'NgModel.viewToModelUpdate()',
'NgSelectOption',
'NgStyle',
'NgStyle.ngDoCheck()',
'NgStyle.rawStyle=',
'NgSwitch',
'NgSwitch.ngSwitch=',
'NgSwitchDefault',
'NgSwitchWhen',
'NgSwitchWhen.ngSwitchWhen=',
'NumberPipe',
'ObservableListDiff.check():dart',
'ObservableListDiff.collection:dart',
'ObservableListDiff.diff():dart',
'ObservableListDiff.forEachAddedItem():dart',
'ObservableListDiff.forEachItem():dart',
'ObservableListDiff.forEachMovedItem():dart',
'ObservableListDiff.forEachPreviousItem():dart',
'ObservableListDiff.forEachRemovedItem():dart',
'ObservableListDiff.isDirty:dart',
'ObservableListDiff.length:dart',
'ObservableListDiff.onDestroy():dart',
'ObservableListDiff:dart',
'ObservableListDiffFactory.create():dart',
'ObservableListDiffFactory.supports():dart',
'ObservableListDiffFactory:dart',
'PercentPipe',
'PercentPipe.transform()',
'RequiredValidator',
'SelectControlValueAccessor',
'SelectControlValueAccessor.onChange',
'SelectControlValueAccessor.onChange=',
'SelectControlValueAccessor.onTouched',
'SelectControlValueAccessor.onTouched=',
'SelectControlValueAccessor.registerOnChange()',
'SelectControlValueAccessor.registerOnTouched()',
'SelectControlValueAccessor.value',
'SelectControlValueAccessor.value=',
'SelectControlValueAccessor.writeValue()',
'SlicePipe',
'SlicePipe.supports()',
'SlicePipe.transform()',
'UpperCasePipe',
'UpperCasePipe.transform()',
'Validator:dart',
'Validators',
'Validators#compose()',
'Validators#composeAsync()',
'Validators#maxLength()',
'Validators#minLength()',
'Validators#nullValidator()',
'Validators#required()'
];
var NG_COMPILER = [
"AttrAst.name",
"AttrAst.name=",
"AttrAst.sourceSpan",
"AttrAst.sourceSpan=",
"AttrAst.value",
"AttrAst.value=",
"BoundDirectivePropertyAst.directiveName",
"BoundDirectivePropertyAst.directiveName=",
"BoundDirectivePropertyAst.sourceSpan",
"BoundDirectivePropertyAst.sourceSpan=",
"BoundDirectivePropertyAst.templateName",
"BoundDirectivePropertyAst.templateName=",
"BoundDirectivePropertyAst.value",
"BoundDirectivePropertyAst.value=",
"BoundElementPropertyAst.name",
"BoundElementPropertyAst.name=",
"BoundElementPropertyAst.sourceSpan",
"BoundElementPropertyAst.sourceSpan=",
"BoundElementPropertyAst.type",
"BoundElementPropertyAst.type=",
"BoundElementPropertyAst.unit",
"BoundElementPropertyAst.unit=",
"BoundElementPropertyAst.value",
"BoundElementPropertyAst.value=",
"BoundEventAst.handler",
"BoundEventAst.handler=",
"BoundEventAst.name",
"BoundEventAst.name=",
"BoundEventAst.sourceSpan",
"BoundEventAst.sourceSpan=",
"BoundEventAst.target",
"BoundEventAst.target=",
"BoundTextAst.ngContentIndex",
"BoundTextAst.ngContentIndex=",
"BoundTextAst.sourceSpan",
"BoundTextAst.sourceSpan=",
"BoundTextAst.value",
"BoundTextAst.value=",
"CompileDirectiveMetadata.changeDetection",
"CompileDirectiveMetadata.changeDetection=",
"CompileDirectiveMetadata.dynamicLoadable",
"CompileDirectiveMetadata.dynamicLoadable=",
"CompileDirectiveMetadata.exportAs",
"CompileDirectiveMetadata.exportAs=",
"CompileDirectiveMetadata.hostAttributes",
"CompileDirectiveMetadata.hostAttributes=",
"CompileDirectiveMetadata.hostListeners",
"CompileDirectiveMetadata.hostListeners=",
"CompileDirectiveMetadata.hostProperties",
"CompileDirectiveMetadata.hostProperties=",
"CompileDirectiveMetadata.inputs",
"CompileDirectiveMetadata.inputs=",
"CompileDirectiveMetadata.isComponent",
"CompileDirectiveMetadata.isComponent=",
"CompileDirectiveMetadata.lifecycleHooks",
"CompileDirectiveMetadata.lifecycleHooks=",
"CompileDirectiveMetadata.outputs",
"CompileDirectiveMetadata.outputs=",
"CompileDirectiveMetadata.selector",
"CompileDirectiveMetadata.selector=",
"CompileDirectiveMetadata.template",
"CompileDirectiveMetadata.template=",
"CompileDirectiveMetadata.type",
"CompileDirectiveMetadata.type=",
"CompileTemplateMetadata.encapsulation",
"CompileTemplateMetadata.encapsulation=",
"CompileTemplateMetadata.ngContentSelectors",
"CompileTemplateMetadata.ngContentSelectors=",
"CompileTemplateMetadata.styleUrls",
"CompileTemplateMetadata.styleUrls=",
"CompileTemplateMetadata.styles",
"CompileTemplateMetadata.styles=",
"CompileTemplateMetadata.template",
"CompileTemplateMetadata.template=",
"CompileTemplateMetadata.templateUrl",
"CompileTemplateMetadata.templateUrl=",
"CompileTypeMetadata.isHost",
"CompileTypeMetadata.isHost=",
"CompileTypeMetadata.moduleUrl",
"CompileTypeMetadata.moduleUrl=",
"CompileTypeMetadata.name",
"CompileTypeMetadata.name=",
"CompileTypeMetadata.runtime",
"CompileTypeMetadata.runtime=",
"DirectiveAst.directive",
"DirectiveAst.directive=",
"DirectiveAst.exportAsVars",
"DirectiveAst.exportAsVars=",
"DirectiveAst.hostEvents",
"DirectiveAst.hostEvents=",
"DirectiveAst.hostProperties",
"DirectiveAst.hostProperties=",
"DirectiveAst.inputs",
"DirectiveAst.inputs=",
"DirectiveAst.sourceSpan",
"DirectiveAst.sourceSpan=",
"ElementAst.attrs",
"ElementAst.attrs=",
"ElementAst.children",
"ElementAst.children=",
"ElementAst.directives",
"ElementAst.directives=",
"ElementAst.exportAsVars",
"ElementAst.exportAsVars=",
"ElementAst.inputs",
"ElementAst.inputs=",
"ElementAst.name",
"ElementAst.name=",
"ElementAst.ngContentIndex",
"ElementAst.ngContentIndex=",
"ElementAst.outputs",
"ElementAst.outputs=",
"ElementAst.sourceSpan",
"ElementAst.sourceSpan=",
"EmbeddedTemplateAst.attrs",
"EmbeddedTemplateAst.attrs=",
"EmbeddedTemplateAst.children",
"EmbeddedTemplateAst.children=",
"EmbeddedTemplateAst.directives",
"EmbeddedTemplateAst.directives=",
"EmbeddedTemplateAst.ngContentIndex",
"EmbeddedTemplateAst.ngContentIndex=",
"EmbeddedTemplateAst.outputs",
"EmbeddedTemplateAst.outputs=",
"EmbeddedTemplateAst.sourceSpan",
"EmbeddedTemplateAst.sourceSpan=",
"EmbeddedTemplateAst.vars",
"EmbeddedTemplateAst.vars=",
"NgContentAst.index",
"NgContentAst.index=",
"NgContentAst.ngContentIndex",
"NgContentAst.ngContentIndex=",
"NgContentAst.sourceSpan",
"NgContentAst.sourceSpan=",
"PropertyBindingType#Attribute",
"PropertyBindingType#Class",
"PropertyBindingType#Property",
"PropertyBindingType#Style",
"PropertyBindingType#values",
"PropertyBindingType.index",
"SourceModule.moduleUrl",
"SourceModule.moduleUrl=",
"SourceModule.sourceWithModuleRefs",
"SourceModule.sourceWithModuleRefs=",
"SourceWithImports.imports",
"SourceWithImports.imports=",
"SourceWithImports.source",
"SourceWithImports.source=",
"TemplateAst:dart",
"TemplateAst.sourceSpan",
"TemplateAst.sourceSpan=",
"TemplateAstVisitor:dart",
"TextAst.ngContentIndex",
"TextAst.ngContentIndex=",
"TextAst.sourceSpan",
"TextAst.sourceSpan=",
"TextAst.value",
"TextAst.value=",
"VariableAst.name",
"VariableAst.name=",
"VariableAst.sourceSpan",
"VariableAst.sourceSpan=",
"VariableAst.value",
"VariableAst.value=",
"DEFAULT_PACKAGE_URL_PROVIDER",
"UrlResolver",
"UrlResolver.resolve()",
"getUrlScheme()",
"AttrAst",
"AttrAst.visit()",
"BoundDirectivePropertyAst",
"BoundDirectivePropertyAst.visit()",
"BoundElementPropertyAst",
"BoundElementPropertyAst.visit()",
"BoundEventAst",
"BoundEventAst.fullName",
"BoundEventAst.visit()",
"BoundTextAst",
"BoundTextAst.visit()",
"COMPILER_PROVIDERS",
"CompileDirectiveMetadata",
"CompileDirectiveMetadata#create()",
"CompileDirectiveMetadata#fromJson()",
"CompileDirectiveMetadata.toJson()",
"CompileTemplateMetadata",
"CompileTemplateMetadata#fromJson()",
"CompileTemplateMetadata.toJson()",
"CompileTypeMetadata",
"CompileTypeMetadata#fromJson()",
"CompileTypeMetadata.toJson()",
"DirectiveAst",
"DirectiveAst.visit()",
"ElementAst",
"ElementAst.getComponent()",
"ElementAst.isBound()",
"ElementAst.visit()",
"EmbeddedTemplateAst",
"EmbeddedTemplateAst.visit()",
"NgContentAst",
"NgContentAst.visit()",
"PLATFORM_DIRECTIVES",
"PLATFORM_PIPES",
"PropertyBindingType",
"SourceModule",
"SourceModule.getSourceWithImports()",
"SourceWithImports",
"TEMPLATE_TRANSFORMS",
"TemplateCompiler",
"TemplateCompiler.clearCache()",
"TemplateCompiler.compileHostComponentRuntime()",
"TemplateCompiler.compileStylesheetCodeGen()",
"TemplateCompiler.compileTemplatesCodeGen()",
"TemplateCompiler.normalizeDirectiveMetadata()",
"TextAst",
"TextAst.visit()",
"VariableAst",
"VariableAst.visit()",
"XHR",
"XHR.get()",
"createWithoutPackagePrefix()",
"templateVisitAll()"
];
var NG_CORE = [
'APP_COMPONENT',
'APP_INITIALIZER',
'APP_ID',
'AbstractProviderError',
'AbstractProviderError.addKey()',
'AbstractProviderError.constructResolvingMessage',
'AbstractProviderError.constructResolvingMessage=',
'AbstractProviderError.context',
'AbstractProviderError.injectors',
'AbstractProviderError.injectors=',
'AbstractProviderError.keys',
'AbstractProviderError.keys=',
'AbstractProviderError.message',
'AbstractProviderError.message=',
'AbstractProviderError.stackTrace',
'AppViewManager:js',
'AppViewManager.getHostElement():js',
/*
Abstract methods
'AppViewManager.attachViewInContainer()',
'AppViewManager.createEmbeddedViewInContainer()',
'AppViewManager.createHostViewInContainer()',
'AppViewManager.createRootHostView()',
'AppViewManager.destroyRootHostView()',
'AppViewManager.destroyViewInContainer()',
'AppViewManager.detachViewInContainer()',
'AppViewManager.getComponent()',
'AppViewManager.getNamedElementInComponentView()',
'AppViewManager.getViewContainer()',
*/
'ApplicationRef:js',
'ApplicationRef.injector:js',
'ApplicationRef.zone:js',
'ApplicationRef.componentTypes:js',
'APPLICATION_COMMON_PROVIDERS',
/*
Abstract methods
'ApplicationRef.bootstrap()',
'ApplicationRef.dispose()',
'ApplicationRef.registerBootstrapListener()',
'ApplicationRef.registerDisposeListener()',
'ApplicationRef.tick()',
*/
'Attribute',
'Attribute.attributeName',
'Attribute.token',
'AttributeMetadata',
'AttributeMetadata.attributeName',
'AttributeMetadata.token',
'Binding',
'Binding.dependencies',
'Binding.multi',
'Binding.useExisting',
'Binding.useClass',
'Binding.useFactory',
'Binding.useValue',
'Binding.token',
'Binding.toAlias',
'Binding.toClass',
'Binding.toFactory',
'Binding.toValue',
'Provider',
'Provider.dependencies',
'Provider.multi',
'Provider.useExisting',
'Provider.useClass',
'Provider.useFactory',
'Provider.useValue',
'Provider.token',
'ProviderBuilder',
'ProviderBuilder.toAlias()',
'ProviderBuilder.toClass()',
'ProviderBuilder.toFactory()',
'ProviderBuilder.toValue()',
'ProviderBuilder.token',
'ProviderBuilder.token=',
'PLATFORM_DIRECTIVES:js',
'ChangeDetectionError',
'ChangeDetectionError.context',
'ChangeDetectionError.location',
'ChangeDetectionError.location=',
'ChangeDetectionError.message',
'ChangeDetectionError.stackTrace',
'ChangeDetectionError.wrapperMessage',
'ChangeDetectionStrategy#CheckAlways',
'ChangeDetectionStrategy#CheckOnce',
'ChangeDetectionStrategy#Checked',
'ChangeDetectionStrategy#Default',
'ChangeDetectionStrategy#Detached',
'ChangeDetectionStrategy#OnPush',
'ChangeDetectionStrategy#OnPushObserve',
'ChangeDetectionStrategy#values',
'ChangeDetectionStrategy',
'ChangeDetectionStrategy.index',
'ChangeDetectorRef',
/*
Abstract methods
'ChangeDetectorRef.detach()',
'ChangeDetectorRef.detectChanges()',
'ChangeDetectorRef.markForCheck()',
'ChangeDetectorRef.reattach()',*/
'Class:js',
'Compiler:js',
/*
Abstract methods
'Compiler.compileInHost()',
'Compiler.clearCache()',
*/
'Component',
'Component.bindings',
'Component.providers',
'Component.changeDetection',
'Component.outputs',
'Component.events',
'Component.exportAs',
'Component.host',
'Component.moduleId',
'Component.inputs',
'Component.properties',
'Component.queries',
'Component.selector',
'Component.viewBindings',
'Component.viewProviders',
'Component.directives',
'Component.encapsulation',
'Component.pipes',
'Component.styleUrls',
'Component.styles',
'Component.template',
'Component.templateUrl',
'ComponentMetadata',
'ComponentMetadata.bindings',
'ComponentMetadata.providers',
'ComponentMetadata.changeDetection',
'ComponentMetadata.outputs',
'ComponentMetadata.events',
'ComponentMetadata.exportAs',
'ComponentMetadata.host',
'ComponentMetadata.moduleId',
'ComponentMetadata.inputs',
'ComponentMetadata.properties',
'ComponentMetadata.queries',
'ComponentMetadata.selector',
'ComponentMetadata.viewBindings',
'ComponentMetadata.viewProviders',
'ComponentMetadata.directives',
'ComponentMetadata.encapsulation',
'ComponentMetadata.pipes',
'ComponentMetadata.styleUrls',
'ComponentMetadata.styles',
'ComponentMetadata.template',
'ComponentMetadata.templateUrl',
'ComponentRef',
'ComponentRef.componentType',
'ComponentRef.componentType=',
'ComponentRef.hostComponent:js',
'ComponentRef.hostView:js',
'ComponentRef.injector',
'ComponentRef.injector=',
'ComponentRef.instance',
'ComponentRef.instance=',
'ComponentRef.location',
'ComponentRef.location=',
/*
Abstract method
'ComponentRef.dispose()',
'ComponentRef.hostComponentType',
*/
'ContentChild',
'ContentChild.descendants',
'ContentChild.first',
'ContentChild.isVarBindingQuery',
'ContentChild.isViewQuery',
'ContentChild.selector',
'ContentChild.token',
'ContentChild.varBindings',
'ContentChildMetadata',
'ContentChildMetadata.descendants',
'ContentChildMetadata.first',
'ContentChildMetadata.isVarBindingQuery',
'ContentChildMetadata.isViewQuery',
'ContentChildMetadata.selector',
'ContentChildMetadata.token',
'ContentChildMetadata.varBindings',
'ContentChildren',
'ContentChildren.descendants',
'ContentChildren.first',
'ContentChildren.isVarBindingQuery',
'ContentChildren.isViewQuery',
'ContentChildren.selector',
'ContentChildren.token',
'ContentChildren.varBindings',
'ContentChildrenMetadata',
'ContentChildrenMetadata.descendants',
'ContentChildrenMetadata.first',
'ContentChildrenMetadata.isVarBindingQuery',
'ContentChildrenMetadata.isViewQuery',
'ContentChildrenMetadata.selector',
'ContentChildrenMetadata.token',
'ContentChildrenMetadata.varBindings',
'CyclicDependencyError',
'CyclicDependencyError.addKey()',
'CyclicDependencyError.constructResolvingMessage',
'CyclicDependencyError.constructResolvingMessage=',
'CyclicDependencyError.context',
'CyclicDependencyError.injectors',
'CyclicDependencyError.injectors=',
'CyclicDependencyError.keys',
'CyclicDependencyError.keys=',
'CyclicDependencyError.message',
'CyclicDependencyError.message=',
'CyclicDependencyError.stackTrace',
'PLATFORM_PIPES:js',
'DebugElement',
'DebugElement.children',
'DebugElement.componentInstance',
'DebugElement.componentViewChildren',
'DebugElement.elementRef',
/*
Abstract methods
'DebugElement.getDirectiveInstance()',
'DebugElement.getLocal()',
'DebugElement.hasDirective()',
'DebugElement.inject()',
*/
'DebugElement.nativeElement',
'DebugElement.query()',
'DebugElement.queryAll()',
'Dependency#fromKey()',
'Dependency',
'Dependency.key',
'Dependency.key=',
'Dependency.lowerBoundVisibility',
'Dependency.lowerBoundVisibility=',
'Dependency.optional',
'Dependency.optional=',
'Dependency.properties',
'Dependency.properties=',
'Dependency.upperBoundVisibility',
'Dependency.upperBoundVisibility=',
'DependencyMetadata',
'DependencyMetadata.token',
'Directive',
'Directive.bindings',
'Directive.providers',
'Directive.outputs',
'Directive.events',
'Directive.exportAs',
'Directive.host',
'Directive.inputs',
'Directive.properties',
'Directive.queries',
'Directive.selector',
'DirectiveMetadata',
'DirectiveMetadata.bindings',
'DirectiveMetadata.providers',
'DirectiveMetadata.outputs',
'DirectiveMetadata.events',
'DirectiveMetadata.exportAs',
'DirectiveMetadata.host',
'DirectiveMetadata.inputs',
'DirectiveMetadata.properties',
'DirectiveMetadata.queries',
'DirectiveMetadata.selector',
'DirectiveResolver',
'DirectiveResolver.resolve()',
'DynamicComponentLoader',
/*
Abstract methods
'DynamicComponentLoader.loadAsRoot()',
'DynamicComponentLoader.loadIntoLocation()',
'DynamicComponentLoader.loadNextToLocation()',
*/
'ElementRef',
'ElementRef.boundElementIndex',
'ElementRef.boundElementIndex=',
'ElementRef.nativeElement',
'ElementRef.parentView',
'ElementRef.parentView=',
'ElementRef.renderView',
'ErrorHandlingFn:dart',
'Output',
'Output.bindingPropertyName',
'EventEmitter',
/*
Dart Stream/EventEmitter
*/
'EventEmitter.add():dart',
'EventEmitter.addError():dart',
'EventEmitter.any():dart',
'EventEmitter.asBroadcastStream():dart',
'EventEmitter.asyncExpand():dart',
'EventEmitter.asyncMap():dart',
'EventEmitter.close():dart',
'EventEmitter.contains():dart',
'EventEmitter.distinct():dart',
'EventEmitter.drain():dart',
'EventEmitter.elementAt():dart',
'EventEmitter.every():dart',
'EventEmitter.expand():dart',
'EventEmitter.first:dart',
'EventEmitter.firstWhere():dart',
'EventEmitter.fold():dart',
'EventEmitter.forEach():dart',
'EventEmitter.handleError():dart',
'EventEmitter.isBroadcast:dart',
'EventEmitter.isEmpty:dart',
'EventEmitter.join():dart',
'EventEmitter.last:dart',
'EventEmitter.lastWhere():dart',
'EventEmitter.length:dart',
'EventEmitter.listen():dart',
'EventEmitter.map():dart',
'EventEmitter.pipe():dart',
'EventEmitter.reduce():dart',
'EventEmitter.single:dart',
'EventEmitter.singleWhere():dart',
'EventEmitter.skip():dart',
'EventEmitter.skipWhile():dart',
'EventEmitter.take():dart',
'EventEmitter.takeWhile():dart',
'EventEmitter.timeout():dart',
'EventEmitter.toList():dart',
'EventEmitter.toSet():dart',
'EventEmitter.transform():dart',
'EventEmitter.where():dart',
'ExceptionHandler',
'ExceptionHandler#exceptionToString()',
'ExceptionHandler.call()',
/*
RxJS API - may need to maintain as RxJS evolves
*/
'EventEmitter.emit():js',
'OutputMetadata',
'OutputMetadata.bindingPropertyName',
'enableProdMode():js',
'ExpressionChangedAfterItHasBeenCheckedException',
'ExpressionChangedAfterItHasBeenCheckedException.message',
'ExpressionChangedAfterItHasBeenCheckedException.stackTrace',
'Host',
'HostBinding',
'HostBinding.hostPropertyName',
'HostBindingMetadata',
'HostBindingMetadata.hostPropertyName',
'HostListener',
'HostListener.args',
'HostListener.eventName',
'HostListenerMetadata',
'HostListenerMetadata.args',
'HostListenerMetadata.eventName',
'HostMetadata',
'Inject',
'Inject.token',
'InjectMetadata',
'InjectMetadata.token',
'Injectable',
'InjectableMetadata',
'Injector#fromResolvedBindings()',
'Injector#fromResolvedProviders()',
'Injector#resolve()',
'Injector#resolveAndCreate()',
'Injector',
'Injector.createChildFromResolved()',
'Injector.debugContext()',
'Injector.displayName',
'Injector.get()',
'Injector.getAt()',
'Injector.getOptional()',
'Injector.instantiateResolved()',
'Injector.internalStrategy',
'Injector.parent',
'Injector.resolveAndCreateChild()',
'Injector.resolveAndInstantiate()',
'InstantiationError',
'InstantiationError.addKey()',
'InstantiationError.causeKey',
'InstantiationError.context',
'InstantiationError.injectors',
'InstantiationError.injectors=',
'InstantiationError.keys',
'InstantiationError.keys=',
'InstantiationError.message',
'InstantiationError.stackTrace',
'InstantiationError.wrapperMessage',
'InvalidProviderError',
'InvalidProviderError.message',
'InvalidProviderError.stackTrace',
'IterableDiffers#create()',
'IterableDiffers#extend()',
'IterableDiffers',
'IterableDiffers.factories',
'IterableDiffers.find()',
'Key#get()',
'Key#numberOfKeys',
'Key',
'Key.displayName',
'Key.id',
'Key.id=',
'Key.token',
'Key.token=',
'KeyValueDiffers#create()',
'KeyValueDiffers#extend()',
'KeyValueDiffers',
'KeyValueDiffers.factories',
'KeyValueDiffers.find()',
'NgZone',
'NgZone.hasPendingAsyncTasks',
'NgZone.hasPendingMicrotasks',
'NgZone.hasPendingTimers',
'NgZone.onError',
'NgZone.onEventDone',
'NgZone.onTurnDone',
'NgZone.onTurnStart',
'NgZone.overrideOnErrorHandler()',
'NgZone.overrideOnEventDone()',
'NgZone.overrideOnTurnDone()',
'NgZone.overrideOnTurnStart()',
'NgZone.run()',
'NgZone.runOutsideAngular()',
'NgZoneError',
'NgZoneError.error',
'NgZoneError.stackTrace',
'NoAnnotationError',
'NoAnnotationError.message',
'NoAnnotationError.stackTrace',
'NoProviderError',
'NoProviderError.addKey()',
'NoProviderError.constructResolvingMessage',
'NoProviderError.constructResolvingMessage=',
'NoProviderError.context',
'NoProviderError.injectors',
'NoProviderError.injectors=',
'NoProviderError.keys',
'NoProviderError.keys=',
'NoProviderError.message',
'NoProviderError.message=',
'NoProviderError.stackTrace',
'OpaqueToken',
'Optional',
'OptionalMetadata',
'OutOfBoundsError',
'OutOfBoundsError.message',
'OutOfBoundsError.stackTrace',
'Pipe',
'Pipe.name',
'Pipe.pure',
'PipeMetadata',
'PipeMetadata.name',
'PipeMetadata.pure',
'PlatformRef',
/*
Abstract methods
'PlatformRef.application()',
'PlatformRef.asyncApplication()',
'PlatformRef.dispose()',
'PlatformRef.registerDisposeListener()',
*/
'PlatformRef.injector',
'Input',
'Input.bindingPropertyName',
'InputMetadata',
'InputMetadata.bindingPropertyName',
'ProtoViewRef',
'Query',
'Query.descendants',
'Query.first',
'Query.isVarBindingQuery',
'Query.isViewQuery',
'Query.selector',
'Query.token',
'Query.varBindings',
'QueryList',
'QueryList.any():dart',
'QueryList.contains():dart',
'QueryList.elementAt():dart',
'QueryList.every():dart',
'QueryList.expand():dart',
'QueryList.notifyOnChanges():',
'QueryList.first',
'QueryList.firstWhere():dart',
'QueryList.fold():dart',
'QueryList.forEach():dart',
'QueryList.isEmpty',
'QueryList.isNotEmpty',
'QueryList.iterator',
'QueryList.join():dart',
'QueryList.last',
'QueryList.lastWhere():dart',
'QueryList.length',
'QueryList.map()',
'QueryList.changes',
'QueryList.reduce():dart',
'QueryList.reset()',
'QueryList.single',
'QueryList.singleWhere():dart',
'QueryList.skip():dart',
'QueryList.skipWhile():dart',
'QueryList.take():dart',
'QueryList.takeWhile():dart',
'QueryList.toList():dart',
'QueryList.toSet():dart',
'QueryList.where():dart',
'QueryMetadata',
'QueryMetadata.descendants',
'QueryMetadata.first',
'QueryMetadata.isVarBindingQuery',
'QueryMetadata.isViewQuery',
'QueryMetadata.selector',
'QueryMetadata.token',
'QueryMetadata.varBindings',
'RenderFragmentRef',
'RenderProtoViewRef',
'RenderViewRef',
'RenderViewWithFragments',
'RenderViewWithFragments.fragmentRefs',
'RenderViewWithFragments.fragmentRefs=',
'RenderViewWithFragments.viewRef',
'RenderViewWithFragments.viewRef=',
'Renderer',
/*
Abstract methods
'Renderer.attachFragmentAfterElement()',
'Renderer.attachFragmentAfterFragment()',
'Renderer.createProtoView()',
'Renderer.registerComponentTemplate()',
'Renderer.createRootHostView()',
'Renderer.createView()',
'Renderer.dehydrateView()',
'Renderer.destroyView()',
'Renderer.detachFragment()',
'Renderer.getNativeElementSync()',
'Renderer.hydrateView()',
'Renderer.invokeElementMethod()',
'Renderer.setElementAttribute()',
'Renderer.setElementClass()',
'Renderer.setElementProperty()',
'Renderer.setElementStyle()',
'Renderer.setEventDispatcher()',
'Renderer.setText()',
*/
'ResolvedBinding:dart',
'ResolvedProvider:dart',
'ResolvedProvider.key:dart',
'ResolvedProvider.key=:dart',
'ResolvedProvider.multiProvider:dart',
'ResolvedProvider.multiProvider=:dart',
'ResolvedProvider.resolvedFactories:dart',
'ResolvedProvider.resolvedFactories=:dart',
'ResolvedFactory',
'ResolvedFactory.dependencies',
'ResolvedFactory.dependencies=',
'ResolvedFactory.factory',
'ResolvedFactory.factory=',
'Scope#all()',
'Scope#light()',
'Scope#view()',
'Scope', // TODO(misko): rename?
'Self',
'SelfMetadata',
'SkipSelf',
'SkipSelfMetadata',
'SimpleChange',
'SimpleChange.currentValue',
'SimpleChange.currentValue=',
'SimpleChange.previousValue',
'SimpleChange.previousValue=',
'SimpleChange.isFirstChange()',
'TemplateRef',
'TemplateRef.elementRef',
'TemplateRef.elementRef=',
/*
Abstract method
'TemplateRef.hasLocal()',
*/
'Testability',
'Testability.decreasePendingRequestCount()',
'Testability.findBindings()',
'Testability.findProviders()',
'Testability.getPendingRequestCount()',
'Testability.increasePendingRequestCount()',
'Testability.isAngularEventPending()',
'Testability.isStable()',
'Testability.whenStable()',
'TestabilityRegistry',
'TestabilityRegistry.findTestabilityInTree()',
'TestabilityRegistry.getAllTestabilities()',
'TestabilityRegistry.getTestability()',
'TestabilityRegistry.registerApplication()',
'GetTestability:dart',
'setTestabilityGetter()',
'Type:js',
'TypeLiteral',
'TypeLiteral.type',
'PACKAGE_ROOT_URL',
'View',
'View.directives',
'View.encapsulation',
'View.pipes',
'View.styleUrls',
'View.styles',
'View.template',
'View.templateUrl',
'ViewChild',
'ViewChild.descendants',
'ViewChild.first',
'ViewChild.isVarBindingQuery',
'ViewChild.isViewQuery',
'ViewChild.selector',
'ViewChild.token',
'ViewChild.varBindings',
'ViewChildMetadata',
'ViewChildMetadata.descendants',
'ViewChildMetadata.first',
'ViewChildMetadata.isVarBindingQuery',
'ViewChildMetadata.isViewQuery',
'ViewChildMetadata.selector',
'ViewChildMetadata.token',
'ViewChildMetadata.varBindings',
'ViewChildren',
'ViewChildren.descendants',
'ViewChildren.first',
'ViewChildren.isVarBindingQuery',
'ViewChildren.isViewQuery',
'ViewChildren.selector',
'ViewChildren.token',
'ViewChildren.varBindings',
'ViewChildrenMetadata',
'ViewChildrenMetadata.descendants',
'ViewChildrenMetadata.first',
'ViewChildrenMetadata.isVarBindingQuery',
'ViewChildrenMetadata.isViewQuery',
'ViewChildrenMetadata.selector',
'ViewChildrenMetadata.token',
'ViewChildrenMetadata.varBindings',
'ViewContainerRef',
'ViewContainerRef.clear()',
/*
Abstract methods
'ViewContainerRef.createEmbeddedView()',
'ViewContainerRef.createHostView()',
'ViewContainerRef.detach()',
*/
'ViewContainerRef.element',
'ViewContainerRef.element=',
/*
'ViewContainerRef.get()',
'ViewContainerRef.indexOf()',
'ViewContainerRef.insert()',
*/
'ViewContainerRef.length',
'ViewEncapsulation#Emulated',
'ViewEncapsulation#Native',
'ViewEncapsulation#None',
'ViewEncapsulation#values',
'ViewEncapsulation',
'ViewEncapsulation.index',
'ViewMetadata',
'ViewMetadata.directives',
'ViewMetadata.encapsulation',
'ViewMetadata.pipes',
'ViewMetadata.styleUrls',
'ViewMetadata.styles',
'ViewMetadata.template',
'ViewMetadata.templateUrl',
'ViewQuery',
'ViewQuery.descendants',
'ViewQuery.first',
'ViewQuery.isVarBindingQuery',
'ViewQuery.isViewQuery',
'ViewQuery.selector',
'ViewQuery.token',
'ViewQuery.varBindings',
'ViewQueryMetadata',
'ViewQueryMetadata.descendants',
'ViewQueryMetadata.first',
'ViewQueryMetadata.isVarBindingQuery',
'ViewQueryMetadata.isViewQuery',
'ViewQueryMetadata.selector',
'ViewQueryMetadata.token',
'ViewQueryMetadata.varBindings',
'ViewRef',
'ViewRef.changeDetectorRef',
'ViewRef.changeDetectorRef=',
/*
Abstract method
'ViewRef.setLocal()',
*/
'ViewResolver',
'ViewResolver.resolve()',
'WrappedException',
'WrappedException.context',
'WrappedException.message',
'WrappedException.stackTrace',
'WrappedException.wrapperMessage',
'WrappedValue#wrap()',
'WrappedValue',
'WrappedValue.wrapped',
'WrappedValue.wrapped=',
'ZeroArgFunction:dart',
'asNativeElements()',
'bind()',
'provide()',
'createNgZone()',
'forwardRef():js',
'inspectElement()',
'platform():js',
'resolveForwardRef():js',
'PLATFORM_COMMON_PROVIDERS',
'PLATFORM_INITIALIZER',
'AfterContentChecked:dart',
'AfterContentInit:dart',
'AfterViewChecked:dart',
'AfterViewInit:dart',
'DoCheck:dart',
'HostViewRef:dart',
'HostViewRef.changeDetectorRef',
'HostViewRef.changeDetectorRef=',
'IterableDifferFactory:dart',
'IterableDiffer:dart',
'KeyValueDifferFactory:dart',
'KeyValueDiffer:dart',
'OnChanges:dart',
'OnDestroy:dart',
'OnInit:dart',
'PipeTransform:dart',
'reflector',
'RenderBeginCmd:dart',
'RenderBeginCmd.isBound',
'RenderBeginCmd.ngContentIndex',
'RenderBeginComponentCmd:dart',
'RenderBeginComponentCmd.attrNameAndValues',
'RenderBeginComponentCmd.eventTargetAndNames',
'RenderBeginComponentCmd.isBound',
'RenderBeginComponentCmd.name',
'RenderBeginComponentCmd.ngContentIndex',
'RenderBeginComponentCmd.templateId',
'RenderBeginElementCmd:dart',
'RenderBeginElementCmd.attrNameAndValues',
'RenderBeginElementCmd.isBound',
'RenderBeginElementCmd.eventTargetAndNames',
'RenderBeginElementCmd.name',
'RenderBeginElementCmd.ngContentIndex',
'RenderCommandVisitor:dart',
'RenderEmbeddedTemplateCmd:dart',
'RenderEmbeddedTemplateCmd.attrNameAndValues',
'RenderEmbeddedTemplateCmd.children',
'RenderEmbeddedTemplateCmd.eventTargetAndNames',
'RenderEmbeddedTemplateCmd.isBound',
'RenderEmbeddedTemplateCmd.isMerged',
'RenderEmbeddedTemplateCmd.name',
'RenderEmbeddedTemplateCmd.ngContentIndex',
'RenderNgContentCmd:dart',
'RenderNgContentCmd.ngContentIndex',
'RenderTemplateCmd:dart',
'RenderTextCmd:dart',
'RenderTextCmd.isBound',
'RenderTextCmd.ngContentIndex',
'RenderTextCmd.value',
'RenderElementRef:dart',
'RenderElementRef.boundElementIndex',
'RenderElementRef.boundElementIndex=',
'RenderElementRef.renderView',
'RenderElementRef.renderView=',
'RenderEventDispatcher:dart',
'RenderNgContentCmd.index',
'RenderComponentTemplate',
'RenderComponentTemplate.commands',
'RenderComponentTemplate.commands=',
'RenderComponentTemplate.encapsulation',
'RenderComponentTemplate.encapsulation=',
'RenderComponentTemplate.id',
'RenderComponentTemplate.id=',
'RenderComponentTemplate.shortId',
'RenderComponentTemplate.shortId=',
'RenderComponentTemplate.styles',
'RenderComponentTemplate.styles=',
'Stream:dart',
'Stream.any():dart',
'Stream.asBroadcastStream():dart',
'Stream.asyncExpand():dart',
'Stream.asyncMap():dart',
'Stream.contains():dart',
'Stream.distinct():dart',
'Stream.drain():dart',
'Stream.elementAt():dart',
'Stream.every():dart',
'Stream.expand():dart',
'Stream.first:dart',
'Stream.firstWhere():dart',
'Stream.fold():dart',
'Stream.forEach():dart',
'Stream.handleError():dart',
'Stream.isBroadcast:dart',
'Stream.isEmpty:dart',
'Stream.join():dart',
'Stream.last:dart',
'Stream.lastWhere():dart',
'Stream.length:dart',
'Stream.map():dart',
'Stream.pipe():dart',
'Stream.reduce():dart',
'Stream.single:dart',
'Stream.singleWhere():dart',
'Stream.skip():dart',
'Stream.skipWhile():dart',
'Stream.take():dart',
'Stream.takeWhile():dart',
'Stream.timeout():dart',
'Stream.toList():dart',
'Stream.toSet():dart',
'Stream.transform():dart',
'Stream.where():dart',
'GetterFn:dart',
'MethodFn:dart',
'NoReflectionCapabilities:dart',
'NoReflectionCapabilities.annotations():dart',
'NoReflectionCapabilities.factory():dart',
'NoReflectionCapabilities.getter():dart',
'NoReflectionCapabilities.importUri():dart',
'NoReflectionCapabilities.interfaces():dart',
'NoReflectionCapabilities.isReflectionEnabled():dart',
'NoReflectionCapabilities.method():dart',
'NoReflectionCapabilities.parameters():dart',
'NoReflectionCapabilities.propMetadata():dart',
'NoReflectionCapabilities.setter():dart',
'PlatformReflectionCapabilities:dart',
'ReflectionInfo:dart',
'ReflectionInfo.annotations:dart',
'ReflectionInfo.annotations=:dart',
'ReflectionInfo.factory:dart',
'ReflectionInfo.factory=:dart',
'ReflectionInfo.interfaces:dart',
'ReflectionInfo.interfaces=:dart',
'ReflectionInfo.parameters:dart',
'ReflectionInfo.parameters=:dart',
'ReflectionInfo.propMetadata:dart',
'ReflectionInfo.propMetadata=:dart',
'Reflector:dart',
'Reflector.annotations():dart',
'Reflector.factory():dart',
'Reflector.getter():dart',
'Reflector.importUri():dart',
'Reflector.interfaces():dart',
'Reflector.isReflectionEnabled():dart',
'Reflector.listUnusedKeys():dart',
'Reflector.method():dart',
'Reflector.parameters():dart',
'Reflector.propMetadata():dart',
'Reflector.reflectionCapabilities:dart',
'Reflector.reflectionCapabilities=:dart',
'Reflector.registerFunction():dart',
'Reflector.registerGetters():dart',
'Reflector.registerMethods():dart',
'Reflector.registerSetters():dart',
'Reflector.registerType():dart',
'Reflector.setter():dart',
'Reflector.trackUsage():dart',
'SetterFn:dart'
];
var NG_INSTRUMENTATION = [
'wtfCreateScope():js',
'wtfCreateScope:dart',
'wtfEndTimeRange():js',
'wtfEndTimeRange:dart',
'wtfLeave():js',
'wtfLeave:dart',
'WtfScopeFn:dart',
'wtfStartTimeRange():js',
'wtfStartTimeRange:dart'
];
var NG_PLATFORM_BROWSER = [
'AngularEntrypoint',
'AngularEntrypoint.name',
'BROWSER_APP_PROVIDERS:js',
'BROWSER_PROVIDERS:js',
'BrowserDomAdapter#makeCurrent():js',
'BrowserDomAdapter.addClass():js',
'BrowserDomAdapter.adoptNode():js',
'BrowserDomAdapter.appendChild():js',
'BrowserDomAdapter.attrToPropMap:js',
'BrowserDomAdapter.attributeMap():js',
'BrowserDomAdapter.cancelAnimationFrame():js',
'BrowserDomAdapter.childNodes():js',
'BrowserDomAdapter.childNodesAsList():js',
'BrowserDomAdapter.classList():js',
'BrowserDomAdapter.clearNodes():js',
'BrowserDomAdapter.clone():js',
'BrowserDomAdapter.content():js',
'BrowserDomAdapter.createComment():js',
'BrowserDomAdapter.createElement():js',
'BrowserDomAdapter.createElementNS():js',
'BrowserDomAdapter.createEvent():js',
'BrowserDomAdapter.createHtmlDocument():js',
'BrowserDomAdapter.createMouseEvent():js',
'BrowserDomAdapter.createScriptTag():js',
'BrowserDomAdapter.createShadowRoot():js',
'BrowserDomAdapter.createStyleElement():js',
'BrowserDomAdapter.createTemplate():js',
'BrowserDomAdapter.createTextNode():js',
'BrowserDomAdapter.defaultDoc():js',
'BrowserDomAdapter.dispatchEvent():js',
'BrowserDomAdapter.elementMatches():js',
'BrowserDomAdapter.firstChild():js',
'BrowserDomAdapter.getAnimationPrefix():js',
'BrowserDomAdapter.getAttribute():js',
'BrowserDomAdapter.getBaseHref():js',
'BrowserDomAdapter.getBoundingClientRect():js',
'BrowserDomAdapter.getChecked():js',
'BrowserDomAdapter.getComputedStyle():js',
'BrowserDomAdapter.getData():js',
'BrowserDomAdapter.getDistributedNodes():js',
'BrowserDomAdapter.getElementsByClassName():js',
'BrowserDomAdapter.getElementsByTagName():js',
'BrowserDomAdapter.getEventKey():js',
'BrowserDomAdapter.getGlobalEventTarget():js',
'BrowserDomAdapter.getHistory():js',
'BrowserDomAdapter.getHost():js',
'BrowserDomAdapter.getHref():js',
'BrowserDomAdapter.getInnerHTML():js',
'BrowserDomAdapter.getLocation():js',
'BrowserDomAdapter.getOuterHTML():js',
'BrowserDomAdapter.getProperty():js',
'BrowserDomAdapter.getShadowRoot():js',
'BrowserDomAdapter.getStyle():js',
'BrowserDomAdapter.getText():js',
'BrowserDomAdapter.getTitle():js',
'BrowserDomAdapter.getTransitionEnd():js',
'BrowserDomAdapter.getUserAgent():js',
'BrowserDomAdapter.getValue():js',
'BrowserDomAdapter.getXHR():js',
'BrowserDomAdapter.hasAttribute():js',
'BrowserDomAdapter.hasClass():js',
'BrowserDomAdapter.hasProperty():js',
'BrowserDomAdapter.hasShadowRoot():js',
'BrowserDomAdapter.hasStyle():js',
'BrowserDomAdapter.importIntoDoc():js',
'BrowserDomAdapter.insertAfter():js',
'BrowserDomAdapter.insertAllBefore():js',
'BrowserDomAdapter.insertBefore():js',
'BrowserDomAdapter.invoke():js',
'BrowserDomAdapter.isCommentNode():js',
'BrowserDomAdapter.isElementNode():js',
'BrowserDomAdapter.isPrevented():js',
'BrowserDomAdapter.isShadowRoot():js',
'BrowserDomAdapter.isTemplateElement():js',
'BrowserDomAdapter.isTextNode():js',
'BrowserDomAdapter.log():js',
'BrowserDomAdapter.logError():js',
'BrowserDomAdapter.logGroup():js',
'BrowserDomAdapter.logGroupEnd():js',
'BrowserDomAdapter.nextSibling():js',
'BrowserDomAdapter.nodeName():js',
'BrowserDomAdapter.nodeValue():js',
'BrowserDomAdapter.on():js',
'BrowserDomAdapter.onAndCancel():js',
'BrowserDomAdapter.parentElement():js',
'BrowserDomAdapter.parse():js',
'BrowserDomAdapter.performanceNow():js',
'BrowserDomAdapter.preventDefault():js',
'BrowserDomAdapter.query():js',
'BrowserDomAdapter.querySelector():js',
'BrowserDomAdapter.querySelectorAll():js',
'BrowserDomAdapter.remove():js',
'BrowserDomAdapter.removeAttribute():js',
'BrowserDomAdapter.removeChild():js',
'BrowserDomAdapter.removeClass():js',
'BrowserDomAdapter.removeStyle():js',
'BrowserDomAdapter.replaceChild():js',
'BrowserDomAdapter.requestAnimationFrame():js',
'BrowserDomAdapter.resetBaseElement():js',
'BrowserDomAdapter.resolveAndSetHref():js',
'BrowserDomAdapter.setAttribute():js',
'BrowserDomAdapter.setAttributeNS():js',
'BrowserDomAdapter.setChecked():js',
'BrowserDomAdapter.setData():js',
'BrowserDomAdapter.setGlobalVar():js',
'BrowserDomAdapter.setInnerHTML():js',
'BrowserDomAdapter.setProperty():js',
'BrowserDomAdapter.setStyle():js',
'BrowserDomAdapter.setText():js',
'BrowserDomAdapter.setTitle():js',
'BrowserDomAdapter.setValue():js',
'BrowserDomAdapter.supportsAnimation():js',
'BrowserDomAdapter.supportsDOMEvents():js',
'BrowserDomAdapter.supportsNativeShadowDOM():js',
'BrowserDomAdapter.tagName():js',
'BrowserDomAdapter.templateAwareRoot():js',
'BrowserDomAdapter.type():js',
'BrowserDomAdapter:js',
'By#all():js',
'By#css():js',
'By#directive():js',
'By:js',
'DOCUMENT',
'ELEMENT_PROBE_BINDINGS:js',
'ELEMENT_PROBE_PROVIDERS:js',
'Title.getTitle():js',
'Title.setTitle():js',
'Title:js',
'bootstrap():js',
'disableDebugTools():js',
'enableDebugTools():js',
'inspectNativeElement():js'
];
var NG_UPGRADE = [
'UpgradeAdapter:js',
'UpgradeAdapter.addProvider():js',
'UpgradeAdapter.bootstrap():js',
'UpgradeAdapter.compileNg2Components():js',
'UpgradeAdapter.downgradeNg2Component():js',
'UpgradeAdapter.downgradeNg2Provider():js',
'UpgradeAdapter.upgradeNg1Component():js',
'UpgradeAdapter.upgradeNg1Provider():js',
'UpgradeAdapterRef:js',
'UpgradeAdapterRef.dispose():js',
'UpgradeAdapterRef.ready():js'
];
var NG_API = {
ngCommon: NG_COMMON,
ngCompiler: NG_COMPILER,
ngCore: NG_CORE,
ngInstrumentation: NG_INSTRUMENTATION,
ngPlatformBrowser: NG_PLATFORM_BROWSER,
ngUpgrade: NG_UPGRADE
};
export function main() {
/**
var x = getSymbolsFromLibrary('ng');
x.sort();
var parts = [];
x.forEach((i) => parts.push(`'${i'`));
print(`[ ${parts.join(',
')} ]`);
*/
describe('public API', () => {
var barrelList =
['ngCommon', 'ngCompiler', 'ngCore', 'ngInstrumentation', 'ngPlatformBrowser', 'ngUpgrade'];
if (IS_DART) {
barrelList = barrelList.filter(b => b !== 'ngUpgrade');
}
barrelList.forEach(mod => {
// Dom Events are merged into DomAdapter in Dart
if (IS_DART && mod === 'ngPlatformDomEvent') return;
it(`should fail if public API for ${mod} has changed`, () => {
expect(new SymbolsDiff(getSymbolsFromLibrary(mod), NG_API[mod]).errors).toEqual([]);
})
});
});
}