2016-08-03 15:00:07 -07:00
|
|
|
/**
|
|
|
|
|
* @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
|
|
|
|
|
*/
|
|
|
|
|
|
2015-05-27 14:57:54 -07:00
|
|
|
import {MeasureValues} from './measure_values';
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* A reporter reports measure values and the valid sample.
|
|
|
|
|
*/
|
2015-09-25 14:48:17 -07:00
|
|
|
export abstract class Reporter {
|
2016-08-25 00:50:16 -07:00
|
|
|
reportMeasureValues(values: MeasureValues): Promise<any> { throw new Error('NYI'); }
|
2015-05-27 14:57:54 -07:00
|
|
|
|
2015-08-28 11:29:19 -07:00
|
|
|
reportSample(completeSample: MeasureValues[], validSample: MeasureValues[]): Promise<any> {
|
2016-08-25 00:50:16 -07:00
|
|
|
throw new Error('NYI');
|
2015-05-27 14:57:54 -07:00
|
|
|
}
|
|
|
|
|
}
|