Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [viatra-dev] folder for tests, examples in the repo

Hi,

based on the issues, it seems that there is recent development (cglib pull request merged a few days ago).
I don't know how fast the release cycle of cglib and mockito are, and how long it takes to get that version into Orbit.
However, I think storing it on Github for a little longer is acceptable.

Cheers,

  Ábel Hegedüs

Fault Tolerant Systems Research Group
Department of Measurement and Information Systems
Budapest University of Technology and Economics

On 2014.07.21. 20:56:24, David, Istvan <davidi@xxxxxxxxxxxxxx> wrote:

Hi,

After many hours of trying, I couldn't manage to replace the Mockito jar in the test plug-in with the Mockito plug-in at Orbit. Turns out, it's been a well-known issue for two (!) years now: https://bugs.eclipse.org/bugs/show_bug.cgi?id=349164. (Thanks for the hit, Zoli.) Also see: https://code.google.com/p/mockito/issues/detail?id=393.
In a nutshell: the Mockito plug-in at Orbit is signed by Eclipse, which causes issues whilst generating test double objects. On the other hand, with the jar available on the Mockito website the tests work like a charm.

Conclusion: I'd stick to keeping that Mockito jar in my test plug-in and consequently, would store it on GitHub until this nasty issue isn't fixed. What do you think?

Cheers,
Steve
 



2014-07-21 16:37 GMT+02:00 David, Istvan <davidi@xxxxxxxxxxxxxx>:
Okay, thanks!


2014-07-21 15:54 GMT+02:00 Ujhelyi Zoltán <ujhelyiz@xxxxxxxxxx>:

Download the Mockito plug-in from the Orbit repository, and use it as an eclipse plug-in dependency.

Cheers,
Zoli
-- Zoltán Ujhelyi
https://www.inf.mit.bme.hu/en/members/ujhelyiz

Fault Tolerant Systems Research Group
Budapest University of Technology and Economics

On 2014.07.21., at 15:44, David, Istvan <davidi@xxxxxxxxxxxxxx> wrote:

> Hi,
>
> Great news: I just found the latest version of Mockito (1.9.5) here: http://download.eclipse.org/tools/orbit/downloads/drops/R20140525021250/, which seems to be the latest build recommended.
> So I suppose Maven can take care of this on the CI side - how can I use Mockito in my development environment? (Right now the appropriate jar file is referenced from the classpath.)
>
> Cheers,
> Steve
>
>
>
>
> 2014-07-21 15:26 GMT+02:00 Ujhelyi Zoltán <ujhelyiz@xxxxxxxxxx>:
> Hi,
>
> about third party dependencies: do not include external plug-ins in the lib folders, as each file downloadable from eclipse.org needs to be approved by legal. If we want to use the dependency, have a look at the bundles probided by the Orbit project, it includes a set of dependencies available, and we should also start a CQ stating we use it as a test dependency only.
>
> Relevant documentation/source:
>  * https://wiki.eclipse.org/Development_Resources/IP/Test_and_Build_Dependencies
>  * https://wiki.eclipse.org/index.php/Orbit
>
> Cheers,
> Zoli
> -- Zoltán Ujhelyi
> https://www.inf.mit.bme.hu/en/members/ujhelyiz
>
> Fault Tolerant Systems Research Group
> Budapest University of Technology and Economics
>
> On 2014.07.21., at 12:08, David, Istvan <davidi@xxxxxxxxxxxxxx> wrote:
>
> > Hi,
> >
> > Regarding the tests: I like employing mock frameworks like Mockito in my unit and integration tests. In the CEP component, there's one fragment plugin containing tests for its host plugin; and also containing the Mockito library in /libs packaged in jar.
> >
> > Question: What's the legal status of these 3rd party dependencies? (FYI: Mockito is provided under the terms of the MIT license; EasyMock goes with the Apache 2.)
> >
> > Cheers,
> > Steve
> >
> > BTW, I'm still waiting for the issues regarding my commit rights to get sorted out, so the above question is certainly *not* the blocker one here. :)
> >
> >
> >
> > 2014-07-18 17:35 GMT+02:00 Ujhelyi Zoltán <ujhelyiz@xxxxxxxxxx>:
> > Hi,
> >
> > feel free to.
> >
> > Zoli
> > -- Zoltán Ujhelyi
> > https://www.inf.mit.bme.hu/en/members/ujhelyiz
> >
> > Fault Tolerant Systems Research Group
> > Budapest University of Technology and Economics
> >
> > On 2014.07.18., at 15:49, David, Istvan <davidi@xxxxxxxxxxxxxx> wrote:
> >
> > > Hi,
> > >
> > > I just noticed the lack of the above mentioned folders in the eclipse.org repo. Can I add these?
> > >
> > > Cheers,
> > > Steve
> > > _______________________________________________
> > > viatra-dev mailing list
> > > viatra-dev@xxxxxxxxxxx
> > > To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> > > https://dev.eclipse.org/mailman/listinfo/viatra-dev
> >
> > _______________________________________________
> > viatra-dev mailing list
> > viatra-dev@xxxxxxxxxxx
> > To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> > https://dev.eclipse.org/mailman/listinfo/viatra-dev
> >
> > _______________________________________________
> > viatra-dev mailing list
> > viatra-dev@xxxxxxxxxxx
> > To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> > https://dev.eclipse.org/mailman/listinfo/viatra-dev
>
> _______________________________________________
> viatra-dev mailing list
> viatra-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/viatra-dev
>
> _______________________________________________
> viatra-dev mailing list
> viatra-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/viatra-dev

_______________________________________________
viatra-dev mailing list
viatra-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/viatra-dev


_______________________________________________ viatra-dev mailing list viatra-dev@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/viatra-dev

Back to the top