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

Use spoon (http://spoon.gforge.inria.fr/) to check assertions on generated java code #54

Closed
wants to merge 1 commit into from

Conversation

jfcjm
Copy link

@jfcjm jfcjm commented Sep 10, 2017

This PR add

  • maven dependencies for maven-invoker and spoon
  • examples of junit tests using spoon

Signed-off-by: Jean-Marie Kubek jkubek@univ-jfc.fr

…pc4j-rpcgen generated code in junit tests

Signed-off-by: Jean-Marie Kubek <jkubek@univ-jfc.fr>
@dcache-ci
Copy link

Can one of the admins verify this patch?

@kofemann
Copy link
Member

I don't see any reason why this have to be merged. Any explanation ?

@jfcjm
Copy link
Author

jfcjm commented Sep 12, 2017

Hi (sorry for the late answer ...)
Main objective is to add a dependency to spoon. This dependency would be handy for people trying to work on the code generator.

See for example this branch https://github.com/jfcjm/oncrpc4j/tree/generate_java_enums, where we added an option to jrpcgen in order to generate (java) enums instead of constants/interfaces for (xdr) enums.

PS: maveninvoker is an artifact :( we use it in a more complex setup). It could be replaced by a call to jrpcgen.main ;(

@jfcjm jfcjm closed this by deleting the head repository Sep 3, 2024
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

Successfully merging this pull request may close these issues.

3 participants