public void RegisterFactoryTest()
        {
            NamedFactoryResolver target = new NamedFactoryResolver(); // TODO: Initialize to an appropriate value
            string      name            = string.Empty;               // TODO: Initialize to an appropriate value
            ILogFactory factory         = null;                       // TODO: Initialize to an appropriate value

            target.RegisterFactory(name, factory);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        public void DeregisterFactoryTest()
        {
            NamedFactoryResolver target = new NamedFactoryResolver(); // TODO: Initialize to an appropriate value
            string name     = string.Empty;                           // TODO: Initialize to an appropriate value
            bool   expected = false;                                  // TODO: Initialize to an appropriate value
            bool   actual;

            actual = target.DeregisterFactory(name);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
        public void GetFactoryTest()
        {
            NamedFactoryResolver target = new NamedFactoryResolver(); // TODO: Initialize to an appropriate value
            string      logName         = string.Empty;               // TODO: Initialize to an appropriate value
            ILogFactory expected        = null;                       // TODO: Initialize to an appropriate value
            ILogFactory actual;

            actual = target.GetFactory(logName);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Ejemplo n.º 4
0
 static GwLogManager()
 {
     // Create a named resolver that seperate logger retrival by name
     _resolver = new NamedFactoryResolver();
     LoggerService.FactoryResolver = _resolver;
 }
        public void NamedFactoryResolverConstructorTest()
        {
            NamedFactoryResolver target = new NamedFactoryResolver();

            Assert.Inconclusive("TODO: Implement code to verify target");
        }
Ejemplo n.º 6
0
 static GwLogManager()
 {
     // Create a named resolver that seperate logger retrival by name
     _resolver = new NamedFactoryResolver();
     LoggerService.FactoryResolver = _resolver;
 }