示例#1
0
            public MethodContext(string filePath)
            {
                this.filePath = filePath;
                if (TestMethodCache.Value == null)
                {
                    TestMethodCache.Value = HitTestMethod.From(TestMethodUtils.GetTestMethod());
                    clearTestMethodCache  = true;
                }

                testMethod = TestMethodCache.Value;
            }
示例#2
0
            public MethodContext(string filePath)
            {
                this.filePath = filePath;
                if (TestMethodCache.Value == null)
                {
                    var currentUri = new Uri(Directory.GetCurrentDirectory());
                    TestMethodCache.Value = HitTestMethod.From(TestMethodUtils.GetTestMethod(), currentUri);
                    clearTestMethodCache  = true;
                }

                testMethod = TestMethodCache.Value;
            }