[java] Add failing tests for #2025

This commit is contained in:
Juan Martín Sotuyo Dodero
2019-10-06 17:37:39 -03:00
parent 5c21dd7933
commit 92f393f32c

View File

@@ -503,4 +503,32 @@ public class Derived extends FileInputStream {
}
]]></code>
</test-code>
<test-code>
<description>#2025 False Positive in UnusedImports for params when using @see with FQCN</description>
<expected-problems>0</expected-problems>
<code><![CDATA[
import spark.Response; // flaged, should not
/**
* @see foo.bar.MyController#startTransaction(Response)
*/
public class VendingV2PaymentRequest {
}
]]></code>
</test-code>
<test-code>
<description>#2025 False Positive in UnusedImports for params when using @link with FQCN</description>
<expected-problems>0</expected-problems>
<code><![CDATA[
import spark.Request; // flaged, should not
/**
* {@link foo.bar.MyController#startTransaction(Request)}
*/
public class VendingV2PaymentRequest {
}
]]></code>
</test-code>
</test-data>