Package com.intellij.execution.testframework.stacktrace

Examples of com.intellij.execution.testframework.stacktrace.DiffHyperlink


    if (matcher.matches()) {
      String expected = StringUtil.replace(matcher.group(2), "\\n", "\n");
      String actual = StringUtil.replace(matcher.group(3), "\\n", "\n");
      if (expected.contains("\n") && actual.contains("\n")) {
        final int textStartOffset = entireLength - line.length();
        DiffHyperlink diffHyperlink = new DiffHyperlink(expected, actual, null);
        DiffHyperlink.DiffHyperlinkInfo hyperlinkInfo = diffHyperlink.new DiffHyperlinkInfo();
        return new Result(textStartOffset + matcher.start(1), textStartOffset + matcher.end(1), hyperlinkInfo);
      }
    }
    return null;
View Full Code Here

TOP

Related Classes of com.intellij.execution.testframework.stacktrace.DiffHyperlink

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.