ShouldRun() 공개 메소드

public ShouldRun ( TestMeta test ) : bool
test TestMeta
리턴 bool
예제 #1
0
        public void RunAll(Action <Result> resultCallBack, TestFilter testFilter = null)
        {
            testFilter = testFilter ?? new TestFilter();


            foreach (var test in Tests)
            {
                if (!testFilter.ShouldRun(test))
                {
                    test.ParameterSetRelease();
                    continue;
                }
                var result = test.Run(Platform);
                resultCallBack(result);
            }
        }
예제 #2
0
파일: Runner.cs 프로젝트: jbtule/PclUnit
        public void RunAll(Action<Result> resultCallBack, TestFilter testFilter = null)
        {
            testFilter = testFilter ?? new TestFilter();

            foreach (var test in Tests)
            {
                if (!testFilter.ShouldRun(test))
                {
                    test.ParameterSetRelease();
                    continue;
                }
                var result = test.Run(Platform);
                resultCallBack(result);
            }
        }