コード例 #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
ファイル: HitService.cs プロジェクト: vfeinman/minicover
            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;
            }