public void DecoratorLogConstructorTest() { ILog log = null; // TODO: Initialize to an appropriate value LogFilter filter = null; // TODO: Initialize to an appropriate value DecoratorLog target = new DecoratorLog(log, filter); Assert.Inconclusive("TODO: Implement code to verify target"); }
protected override void GenerateConstructor(Node node, StreamWriter stream, string indent, string className) { base.GenerateConstructor(node, stream, indent, className); DecoratorLog decoratorLog = node as DecoratorLog; Debug.Check(decoratorLog != null); stream.WriteLine("{0}\t\t\tm_message = \"{1}\";", indent, decoratorLog.Log); }
public void WriteTest() { ILog log = null; // TODO: Initialize to an appropriate value LogFilter filter = null; // TODO: Initialize to an appropriate value DecoratorLog target = new DecoratorLog(log, filter); // TODO: Initialize to an appropriate value LogItem item = null; // TODO: Initialize to an appropriate value target.Write(item); Assert.Inconclusive("A method that does not return a value cannot be verified."); }
protected override bool ShouldGenerateClass(Node node) { DecoratorLog decoratorLog = node as DecoratorLog; return(decoratorLog != null); }