예제 #1
0
        public void ValidateRunTasks()
        {
            CommandApp      commandApp = new CommandApp();
            RangeCollection rangeColl  = new RangeCollection(1, 500);

            try
            {
                commandApp.RunTasks(rangeColl, 10);
                ApplicationLog.WriteLine("CommandApp BVT: CommandApp RunTasks Validated successfully");
            }
            catch (Exception ex)
            {
                ApplicationLog.WriteLine(string.Format((IFormatProvider)null,
                                                       "CommandApp BVT: CommandApp RunTasks Validated successfully: {0}", ex.Message));
                Assert.Fail("CommandApp BVT: CommandApp RunTasks Not validated successfully");
            }
        }