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

                testMethod = TestMethodCache.Value;
            }
Ejemplo n.º 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;
            }