Fix testdata after making forward slash an ordinary char in InspectionsTestUtil

GitOrigin-RevId: e0d27694f2286bc21fdd45bbbc054c2d84021290
This commit is contained in:
Alexander Danilov
2023-03-13 19:31:47 +01:00
committed by intellij-monorepo-bot
parent 70482dd22f
commit cef997ef8c
8 changed files with 15 additions and 15 deletions

View File

@@ -4,7 +4,7 @@
<file>Test.java</file>
<line>2</line>
<entry_point TYPE="method" FQNAME="Test void doSmth(java.lang.String str)" />
<description>Parameter &lt;code&gt;str&lt;/code&gt; is not used in either this method or any of its derived methods</description>
<description>Parameter &lt;code&gt;str&lt;/code&gt; is not used</description>
</problem>
</problems>

View File

@@ -3,11 +3,11 @@
<problem>
<file>A.java</file>
<line>1</line>
<description>Class has &lt;code&gt;equals()&lt;/code&gt; defined but does not define &lt;code&gt;hashCode()&lt;/code&gt;.</description>
<description>Class has &lt;code&gt;equals()&lt;/code&gt; defined but does not define &lt;code&gt;hashCode()&lt;/code&gt;</description>
</problem>
<problem>
<file>B.java</file>
<line>1</line>
<description>Class has &lt;code&gt;hashCode()&lt;/code&gt; defined but does not define &lt;code&gt;equals()&lt;/code&gt;.</description>
<description>Class has &lt;code&gt;hashCode()&lt;/code&gt; defined but does not define &lt;code&gt;equals()&lt;/code&gt;</description>
</problem>
</problems>

View File

@@ -3,6 +3,6 @@
<problem>
<file>Test.java</file>
<line>2</line>
<description>Class has &lt;code&gt;equals()&lt;/code&gt; defined but does not define &lt;code&gt;hashCode()&lt;/code&gt;.</description>
<description>Class has &lt;code&gt;equals()&lt;/code&gt; defined but does not define &lt;code&gt;hashCode()&lt;/code&gt;</description>
</problem>
</problems>

View File

@@ -18,7 +18,7 @@
<file>Test.java</file>
<line>2</line>
<problem_class id="unused" severity="WARNING" attribute_key="NOT_USED_ELEMENT_ATTRIBUTES">Unused declaration</problem_class>
<description>Parameter &lt;code&gt;b&lt;/code&gt; is not used in either this method or any of its derived methods</description>
<description>Parameter &lt;code&gt;b&lt;/code&gt; is not used</description>
<highlighted_element>b</highlighted_element>
<language>JAVA</language>
<offset>26</offset>

View File

@@ -5,7 +5,7 @@
<file>DoubleQualify.java</file>
<line>4</line>
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Unnecessary fully qualified name</problem_class>
<description>Qualifier &lt;code&gt;java.util&lt;/code&gt; is unnecessary, and can be replaced with an import #loc</description>
<description>Qualifier &lt;code&gt;java.util&lt;/code&gt; is unnecessary and can be removed #loc</description>
</problem>
</problems>

View File

@@ -26,14 +26,14 @@
<file>UnnecessaryFullyQualifiedName.java</file>
<line>17</line>
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Unnecessary fully qualified name</problem_class>
<description>Qualifier &lt;code&gt;java.lang&lt;/code&gt; is unnecessary, and can be replaced with an import #loc</description>
<description>Qualifier &lt;code&gt;java.lang&lt;/code&gt; is unnecessary and can be removed #loc</description>
</problem>
<problem>
<file>UnnecessaryFullyQualifiedName.java</file>
<line>18</line>
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Unnecessary fully qualified name</problem_class>
<description>Qualifier &lt;code&gt;java.lang&lt;/code&gt; is unnecessary, and can be replaced with an import #loc</description>
<description>Qualifier &lt;code&gt;java.lang&lt;/code&gt; is unnecessary and can be removed #loc</description>
</problem>
<problem>
@@ -47,7 +47,7 @@
<file>UnnecessaryFQNJavadoc.java</file>
<line>4</line>
<problem_class severity="WARNING" attribute_key="WARNING_ATTRIBUTES">Unnecessary fully qualified name</problem_class>
<description>Qualifier &lt;code&gt;java.util&lt;/code&gt; is unnecessary, and can be replaced with an import #loc</description>
<description>Qualifier &lt;code&gt;java.util&lt;/code&gt; is unnecessary and can be removed #loc</description>
</problem>
<problem>

View File

@@ -7,7 +7,7 @@
<problem>
<file>test.kt</file>
<line>3</line>
<description>Function name &lt;code&gt;FOO_BAR&lt;/code&gt; should not contain underscores #loc</description>
<description>Function name &lt;code&gt;FOO_BAR&lt;/code&gt; should start with a lowercase letter #loc</description>
</problem>
<problem>
<file>test.kt</file>

View File

@@ -2,7 +2,7 @@
<problem>
<file>test.kt</file>
<line>27</line>
<description>Property name &lt;code&gt;_Foo&lt;/code&gt; should not start with an underscore #loc</description>
<description>Property name &lt;code&gt;_Foo&lt;/code&gt; should start with a lowercase letter #loc</description>
</problem>
<problem>
<file>test.kt</file>
@@ -12,21 +12,21 @@
<problem>
<file>test.kt</file>
<line>45</line>
<description>Property name &lt;code&gt;interface_p1&lt;/code&gt; should start with a lowercase letter #loc</description>
<description>Property name &lt;code&gt;interface_p1&lt;/code&gt; should not contain underscores #loc</description>
</problem>
<problem>
<file>test.kt</file>
<line>46</line>
<description>Property name &lt;code&gt;interface_p2&lt;/code&gt; should start with a lowercase letter #loc</description>
<description>Property name &lt;code&gt;interface_p2&lt;/code&gt; should not contain underscores #loc</description>
</problem>
<problem>
<file>test.kt</file>
<line>52</line>
<description>Property name &lt;code&gt;ctor_val&lt;/code&gt; should start with a lowercase letter #loc</description>
<description>Property name &lt;code&gt;ctor_val&lt;/code&gt; should not contain underscores #loc</description>
</problem>
<problem>
<file>test.kt</file>
<line>53</line>
<description>Property name &lt;code&gt;ctor_var&lt;/code&gt; should start with a lowercase letter #loc</description>
<description>Property name &lt;code&gt;ctor_var&lt;/code&gt; should not contain underscores #loc</description>
</problem>
</problems>