From ec5cc72fb428a1844964cd542991fc79cd9b82ab Mon Sep 17 00:00:00 2001 From: Konstantin Nisht Date: Tue, 22 Apr 2025 14:02:14 +0200 Subject: [PATCH] [testFramework] Print paths to logs in IDE-friendly format URIs are parsed by the IDE and allow navigation to a file with a click GitOrigin-RevId: 9a45b833b4415eccb22961ee9d04d76b31d5807d --- .../core/src/com/intellij/testFramework/TestLoggerFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/testFramework/core/src/com/intellij/testFramework/TestLoggerFactory.java b/platform/testFramework/core/src/com/intellij/testFramework/TestLoggerFactory.java index e63c2ad78d90..39314ef07e46 100644 --- a/platform/testFramework/core/src/com/intellij/testFramework/TestLoggerFactory.java +++ b/platform/testFramework/core/src/com/intellij/testFramework/TestLoggerFactory.java @@ -114,7 +114,7 @@ public final class TestLoggerFactory implements Logger.Factory { addConsoleAppenderForDebugRecords(); } - System.out.printf("Test log file: %s%n", logFile); + System.out.printf("Test log file: %s%n", logFile.toUri()); if (Files.exists(logFile) && Files.size(logFile) >= LOG_SIZE_LIMIT) { Files.writeString(logFile, "");