TestCommand constructor
TestCommand({
- required PubspecYaml pubspecYaml,
- required FileSystem fs,
- required Logger logger,
- required Bindings bindings,
- required PubspecLock pubspecLock,
- required FindFile findFile,
- required KeyPressListener keyPressListener,
Implementation
TestCommand({
required PubspecYaml pubspecYaml,
required FileSystem fs,
required Logger logger,
required Bindings bindings,
required PubspecLock pubspecLock,
required FindFile findFile,
required KeyPressListener keyPressListener,
}) {
addSubcommand(
TestRunCommand(
bindings: bindings,
findFile: findFile,
fs: fs,
logger: logger,
pubspecLock: pubspecLock,
pubspecYaml: pubspecYaml,
),
);
addSubcommand(
TestCleanCommand(
bindings: bindings,
findFile: findFile,
fs: fs,
logger: logger,
pubspecLock: pubspecLock,
pubspecYaml: pubspecYaml,
),
);
addSubcommand(
TestWatchCommand(
bindings: bindings,
findFile: findFile,
fs: fs,
logger: logger,
pubspecLock: pubspecLock,
pubspecYaml: pubspecYaml,
keyPressListener: keyPressListener,
),
);
}