Skip to content
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

Production of uncompilable code #107

Closed
danglotb opened this issue Apr 13, 2017 · 1 comment
Closed

Production of uncompilable code #107

danglotb opened this issue Apr 13, 2017 · 1 comment

Comments

@danglotb
Copy link
Member

DSpot produces sometimes uncompilable or failing test cases code.

For instance, after amplifying com.squareup.javapoet.AnnotationSpecTest (from javapoet), and renaming it by com.squareup.javapoet.AmplAnnotationSpecTest, we got two issues:
char[] g() default {0, 0xCAFE, 'z', '€', 'ℕ', '"', '\'', '\t', '\n'};
is transformed into
char[] g() default {0, 0xCAFE, 'z', '?', '?', '"', '\'', '\t', '\n'};
and some Literals contains the name of the class (AnnotationSpecTest), and produce assertions errors.

@monperrus monperrus added the bug label May 3, 2017
@danglotb
Copy link
Member Author

This issue was related to spoon, and not to DSpot.

The bug has been fixed with this pull request.

@danglotb danglotb removed the bug label Jul 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants