mocha: show actual file in Diff dialog (WEB-15907)
authorSergey Simonchik <sergey.simonchik@jetbrains.com>
Fri, 22 Apr 2016 15:59:31 +0000 (18:59 +0300)
committerSergey Simonchik <sergey.simonchik@jetbrains.com>
Fri, 22 Apr 2016 15:59:31 +0000 (18:59 +0300)
platform/smRunner/src/com/intellij/execution/testframework/sm/runner/GeneralIdBasedToSMTRunnerEventsConvertor.java

index a84cefa94b4c758a6c3cc3e8f0b2a06c62b1cc31..2646cceaa08d036377ae7cf27461a50b8a310780 100644 (file)
@@ -271,7 +271,8 @@ public class GeneralIdBasedToSMTRunnerEventsConvertor extends GeneralTestEventsP
         if (comparisonFailureActualText != null && comparisonFailureExpectedText != null) {
           testProxy.setTestComparisonFailed(failureMessage, stackTrace,
                                             comparisonFailureActualText, comparisonFailureExpectedText,
-                                            testFailedEvent.getExpectedFilePath());
+                                            testFailedEvent.getExpectedFilePath(),
+                                            testFailedEvent.getActualFilePath());
         } else if (comparisonFailureActualText == null && comparisonFailureExpectedText == null) {
           testProxy.setTestFailed(failureMessage, stackTrace, testFailedEvent.isTestError());
         } else {