Beispiel #1
0
        public void TestAddSlashDocFiles()
        {
            MBRLogger logger = new MBRLogger(LogManager.CreateLogger("MyLoggerNamespace"));

            sdc = new SlashDocCache(logger);

            sdc.AddSlashDocFiles(
                new string[] { UnitTestHelper.MOCKXMLPATH, UnitTestHelper.MOCKXMLPATH });

            Hashtable tab = (Hashtable)UnitTestHelper.GetPrivateField(sdc, "docs");

            Assert.AreEqual(tab.Count, 53, "Wrong AddSlashDocFile implementation.");
        }
Beispiel #2
0
 public void TestAddSlashDocFilesFail1()
 {
     sdc.AddSlashDocFiles(null);
 }