/// <summary> /// Gets the available parameters for this test module. /// </summary> /// <returns>Array of <see cref="TestParameterInfo"/> that describes allowed test parameters for the test module.</returns> /// <remarks>The parameters are determined by scanning all Taupo and test assemblies /// and examining <see cref="InjectTestParameterAttribute"/>, <see cref="ImplementationSelectorAttribute"/>. /// </remarks> public TestParameterInfo[] GetAvailableParameters() { ImplementationSelector dis = new ImplementationSelector(); this.ConfigureImplementationSelector(dis); HelpGenerator hg = new HelpGenerator(this.loggerResolver); return(hg.GetAvailableParameters(dis.Types)); }
private void ShowHelp() { ImplementationSelector dis = new ImplementationSelector(); this.ConfigureImplementationSelector(dis); HelpGenerator hg = new HelpGenerator(this.loggerResolver); string helpText = hg.GetHelpText(dis.Types); this.rootLogger.WriteLine(LogLevel.Info, helpText); }
private void ShowHelp() { ImplementationSelector dis = new ImplementationSelector(); this.ConfigureImplementationSelector(dis); HelpGenerator hg = new HelpGenerator(this.loggerResolver); string helpText = hg.GetHelpText(dis.Types); this.rootLogger.WriteLine(LogLevel.Info, helpText); }
/// <summary> /// Gets the available parameters for this test module. /// </summary> /// <returns>Array of <see cref="TestParameterInfo"/> that describes allowed test parameters for the test module.</returns> /// <remarks>The parameters are determined by scanning all Taupo and test assemblies /// and examining <see cref="InjectTestParameterAttribute"/>, <see cref="ImplementationSelectorAttribute"/>. /// </remarks> public TestParameterInfo[] GetAvailableParameters() { ImplementationSelector dis = new ImplementationSelector(); this.ConfigureImplementationSelector(dis); HelpGenerator hg = new HelpGenerator(this.loggerResolver); return hg.GetAvailableParameters(dis.Types); }