コード例 #1
0
        //
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        internal virtual FormattableLogBase_Accessor CreateFormattableLogBase_Accessor()
        {
            // TODO: Instantiate an appropriate concrete class.
            FormattableLogBase_Accessor target = null;

            return(target);
        }
コード例 #2
0
        public void FormatItemTest()
        {
            PrivateObject param0 = null;                                                  // TODO: Initialize to an appropriate value
            FormattableLogBase_Accessor target = new FormattableLogBase_Accessor(param0); // TODO: Initialize to an appropriate value
            LogItem item     = null;                                                      // TODO: Initialize to an appropriate value
            string  expected = string.Empty;                                              // TODO: Initialize to an appropriate value
            string  actual;

            actual = target.FormatItem(item);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
コード例 #3
0
        public void FormatterTest()
        {
            PrivateObject param0 = null;                                                    // TODO: Initialize to an appropriate value
            FormattableLogBase_Accessor target   = new FormattableLogBase_Accessor(param0); // TODO: Initialize to an appropriate value
            ILogItemFormatter           expected = null;                                    // TODO: Initialize to an appropriate value
            ILogItemFormatter           actual;

            target.Formatter = expected;
            actual           = target.Formatter;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }