Exemplo n.º 1
0
        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.");
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
        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);
        }