Example #1
0
        public void Log4netLoggerFactory_Init_ValidXmlTest()
        {
            Log4netLoggerFactory target = new Log4netLoggerFactory();
            string factoryData;

            factoryData = "<factory-data><configFile value=\"log4net.config\"/><watch value=\"true\"/></factory-data>";
            target.Init(factoryData);
        }
Example #2
0
        public void Log4netLoggerFactory_Init_BadXmlTest()
        {
            Log4netLoggerFactory target = new Log4netLoggerFactory();
            string factoryData;

            factoryData = "<bad-xml></bad>";
            target.Init(factoryData);
        }
Example #3
0
        public void Log4netLoggerFactory_Init_EmptyTest()
        {
            Log4netLoggerFactory target = new Log4netLoggerFactory();
            string factoryData;

            factoryData = string.Empty;
            target.Init(factoryData);
        }
Example #4
0
        public void Log4netLoggerFactory_Init_XmlTest()
        {
            Log4netLoggerFactory target = new Log4netLoggerFactory();
            string factoryData;

            factoryData = "<some-xml></some-xml>";
            target.Init(factoryData);
        }
Example #5
0
        public void Log4netLoggerFactory_Init_NullTest()
        {
            Log4netLoggerFactory target = new Log4netLoggerFactory();
            string factoryData;

            factoryData = null;
            target.Init(factoryData);
        }