TestFramework : how to get an InspectionManager
Question:
-
How do you get an InspectionManager, in the context of the TestFramework?
Problem : null == InspectionManager.getInstance(getProject());
-
How to reproduce :
-
The 4th assert below always fails :
Please sign in to leave a comment.
Why you need it? I mean what test puropse may single createProblemDescriptor
method there can carry out?
--
Best regards,
Maxim Shafirov
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"
"Alain Ravet" <alain.ravet.list@wanadoo.be> wrote in message
news:bk71ei$ao3$1@is.intellij.net...
>
>
>
>
>
>
>
Maxim Shafirov (JetBrains) wrote:
> Why you need it? I mean what test puropse may single
> createProblemDescriptor method there can carry out?
How can you test an inspection if you can't check its output (the
problems it found)?
Alain