Beispiel #1
0
        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");
        }
Beispiel #2
0
        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);
        }
Beispiel #3
0
        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.");
        }
Beispiel #4
0
        protected override bool ShouldGenerateClass(Node node)
        {
            DecoratorLog decoratorLog = node as DecoratorLog;

            return(decoratorLog != null);
        }