test_class.file: smart-zeppelin/zeppelin-interpreter/src/test/java/org/apache/zeppelin/interpreter/InterpreterResultTest.java
test_class.identifier: InterpreterResultTest
test_case.body: @Test
    public void testComplexMagicData() {
  
      InterpreterResult result = null;
  
      result = new InterpreterResult(InterpreterResult.Code.SUCCESS, "some text before\n%table col1\tcol2\naaa\t123\n");
      assertEquals("text before %table", "some text before\n", result.message().get(0).getData());
      assertEquals("text after %table", "col1\tcol2\naaa\t123\n", result.message().get(1).getData());
      result = new InterpreterResult(InterpreterResult.Code.SUCCESS, "%html  <h3> This is a hack </h3>\n%table\ncol1\tcol2\naaa\t123\n");
      assertEquals(" <h3> This is a hack </h3>\n", result.message().get(0).getData());
      assertEquals("col1\tcol2\naaa\t123\n", result.message().get(1).getData());
      result = new InterpreterResult(InterpreterResult.Code.SUCCESS, "some text before magic word\n%table col1\tcol2\naaa\t123\n\n%html <h3> This is a hack </h3>");
      assertEquals("<h3> This is a hack </h3>", result.message().get(2).getData());
      result = new InterpreterResult(InterpreterResult.Code.SUCCESS, "%table col1\tcol2\naaa\t123\n\n%html  <h3> This is a hack </h3>\n%table col1\naaa\n123\n");
      assertEquals("col1\naaa\n123\n", result.message().get(2).getData());
      result = new InterpreterResult(InterpreterResult.Code.SUCCESS, "%table " + "col1\tcol2\naaa\t123\n\n%table col1\naaa\n123\n");
      assertEquals("col1\tcol2\naaa\t123\n", result.message().get(0).getData());
      assertEquals("col1\naaa\n123\n", result.message().get(1).getData());
    }
test_case.class_method_signature: InterpreterResultTest.testComplexMagicData()
test_case.full_signature: @Test public void testComplexMagicData()
test_case.identifier: testComplexMagicData
test_case.invocations: assertEquals getData get message assertEquals getData get message assertEquals getData get message assertEquals getData get message assertEquals getData get message assertEquals getData get message assertEquals getData get message assertEquals getData get message
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testComplexMagicData()
focal_class.declarator: logger = LoggerFactory.getLogger(InterpreterResult.class)
focal_class.modifier: transient
focal_class.original_string: transient Logger logger = LoggerFactory.getLogger(InterpreterResult.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: code
focal_class.original_string: Code code;
focal_class.type: Code
focal_class.var_name: code
focal_class.declarator: msg = new LinkedList<>()
focal_class.original_string: List<InterpreterResultMessage> msg = new LinkedList<>();
focal_class.type: List<InterpreterResultMessage>
focal_class.var_name: msg
focal_class.file: smart-zeppelin/zeppelin-interpreter/src/main/java/org/apache/zeppelin/interpreter/InterpreterResult.java
focal_class.identifier: InterpreterResult
focal_class.interfaces: implements Serializable
focal_class.class_method_signature: InterpreterResult.InterpreterResult(Code code)
focal_class.full_signature: public  InterpreterResult(Code code)
focal_class.identifier: InterpreterResult
focal_class.modifiers: public
focal_class.parameters: (Code code)
focal_class.signature:  InterpreterResult(Code code)
focal_class.class_method_signature: InterpreterResult.InterpreterResult(Code code, List<InterpreterResultMessage> msgs)
focal_class.full_signature: public  InterpreterResult(Code code, List<InterpreterResultMessage> msgs)
focal_class.identifier: InterpreterResult
focal_class.modifiers: public
focal_class.parameters: (Code code, List<InterpreterResultMessage> msgs)
focal_class.signature:  InterpreterResult(Code code, List<InterpreterResultMessage> msgs)
focal_class.class_method_signature: InterpreterResult.InterpreterResult(Code code, String msg)
focal_class.full_signature: public  InterpreterResult(Code code, String msg)
focal_class.identifier: InterpreterResult
focal_class.modifiers: public
focal_class.parameters: (Code code, String msg)
focal_class.signature:  InterpreterResult(Code code, String msg)
focal_class.class_method_signature: InterpreterResult.InterpreterResult(Code code, Type type, String msg)
focal_class.full_signature: public  InterpreterResult(Code code, Type type, String msg)
focal_class.identifier: InterpreterResult
focal_class.modifiers: public
focal_class.parameters: (Code code, Type type, String msg)
focal_class.signature:  InterpreterResult(Code code, Type type, String msg)
focal_class.class_method_signature: InterpreterResult.add(String msg)
focal_class.full_signature: public void add(String msg)
focal_class.identifier: add
focal_class.modifiers: public
focal_class.parameters: (String msg)
focal_class.return: void
focal_class.signature: void add(String msg)
focal_class.class_method_signature: InterpreterResult.add(Type type, String data)
focal_class.full_signature: public void add(Type type, String data)
focal_class.identifier: add
focal_class.modifiers: public
focal_class.parameters: (Type type, String data)
focal_class.return: void
focal_class.signature: void add(Type type, String data)
focal_class.class_method_signature: InterpreterResult.code()
focal_class.full_signature: public Code code()
focal_class.identifier: code
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Code
focal_class.signature: Code code()
focal_class.class_method_signature: InterpreterResult.message()
focal_class.full_signature: public List<InterpreterResultMessage> message()
focal_class.identifier: message
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<InterpreterResultMessage>
focal_class.signature: List<InterpreterResultMessage> message()
focal_class.class_method_signature: InterpreterResult.toString()
focal_class.full_signature: public String toString()
focal_class.identifier: toString
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: public List<InterpreterResultMessage> message() {
      return msg;
    }
focal_method.class_method_signature: InterpreterResult.message()
focal_method.full_signature: public List<InterpreterResultMessage> message()
focal_method.identifier: message
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: List<InterpreterResultMessage>
focal_method.signature: List<InterpreterResultMessage> message()