예제 #1
0
        public override ExitCode Execute()
        {
            Globals.Params = new Gauntlet.Params(this.Params);

            UnrealTestOptions ContextOptions = new UnrealTestOptions();

            AutoParam.ApplyDefaults(ContextOptions);

            ContextOptions.Project             = "EngineTest";
            ContextOptions.Namespaces          = "EngineTest,Gauntlet.UnrealTest";
            ContextOptions.UsesSharedBuildType = true;

            AutoParam.ApplyParams(ContextOptions, Globals.Params.AllArguments);

            return(RunTests(ContextOptions));
        }
예제 #2
0
        public override ExitCode Execute()
        {
            // Cheat - if we can base everything off a single note, don't require users to specify it by appending it
            // to our global argument list
            List <string> ExpandedParams = new List <string>(this.Params);

            ExpandedParams.Add("test=EditorTestNode");

            // save off these params
            Globals.Params = new Gauntlet.Params(ExpandedParams.ToArray());

            // create test options and apply any params
            UnrealTestOptions ContextOptions = new UnrealTestOptions();

            AutoParam.ApplyParamsAndDefaults(ContextOptions, Globals.Params.AllArguments);

            // These are fixed for this prohect
            ContextOptions.Project             = "EngineTest";
            ContextOptions.Namespaces          = "EditorTest";
            ContextOptions.Build               = "Editor";
            ContextOptions.UsesSharedBuildType = true;

            return(RunTests(ContextOptions));
        }