예제 #1
-1
        public void Log4netLoggerFactory_Init_EmptyTest()
        {
            Log4netLoggerFactory target = new Log4netLoggerFactory();
            string factoryData;

            factoryData = string.Empty;
            target.Init(factoryData);
        }
예제 #2
-1
        public void Log4netLoggerFactory_Init_BadXmlTest()
        {
            Log4netLoggerFactory target = new Log4netLoggerFactory();
            string factoryData;

            factoryData = "<bad-xml></bad>";
            target.Init(factoryData);
        }
예제 #3
-1
        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);
        }
예제 #4
-1
        public void Log4netLoggerFactory_Init_XmlTest()
        {
            Log4netLoggerFactory target = new Log4netLoggerFactory();
            string factoryData;

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

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