Ejemplo n.º 1
0
        public CoverallsReportCommand(
            WorkingDirectoryOption workingDirectoryOption,
            CoverageLoadedFileOption coverageLoadedFileOption)
            : base(_name, _description)
        {
            _coverageLoadedFileOption = coverageLoadedFileOption;

            Options = new IOption[]
            {
                workingDirectoryOption,
                coverageLoadedFileOption,
                _rootPathOption,
                _outputOption,
                _serviceJobIdOption,
                _serviceNameOption,
                _repoTokenOption,
                _commitOption,
                _commitMessageOption,
                _commitAuthorNameOption,
                _commitAuthorEmailOption,
                _commitCommitterNameOption,
                _commitCommitterEmailOption,
                _branchOption,
                _remoteOption,
                _remoteUrlOption
            };
        }
Ejemplo n.º 2
0
        public UninstrumentCommand(
            VerbosityOption verbosityOption,
            WorkingDirectoryOption workingDirectoryOption,
            CoverageLoadedFileOption coverageLoadedFileOption)
            : base(_name, _description)
        {
            _coverageLoadedFileOption = coverageLoadedFileOption;

            Options = new IOption[]
            {
                verbosityOption,
                workingDirectoryOption,
                coverageLoadedFileOption
            };
        }
Ejemplo n.º 3
0
        public ConsoleReportCommand(
            WorkingDirectoryOption workingDirectoryOption,
            CoverageLoadedFileOption coverageLoadedFileOption,
            ThresholdOption thresholdOption)
            : base(_name, _description)
        {
            _coverageLoadedFileOption = coverageLoadedFileOption;
            _thresholdOption          = thresholdOption;

            Options = new IOption[]
            {
                workingDirectoryOption,
                coverageLoadedFileOption,
                thresholdOption
            };
        }
Ejemplo n.º 4
0
        public NCoverReportCommand(
            WorkingDirectoryOption workingDirectoryOption,
            CoverageLoadedFileOption coverageLoadedFileOption,
            NCoverOutputOption nCoverOutputOption,
            ThresholdOption thresholdOption)
            : base(_name, _description)
        {
            _coverageLoadedFileOption = coverageLoadedFileOption;
            _thresholdOption          = thresholdOption;
            _nCoverOutputOption       = nCoverOutputOption;

            Options = new IOption[]
            {
                workingDirectoryOption,
                _coverageLoadedFileOption,
                _thresholdOption,
                _nCoverOutputOption
            };
        }
Ejemplo n.º 5
0
        public HtmlReportCommand(
            WorkingDirectoryOption workingDirectoryOption,
            CoverageLoadedFileOption coverageLoadedFileOption,
            HtmlOutputFolderOption htmlOutputFolderOption,
            ThresholdOption thresholdOption)
            : base(_name, _description)
        {
            _coverageLoadedFileOption = coverageLoadedFileOption;
            _thresholdOption          = thresholdOption;
            _htmlOutputFolderOption   = htmlOutputFolderOption;

            Options = new IOption[]
            {
                workingDirectoryOption,
                coverageLoadedFileOption,
                thresholdOption,
                htmlOutputFolderOption
            };
        }