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."); }
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"); }