예제 #1
0
        protected void SetContext(string testContext)
        {
            TestLogContext.ResetContext();
            var json = testContext.DecodeBase64();
            var ctx  = JsonConvert.DeserializeObject <YamlTestContext>(json);

            TestCounter++;

            Context = ctx;
        }
        public virtual void BeforeEachTest()
        {
            EnsureConnection();

            try
            {
                CreateTable(DbName, TableName);
            }
            catch
            {
            }
            TestLogContext.ResetContext();
        }
예제 #3
0
        public virtual void BeforeEachTest()
        {
            Converter.InitializeDefault();
            EnsureConnection();

            try
            {
                CreateTable(DbName, TableName);
            }
            catch
            {
            }
            TestLogContext.ResetContext();
        }