root/TaskScheduler/TaskScheduler/Tasks.TestProject/PrintTaskTest.cs

User picture

Author: marisic.net

Revision: 112 («Previous)


File Size: 818 Bytes

(September 25, 2008 18:33 UTC) Over 3 years ago


  

 
Show/hide line numbers
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Tasks.TestProject
{
    /// <summary>
    ///This is a test class for PrintTaskTest and is intended
    ///to contain all PrintTaskTest Unit Tests
    ///</summary>
    [TestClass]
    public class PrintTaskTest
    {
        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext { get; set; }

        /// <summary>
        ///A test for Run
        ///</summary>
        [TestMethod]
        public void PrintTaskTest_RunTest()
        {
            var target = new PrintTask {Active = true, Id = 1, Name = "UnitTestPrintTask"};
            target.Run();
        }
    }
}