Testing framework bug (configureFromFileText("a.c", ""))
=======================================================
=======================================================
=======================================================
Please sign in to leave a comment.
Missing assertion actually. Read this as following: "Can't create PsiFile
for 'a.c'. Unknown file type most probably.".
Fixed.
--
Best regards,
Maxim Shafirov
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"
"Timur Zambalayev" <no_mail@jetbrains.com> wrote in message
news:1608325.1062032984034.JavaMail.itn@is.intellij.net...
Is it possible to register a file type programatically, maybe just temporarily for the run of the test (I think it's not at the moment)?
This is for CommentPlugin tests. I'm dealing with many different file types there. If it's not possible to register programatically (i.e. automatically by the tests), then the setup to run the tests for the first time will be more complicated since it'll require a big manual step (file type registering).
And how about an option (in the tests of course) to treat unknown file types as plain text?
Timur