intellij.com - Proposed features status Follow
Hi JetBrains team,
is there any chance that we will see the "proposed" generics support and the diff view for failed assertions in 4.0 as shown in the following two screenshots?
Please sign in to leave a comment.
In every EAP release of Aurora, i guess :))
Or flash by keyboard "super-bazza-hidden-key-strokes" in your version of IDEA, then in appeared super-hidden-editor type follow:
Dear JetBrains, please let me to see Generics and new JUnit integration!
Then hold down Ctrl key, and press "Sync" button.
Although I don't know what you guys smoke in St. Petersburg may I have some of it? ;)
However it seems I am just too stupid since I am not able to reproduce a Set<File> = new dialog nor do I get an "Click to see difference" message within the JUnit integration. Using #1131, of course.
Better I take another look into my crystal ball though.
Forget about the generics part, took me quite some time to find the right shortcut;)
Still the JUnit part is missing. Will take another look.
As you see on screenshot it's available not for all failed assertions but at least for assertEquals for String arguments.
I have tests assertEquals with Strings only, however my test strings did not contain special characters such as "\n".
assertEquals("A","B") does not offer this help.
assertEquals("A \n", "B") does.
To be honest an interesting but somehow not expected behavior, at least on my side.
That is expected behavior:
Idea opens diff when expected or actual text has more than one line, but if
both texts are single line we prefer to show you the different right in
console by printing both aligning their begginings.
"Develop with pleasure!"
"Jens Schumann" <firstname.lastname@example.org> wrote in message
not contain special characters such as "\n".