Example #1
0
        public string process(string snippet)
        {
            ProcessingResult r = new TestRig()
                                 .WithFixture(this)
                                 .ProcessFragment(snippet);

            if (r.ExceptionCount != 0)
            {
                return("exception");
            }

            return(r.SuccessOrFailureInWords());
        }
Example #2
0
        public string process(string snippet)
        {
            ProcessingResult r = new TestRig()
                                        .WithFixture(this)
                                        .ProcessFragment(snippet);

            if (r.ExceptionCount != 0)
            {
                return "exception";
            }

            return r.SuccessOrFailureInWords();
        }