using PluginCommon; namespace Packager.Parameters { /// /// This is a mockup of the actual configuration class, but only initializes the data members needed to run single tasks. /// It does not contain the task list to be executed, unlike the BuildConfiguration class. /// More properties can be instantiated from this class as there is a need to do so, in testing any of the task. /// public class TestBuildConfiguration : BuildConfiguration { public TestBuildConfiguration(string[] args) { var commandLineArgs = new CommandLineArgs(args); DataVersion = commandLineArgs.getIntValue("dataversion", 0); PlatformList.Add(commandLineArgs.getStringValue("platform")); } } }