26 lines
803 B
TypeScript
26 lines
803 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google Inc. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by an MIT-style license that can be
|
|
* found in the LICENSE file at https://angular.io/license
|
|
*/
|
|
|
|
import {BaseException, WrappedException} from '@angular/facade/src/exceptions';
|
|
import {MeasureValues} from './measure_values';
|
|
|
|
/**
|
|
* A reporter reports measure values and the valid sample.
|
|
*/
|
|
export abstract class Reporter {
|
|
static bindTo(delegateToken): any[] {
|
|
return [{provide: Reporter, useFactory: (delegate) => delegate, deps: [delegateToken]}];
|
|
}
|
|
|
|
reportMeasureValues(values: MeasureValues): Promise<any> { throw new BaseException('NYI'); }
|
|
|
|
reportSample(completeSample: MeasureValues[], validSample: MeasureValues[]): Promise<any> {
|
|
throw new BaseException('NYI');
|
|
}
|
|
}
|