Esempio n. 1
0
        public AphidRuntimeException CreateRuntimeException01(
            [PexAssumeUnderTest] AphidInterpreter target,
            AphidExpression expression,
            object obj
            )
        {
            AphidRuntimeException result = target.CreateRuntimeException(expression, obj);

            return(result);
            // TODO: add assertions to method AphidInterpreterTest.CreateRuntimeException01(AphidInterpreter, AphidExpression, Object)
        }
Esempio n. 2
0
        public AphidRuntimeException CreateRuntimeException(
            [PexAssumeUnderTest] AphidInterpreter target,
            string message,
            object[] args
            )
        {
            AphidRuntimeException result = target.CreateRuntimeException(message, args);

            return(result);
            // TODO: add assertions to method AphidInterpreterTest.CreateRuntimeException(AphidInterpreter, String, Object[])
        }
Esempio n. 3
0
 public void DumpExceptionTest01(AphidRuntimeException exception, AphidInterpreter interpreter)
 {
     AphidCli.DumpException(exception, interpreter);
     // TODO: add assertions to method AphidCliTest.DumpExceptionTest01(AphidRuntimeException, AphidInterpreter)
 }
Esempio n. 4
0
 public static string Format(AphidRuntimeException exception) =>
 $"{exception.Message}\r\n";
Esempio n. 5
0
 public static void DumpException(AphidRuntimeException exception, AphidInterpreter interpreter)
 {
     WriteErrorMessage(StyleEscape(ErrorFormatter.Format(exception)));
     DumpStackTrace(interpreter, exception);
     DumpScope(exception, interpreter);
 }