From 6a36c88b3f4653a779aa613213fa2bafbdfff8ba Mon Sep 17 00:00:00 2001 From: Aydar Mukhametzyanov Date: Tue, 19 Mar 2024 09:05:32 +0100 Subject: [PATCH] IDEA-344208 Make the MyIconClassFileChecker failure message more clear GitOrigin-RevId: d9fcbe7394a5e489dc1f74998a1e1dfad201168f --- .../org/jetbrains/intellij/build/images/ImageResourcesTest.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/platform/build-scripts/icons/tests/org/jetbrains/intellij/build/images/ImageResourcesTest.kt b/platform/build-scripts/icons/tests/org/jetbrains/intellij/build/images/ImageResourcesTest.kt index 5e14b6e66b53..05185cbb0617 100644 --- a/platform/build-scripts/icons/tests/org/jetbrains/intellij/build/images/ImageResourcesTest.kt +++ b/platform/build-scripts/icons/tests/org/jetbrains/intellij/build/images/ImageResourcesTest.kt @@ -227,7 +227,9 @@ private class MyIconClassFileChecker(private val projectHome: Path, private val generator.getModifiedClasses().forEach { (module, file, details) -> failures.add(FailedTest(module, "icon class file should be regenerated using " + "\"Icons processing | Generate icon classes\" run configuration, " + - "or new icons be ignored via 'icon-robots.txt'", file, details)) + "or make these files ignored by adding them into 'icon-robots.txt' file. " + + "You can create the new file or add the icons into the existing one if it has already been there. " + + "Please, search for 'icon-robots.txt' examples in the project to know the format.", file, details)) } } }