Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » EUnit Examples
EUnit Examples [message #1840458] Thu, 15 April 2021 17:44 Go to next message
jo ber is currently offline jo berFriend
Messages: 94
Registered: August 2018
Member
Hi

I was trying to run the eunit test project [0] and there are few points were I've problems:

1. I could find anywhere the dependency [1], I replaced with 'org.eclipse.epsilon.eunit.dt.diff.emf'
2. Maybe need to change [2] to
import org.eclipse.epsilon.eunit.dt.cmp.emf.v3.EMFModelComparator;

3. The MANIFEST.MF seems missing the dependency to
org.eclipse.core.runtime


After that, I changed the expected model and run 'TransformationTest.java' but no difference was reported. I was expecting to see an assertion error, the eol scripts reports an error.
I was also wondering how exactely to report model difference in the ui as shown here: https://www.eclipse.org/epsilon/doc/eunit/#assertions

Thank you and kind regards,

[0]. https://git.eclipse.org/c/epsilon/org.eclipse.epsilon.git/tree/examples/org.eclipse.epsilon.eunit.examples.etl
[1]. https://git.eclipse.org/c/epsilon/org.eclipse.epsilon.git/tree/examples/org.eclipse.epsilon.eunit.examples.etl/META-INF/MANIFEST.MF#n13
[2]. https://git.eclipse.org/c/epsilon/org.eclipse.epsilon.git/tree/examples/org.eclipse.epsilon.eunit.examples.etl/src/org/eclipse/epsilon/eunit/examples/etl/vsjunit/TransformationTest.java#n30
Re: EUnit Examples [message #1840497 is a reply to message #1840458] Fri, 16 April 2021 14:28 Go to previous message
Antonio Garcia-Dominguez is currently offline Antonio Garcia-DominguezFriend
Messages: 594
Registered: January 2010
Location: Birmingham, UK
Senior Member

Hi Jo,

Thanks for letting me know about your issues. Those examples are a few releases old, and it appears that the change in comment syntax in EOL broke some of those examples. I have fixed them now: please pull the latest version.

org.eclipse.epsilon.eunit.dt.cmp.emf.v3.EMFModelComparator was renamed to org.eclipse.epsilon.eunit.cmp.emf.EMFModelComparator recently. Please use the latest interim version instead of the latest stable version if you are using examples from the Git repository :-). Use this update site:

http://download.eclipse.org/epsilon/interim/

Best,
Antonio

[Updated on: Fri, 16 April 2021 14:29]

Report message to a moderator

Previous Topic:Check in selenium java code is not working
Next Topic:etl in multithreaded standalone application
Goto Forum:
  


Current Time: Sat Apr 27 13:15:36 GMT 2024

Powered by FUDForum. Page generated in 0.03234 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top