Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] using the testbed
[CDO] using the testbed [message #1006702] Fri, 01 February 2013 13:48 Go to next message
Christophe Bouhier is currently offline Christophe BouhierFriend
Messages: 937
Registered: July 2009
Senior Member
Hi,

I wonder how the testbed is configured in terms of the repo to use? Do I need a running repo?
I read here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=247817
that, there is a persitent flag, does it mean, nothing is really persisted when false?

thank you.
Christophe
Re: [CDO] using the testbed [message #1006705 is a reply to message #1006702] Fri, 01 February 2013 13:56 Go to previous messageGo to next message
Christian Damus is currently offline Christian DamusFriend
Messages: 1270
Registered: July 2009
Location: Canada
Senior Member

Hi, Christophe,

The AbstractCDOTest automatically creates an in-memory repository for
your tests. Simply use the openSession() method to get a session, and
you're off to the races. Everything (session, repository, the lot) is
cleaned up automatically.

The test framework is truly wonderful -- so convenient.

There are a number of annotations that can be used to tweak the
requirements of your test case. See numerous examples in the CDO test
projects.

cW


On 2013-02-01 13:48:12 +0000, Christophe Bouhier said:

> Hi,
>
> I wonder how the testbed is configured in terms of the repo to use? Do
> I need a running repo? I read here:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=247817
> that, there is a persitent flag, does it mean, nothing is really
> persisted when false?
>
> thank you. Christophe
Re: [CDO] using the testbed [message #1006708 is a reply to message #1006705] Fri, 01 February 2013 14:03 Go to previous message
Christophe Bouhier is currently offline Christophe BouhierFriend
Messages: 937
Registered: July 2009
Senior Member
Thanks Christian! I can just hit myself, for not asking and using the TB earlier.
Previous Topic:[CDO] CDOAdapter vs CDOViewInvalidationEvent
Next Topic:[CDO] Problem with package on CDO M4, but not on M3
Goto Forum:
  


Current Time: Fri Apr 26 16:25:16 GMT 2024

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

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

Back to the top