function RunTestCommandFactory(platform) {
    return function RunTestCommand($testExecutionService) {
        this.execute = (args) => $testExecutionService.startTestRunner(platform);
        this.allowedParameters = [];
    };
}
$injector.registerCommand("dev-test|android", RunTestCommandFactory('android'));
$injector.registerCommand("dev-test|ios", RunTestCommandFactory('iOS'));
function RunKarmaTestCommandFactory(platform) {
    return function RunKarmaTestCommand($testExecutionService) {
        this.execute = (args) => $testExecutionService.startKarmaServer(platform);
        this.allowedParameters = [];
    };
}
$injector.registerCommand("test|android", RunKarmaTestCommandFactory('android'));
$injector.registerCommand("test|ios", RunKarmaTestCommandFactory('iOS'));
