Пример #1
0
        public void Init()
        {
            tlog.Info(tag, "Init() is called!");
            HydrationContext context = new HydrationContext();

            e1 = new ExpandMarkupsVisitor(context);
        }
Пример #2
0
        public void ExpandMarkupsVisitorConstructor()
        {
            tlog.Debug(tag, $"ApplyPropertiesVisitorConstructor START");

            HydrationContext context = new HydrationContext();

            ExpandMarkupsVisitor expandMarkupsVisitor = new ExpandMarkupsVisitor(context);

            tlog.Debug(tag, $"ExpandMarkupsVisitorConstructor END (OK)");
            Assert.Pass("ExpandMarkupsVisitorConstructor");
        }
Пример #3
0
        public void ExpandMarkupsVisitorConstructor()
        {
            tlog.Debug(tag, $"ApplyPropertiesVisitorConstructor START");

            HydrationContext context = new HydrationContext();

            Assert.IsNotNull(context, "null HydrationContext");
            Assert.IsInstanceOf <HydrationContext>(context, "Should return HydrationContext instance.");

            ExpandMarkupsVisitor expandMarkupsVisitor = new ExpandMarkupsVisitor(context);

            Assert.IsNotNull(expandMarkupsVisitor, "null ExpandMarkupsVisitor");
            Assert.IsInstanceOf <ExpandMarkupsVisitor>(expandMarkupsVisitor, "Should return ExpandMarkupsVisitor instance.");

            tlog.Debug(tag, $"ExpandMarkupsVisitorConstructor END");
        }
Пример #4
0
 public void Destroy()
 {
     e1 = null;
     tlog.Info(tag, "Destroy() is called!");
 }
Пример #5
0
 public void Init()
 {
     tlog.Info(tag, "Init() is called!");
     visitor = new ExpandMarkupsVisitor(new HydrationContext());
 }