From bad439d3cf42708995630b0f701cc92ee4c2049e Mon Sep 17 00:00:00 2001 From: anna Date: Wed, 9 Oct 2013 16:23:53 +0200 Subject: [PATCH] execution tests probably fixed --- .../src/com/intellij/debugger/impl/OutputChecker.java | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/java/testFramework/src/com/intellij/debugger/impl/OutputChecker.java b/java/testFramework/src/com/intellij/debugger/impl/OutputChecker.java index 317ff81eda83..a391c969376c 100644 --- a/java/testFramework/src/com/intellij/debugger/impl/OutputChecker.java +++ b/java/testFramework/src/com/intellij/debugger/impl/OutputChecker.java @@ -144,13 +144,6 @@ public class OutputChecker { if (expected.length() != actual.length()) { System.out.println("Text sizes differ: expected " + expected.length() + " but actual: " + actual.length()); } - for (int idx = 0; idx < len; idx++) { - final char expectedChar = expected.charAt(idx); - final char actualChar = actual.charAt(idx); - if (expectedChar != actualChar) { - System.out.println("Difference at index " + idx + ": ;" + expectedChar + "' != '" + actualChar + "'"); - } - } if (expected.length() > len) { System.out.println("Rest from expected text is: \"" + expected.substring(len) + "\""); } @@ -194,6 +187,7 @@ public class OutputChecker { result = StringUtil.replace(result, "\r\n", "\n"); result = StringUtil.replace(result, "\r", "\n"); + result = replaceAdditionalInOutput(result); result = StringUtil.replace(result, testJdk.getHomePath(), "!TEST_JDK!", shouldIgnoreCase); result = StringUtil.replace(result, myAppPath, "!APP_PATH!", shouldIgnoreCase); result = StringUtil.replace(result, myAppPath.replace(File.separatorChar, '/'), "!APP_PATH!", shouldIgnoreCase); @@ -208,8 +202,6 @@ public class OutputChecker { result = StringUtil.replace(result, PathManager.getHomePath(), "!IDEA_HOME!", shouldIgnoreCase); result = StringUtil.replace(result, "Process finished with exit code 255", "Process finished with exit code -1"); - result = replaceAdditionalInOutput(result); - // result = result.replaceAll(" +\n", "\n"); result = result.replaceAll("!HOST_NAME!:\\d*", "!HOST_NAME!:!HOST_PORT!"); result = result.replaceAll("at \\'.*?\\'", "at '!HOST_NAME!:PORT_NAME!'");