@Test public void testSimpleMagicData() { InterpreterResult result = null; result = new InterpreterResult(InterpreterResult.Code.SUCCESS,"%table col1\tcol2\naaa\t123\n"); assertEquals("%table col1\tcol2\naaa\t123\n","col1\tcol2\naaa\t123\n", result.message()); result = new InterpreterResult(InterpreterResult.Code.SUCCESS,"%table\ncol1\tcol2\naaa\t123\n"); assertEquals("%table\ncol1\tcol2\naaa\t123\n","col1\tcol2\naaa\t123\n", result.message()); result = new InterpreterResult(InterpreterResult.Code.SUCCESS,"some text before magic word %table col1\tcol2\naaa\t123\n"); assertEquals("some text before magic word %table col1\tcol2\naaa\t123\n","col1\tcol2\naaa\t123\n", result.message()); }
public String message() { return msg; }
InterpreterResult implements Serializable { public String message() { return msg; } }
InterpreterResult implements Serializable { public String message() { return msg; } InterpreterResult(Code code);  InterpreterResult(Code code, String msg);  InterpreterResult(Code code, Type type, String msg); }
InterpreterResult implements Serializable { public String message() { return msg; } InterpreterResult(Code code);  InterpreterResult(Code code, String msg);  InterpreterResult(Code code, Type type, String msg); Code code(); String message(); Type type(); InterpreterResult type(Type type); }
InterpreterResult implements Serializable { public String message() { return msg; } InterpreterResult(Code code);  InterpreterResult(Code code, String msg);  InterpreterResult(Code code, Type type, String msg); Code code(); String message(); Type type(); InterpreterResult type(Type type);  }