Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] start lightweight CDO server in setup method of unittest([CDO] start lightweight CDO server in setup method of unittest)
[CDO] start lightweight CDO server in setup method of unittest [message #800872] Fri, 17 February 2012 16:16 Go to next message
Bram Stieperaere is currently offline Bram StieperaereFriend
Messages: 10
Registered: December 2011
Junior Member
Hi,

I am starting a project that uses a CDO backend. I am used to test driven development so I would like some CDOUnitTestBase class where in the setup a lightweight CDO server is created, maybe with some convenience methods in the base class to load initial metamodel packages.

is there such a baseclass I can start from?

thanks,

Bram
Re: [CDO] start lightweight CDO server in setup method of unittest [message #801304 is a reply to message #800872] Sat, 18 February 2012 06:37 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Hi Bram,

There is org.eclipse.emf.cdo.tests.AbstractCDOTest with thousands of example test cases.
You can execute them outside of OSGi and optionally with one or several IScenarios.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper



Am 17.02.2012 17:16, schrieb bramez:
> Hi,
>
> I am starting a project that uses a CDO backend. I am used to test driven development so I would like some
> CDOUnitTestBase class where in the setup a lightweight CDO server is created, maybe with some convenience methods in
> the base class to load initial metamodel packages.
> is there such a baseclass I can start from?
>
> thanks,
>
> Bram


Previous Topic:Binding: ComputedList/ObserveDetail resets wrong Element
Next Topic:[Xcore] specifying GenModel annotations
Goto Forum:
  


Current Time: Fri Apr 19 02:09:12 GMT 2024

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

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

Back to the top