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

XRENDERING-563: Handle metadata rendering in HTML macro #175

Merged
merged 5 commits into from
May 16, 2019
Merged

Conversation

surli
Copy link
Member

@surli surli commented May 10, 2019

Issue

https://jira.xwiki.org/browse/XRENDERING-563

Solution

Handle the metadata in the custom HtmlMacroXHTMLRenderer the same way we do in AnnotatedXHTMLRenderer.

@surli surli requested a review from mflorea May 10, 2019 09:13
  * Choose the right renderer based on the target syntax.
@surli
Copy link
Member Author

surli commented May 15, 2019

Everything's passing, however we decrease the mutation score with it, since the custom test suite are not handled:

Mutation score of 17 is below threshold of 24

I suggest to decrease it in the pom.xml since the new feature is actually tested, and we already have an open issue for it: STAMP-project/pitest-descartes#83

surli added 2 commits May 16, 2019 12:56
  * Avoid NPE in ListenerChain by checking if a ChainingListener with an
inherited class has been pushed
  * Add new syntax renderers in HTMLMacro and change the archi to use a
wrappedListener for adding custom behaviours
  * Update tests on HTMLMacro
  * Define an AbstractHTMLMacroRenderer for all renderers.
@surli surli merged commit 414a312 into master May 16, 2019
@surli surli deleted the XRENDERING-563 branch May 16, 2019 14:08
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.

2 participants