doxygen inline code differences during merge...

Issue #403 new
Former user created an issue

Original issue 403 created by @ysavourel on 2014-05-09T17:29:27.000Z:

In some case we now throw an exception if there is a inline code difference during merge. One of the docygen files was failing in the tkit integration tests.

I'm not sure if this unit test really exercises the problem and this may be an issue with the skeleton merger (see /integration-tests-tkit/src/test/java/net/sf/okapi/tkit/integration/RoundTripDoxygenSkeletonBasedTkitsIT.java)

Text:
/*!
<li>text with
</ol>
*/

Skeleton TU:
[li]text with [ol]

When we pull the text unit from the xliff we are missing the final [ol] code:
[li]text with []

Strangely there is a "invisible" code there with empty content. The merger throws an exception because there is a code difference.

This unit test may help. I had to change our tikit integration files to remove the section that was crashing. But the doxygen file has been unaltered.

@ Ignore("assert fails")
public void testOutputMultipleLineList () {
String snippet = "/*!<li>mouse double click event\n"
+ "</ol>*/";
String result = FilterTestDriver.generateOutput(getEvents(snippet),
filter.getEncoderManager(), LocaleId.FRENCH);
assertEquals(snippet, result);
}

Comments (1)

  1. Log in to comment