-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid line separators in a custom JavaDoc tag prevent test generation #1001
Comments
@amandelpie Reproducing again on test generation for ArrayQuickSort. A bit different stacktracejava.lang.AssertionError: Wrong line separators: '...< a[e2]) {\r\n * a...' at offset 36915 |
Description
For some code examples, invalid line separators are generated, presumably in
To Reproduce
Steps to reproduce the behavior:
Example:
Using the plugin, invoke test generation for the
foo
method:Expected behavior
Tests are successfully generated, no exceptions are thrown.
Actual behavior
No tests are generated, an exception is thrown and displayed in IDE:
Environment
Additional context
It seems that the summary with the custom tag
@utbot.executesCondition
may be incorrect for an execution (code has been taken from the debugger, breakpoint set atcom.intellij.openapi.util.text.StringUtil#assertValidSeparators:2511
; I am not sure but I suppose that this code probably can't be rendered because of the multiline string inside the@code
tag).The text was updated successfully, but these errors were encountered: