Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321562 - [Unit Test Failure] KdmToUml2ConverterTest
Summary: [Unit Test Failure] KdmToUml2ConverterTest
Status: CLOSED FIXED
Alias: None
Product: MoDisco
Classification: Modeling
Component: Technologies (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: 0.9.0 M2   Edit
Assignee: Fabien Giquel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-03 05:46 EDT by Fabien Giquel CLA
Modified: 2010-10-18 08:35 EDT (History)
2 users (show)

See Also:
fabien.giquel: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.