Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321562

Summary: [Unit Test Failure] KdmToUml2ConverterTest
Product: [Modeling] MoDisco Reporter: Fabien Giquel <fabien.giquel>
Component: TechnologiesAssignee: Fabien Giquel <fabien.giquel>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: hugo.bruneliere, modisco.web-inbox
Version: 0.9.0Flags: fabien.giquel: indigo+
Target Milestone: 0.9.0 M2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Fabien Giquel CLA 2010-08-03 05:46:36 EDT
Some tests do not success anymore on hudson nightly build.

KdmToUml2ConverterTest.testKdmSourceToUmlConverter_bug315355
KdmToUml2ConverterTest.testValidationOfConvertedSourceUmlModel
Comment 1 Fabien Giquel CLA 2010-08-03 05:54:05 EDT
The both tests fail with a transformation exception

junit.framework.AssertionFailedError: Transformation of kdm model into uml model shall not produce errors !
	at junit.framework.Assert.fail(Assert.java:47)
	at org.eclipse.gmt.modisco.kdm.uml2converter.tests.KdmToUml2ConverterTest.basicKdmSourceToUmlConverter_bug315355(KdmToUml2ConverterTest.java:217)
Comment 2 Fabien Giquel CLA 2010-08-03 12:45:24 EDT
Here is the cause : non portable xmi test file (using CP1252 xml encoding).
Fixed in SVN. I also fixed the KDM.Source Discoverer for using UTF-8.

Test working on Hudson now.
Comment 3 Hugo Bruneliere CLA 2010-10-05 04:29:44 EDT
Bug fixed.