protected SimpleTestBase()
        {
            var weaverHelper = new WeaverHelper(@"SimpleTest\SimpleTest.csproj");
            this.WovenSimpleTestAssembly = weaverHelper.Weave();

            dynamic staticInstance = this.WovenSimpleTestAssembly.GetStaticInstance("SimpleTest.TestMessages");
            dynamic list = staticInstance.Messages;
            this.TestMessages = (IList<string>)list;
        }
Example #2
0
        protected SimpleTestBase()
        {
            var weaverHelper = new WeaverHelper(@"SimpleTest\SimpleTest.csproj");

            this.WovenSimpleTestAssembly = weaverHelper.Weave();

            dynamic staticInstance = this.WovenSimpleTestAssembly.GetStaticInstance("SimpleTest.TestMessages");
            dynamic list           = staticInstance.Messages;

            this.TestMessages = (IList <string>)list;
        }