@ -85,7 +85,7 @@ export class ConsoleReporter extends Reporter {
|
||||
return PromiseWrapper.resolve(null);
|
||||
}
|
||||
|
||||
_printStringRow(parts, fill = ' ') {
|
||||
_printStringRow(parts: any[], fill = ' ') {
|
||||
this._print(
|
||||
parts.map(part => ConsoleReporter._lpad(part, this._columnWidth, fill)).join(' | '));
|
||||
}
|
||||
|
@ -1,5 +1,4 @@
|
||||
import {bind, Binding, Injector, OpaqueToken} from 'angular2/src/core/di';
|
||||
import {ListWrapper} from 'angular2/src/core/facade/collection';
|
||||
import {Promise, PromiseWrapper} from 'angular2/src/core/facade/async';
|
||||
|
||||
import {MeasureValues} from '../measure_values';
|
||||
|
@ -17,7 +17,7 @@ import {PromiseWrapper, Promise} from 'angular2/src/core/facade/async';
|
||||
import {Metric, MultiMetric, bind, Injector} from 'benchpress/common';
|
||||
|
||||
export function main() {
|
||||
function createMetric(ids) {
|
||||
function createMetric(ids: any[]) {
|
||||
var m = Injector.resolveAndCreate([
|
||||
ids.map(id => bind(id).toValue(new MockMetric(id))),
|
||||
MultiMetric.createBindings(ids)
|
||||
|
@ -11,14 +11,13 @@ import {
|
||||
xit,
|
||||
} from 'angular2/test_lib';
|
||||
|
||||
import {ListWrapper} from 'angular2/src/core/facade/collection';
|
||||
import {PromiseWrapper, Promise} from 'angular2/src/core/facade/async';
|
||||
import {DateWrapper} from 'angular2/src/core/facade/lang';
|
||||
|
||||
import {Reporter, MultiReporter, bind, Injector, MeasureValues} from 'benchpress/common';
|
||||
|
||||
export function main() {
|
||||
function createReporters(ids) {
|
||||
function createReporters(ids: any[]) {
|
||||
var r = Injector.resolveAndCreate([
|
||||
ids.map(id => bind(id).toValue(new MockReporter(id))),
|
||||
MultiReporter.createBindings(ids)
|
||||
|
@ -11,14 +11,13 @@ import {
|
||||
xit,
|
||||
} from 'angular2/test_lib';
|
||||
|
||||
import {ListWrapper} from 'angular2/src/core/facade/collection';
|
||||
import {isPresent, StringWrapper} from 'angular2/src/core/facade/lang';
|
||||
import {PromiseWrapper} from 'angular2/src/core/facade/async';
|
||||
|
||||
import {WebDriverExtension, bind, Injector, Options} from 'benchpress/common';
|
||||
|
||||
export function main() {
|
||||
function createExtension(ids, caps) {
|
||||
function createExtension(ids: any[], caps) {
|
||||
return PromiseWrapper.wrap(() => {
|
||||
return Injector.resolveAndCreate([
|
||||
ids.map(id => bind(id).toValue(new MockExtension(id))),
|
||||
|
Reference in New Issue
Block a user