示例#1
0
        public void TestUnregisterAllLoggers()
        {
            engine = new Engine(Consts.BinPath);
            CheckUnregisterLogger cul = new CheckUnregisterLogger();

            engine.RegisterLogger(cul);

            engine.UnregisterAllLoggers();

            Assert.IsFalse(cul.Anything, "A1");
        }
		public void TestUnregisterAllLoggers ()
		{
			engine = new Engine (Consts.BinPath);
			CheckUnregisterLogger cul = new CheckUnregisterLogger ();
			engine.RegisterLogger (cul);

			engine.UnregisterAllLoggers ();

			Assert.IsFalse (cul.Anything, "A1");
		}