/// <summary> /// Creates test configurations with and without indenting based on a set of default configurations. /// </summary> /// <param name="runKind">The run kind to create the configurations for.</param> /// <param name="defaultConfigurations">The set of default configurations.</param> /// <returns>The created test configurations.</returns> private static CachedConfigurations CreateConfigurationsWithIndent(TestRunKind runKind, CachedConfigurations defaultConfigurations) { ICombinatorialEngineProvider combinatorialEngine = new FullCombinatorialEngineProvider(); return(new CachedConfigurations { // AtomConfigurations = CreateConfigurationsWithIndent(runKind, combinatorialEngine, ODataFormat.Atom, defaultConfigurations.AtomConfigurations), JsonLightConfigurations = CreateConfigurationsWithIndent(runKind, combinatorialEngine, ODataFormat.Json, defaultConfigurations.JsonLightConfigurations), DefaultFormatConfigurations = CreateConfigurationsWithIndent(runKind, combinatorialEngine, /*format*/ null, defaultConfigurations.DefaultFormatConfigurations), }); }
/// <summary> /// Creates the default test configurations for the specified run kind. /// </summary> /// <param name="runKind">The run kind to create the default configurations for.</param> /// <returns>The created test configurations.</returns> private static CachedConfigurations CreateDefaultConfigurations(TestRunKind runKind) { ICombinatorialEngineProvider combinatorialEngine = new FullCombinatorialEngineProvider(); return(new CachedConfigurations { //AtomConfigurations = CreateConfigurationsWithDefaultSettings(runKind, combinatorialEngine, ODataFormat.Atom), JsonLightConfigurations = CreateConfigurationsWithDefaultSettings(runKind, combinatorialEngine, ODataFormat.Json), DefaultFormatConfigurations = CreateConfigurationsWithDefaultSettings(runKind, combinatorialEngine, /*format*/ null), }); }