@ -1,14 +1,12 @@
|
||||
import {bind, Binding} from 'angular2/src/core/di';
|
||||
import {Promise, PromiseWrapper} from 'angular2/src/core/facade/async';
|
||||
import {ABSTRACT} from 'angular2/src/core/facade/lang';
|
||||
import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions';
|
||||
import {StringMap} from 'angular2/src/core/facade/collection';
|
||||
|
||||
/**
|
||||
* A metric is measures values
|
||||
*/
|
||||
@ABSTRACT()
|
||||
export class Metric {
|
||||
export abstract class Metric {
|
||||
static bindTo(delegateToken): Binding[] {
|
||||
return [bind(Metric).toFactory((delegate) => delegate, [delegateToken])];
|
||||
}
|
||||
|
@ -1,14 +1,12 @@
|
||||
import {bind, Binding} from 'angular2/src/core/di';
|
||||
import {Promise, PromiseWrapper} from 'angular2/src/core/facade/async';
|
||||
import {ABSTRACT} from 'angular2/src/core/facade/lang';
|
||||
import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions';
|
||||
import {MeasureValues} from './measure_values';
|
||||
|
||||
/**
|
||||
* A reporter reports measure values and the valid sample.
|
||||
*/
|
||||
@ABSTRACT()
|
||||
export class Reporter {
|
||||
export abstract class Reporter {
|
||||
static bindTo(delegateToken): Binding[] {
|
||||
return [bind(Reporter).toFactory((delegate) => delegate, [delegateToken])];
|
||||
}
|
||||
|
@ -1,6 +1,5 @@
|
||||
import {bind, Binding} from 'angular2/src/core/di';
|
||||
import {StringMap} from 'angular2/src/core/facade/collection';
|
||||
import {ABSTRACT} from 'angular2/src/core/facade/lang';
|
||||
import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions';
|
||||
|
||||
import {MeasureValues} from './measure_values';
|
||||
@ -10,8 +9,7 @@ import {MeasureValues} from './measure_values';
|
||||
* A valid sample is a sample that represents the population that should be observed
|
||||
* in the correct way.
|
||||
*/
|
||||
@ABSTRACT()
|
||||
export class Validator {
|
||||
export abstract class Validator {
|
||||
static bindTo(delegateToken): Binding[] {
|
||||
return [bind(Validator).toFactory((delegate) => delegate, [delegateToken])];
|
||||
}
|
||||
|
@ -1,6 +1,5 @@
|
||||
import {bind, Binding} from 'angular2/src/core/di';
|
||||
import {Promise} from 'angular2/src/core/facade/async';
|
||||
import {ABSTRACT} from 'angular2/src/core/facade/lang';
|
||||
import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions';
|
||||
import {Map} from 'angular2/src/core/facade/collection';
|
||||
|
||||
@ -9,8 +8,7 @@ import {Map} from 'angular2/src/core/facade/collection';
|
||||
* e.g. JS vs Dart Async vs Dart Sync webdriver.
|
||||
* Needs one implementation for every supported WebDriver client.
|
||||
*/
|
||||
@ABSTRACT()
|
||||
export class WebDriverAdapter {
|
||||
export abstract class WebDriverAdapter {
|
||||
static bindTo(delegateToken): Binding[] {
|
||||
return [bind(WebDriverAdapter).toFactory((delegate) => delegate, [delegateToken])];
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
import {bind, Binding, Injector, OpaqueToken} from 'angular2/src/core/di';
|
||||
|
||||
import {ABSTRACT, isBlank, isPresent} from 'angular2/src/core/facade/lang';
|
||||
import {isBlank, isPresent} from 'angular2/src/core/facade/lang';
|
||||
import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions';
|
||||
import {Promise, PromiseWrapper} from 'angular2/src/core/facade/async';
|
||||
import {ListWrapper, StringMap} from 'angular2/src/core/facade/collection';
|
||||
@ -12,8 +12,7 @@ import {Options} from './common_options';
|
||||
* for a given browser, independent of the WebDriverAdapter.
|
||||
* Needs one implementation for every supported Browser.
|
||||
*/
|
||||
@ABSTRACT()
|
||||
export class WebDriverExtension {
|
||||
export abstract class WebDriverExtension {
|
||||
static bindTo(childTokens): Binding[] {
|
||||
var res = [
|
||||
bind(_CHILDREN)
|
||||
|
Reference in New Issue
Block a user