public void AddTest() { ArgumentDictionary target = new ArgumentDictionary(); // TODO: Initialize to an appropriate value Argument argument = null; // TODO: Initialize to an appropriate value target.Add(argument); Assert.Inconclusive("A method that does not return a value cannot be verified."); }
public void ProcessArgument_StatusFailed() { FailedTestCommand tc = new FailedTestCommand(); var args = new ArgumentDictionary(); args.Add("test", tc); Assert.AreEqual(CommandStatus.NotRun, tc.Status); tc.ProcessCommand(args); Assert.AreEqual(CommandStatus.Failed, tc.Status); }
public void ProcessArgument_StatusSuccess() { SuccessfulTestCommand sc = new SuccessfulTestCommand(); var args = new ArgumentDictionary(); args.Add("test", sc); Assert.AreEqual(CommandStatus.NotRun, sc.Status); sc.ProcessCommand(args); Assert.AreEqual(CommandStatus.Successful, sc.Status); }