test « osgi « Java Enterprise Q&A





1. OSGi Testing    stackoverflow.com

Currently, I am working on a new version control system as part of a final year project at University. The idea is to make it highly adaptable and pluggable. We're using the ...

2. Best practices for Eclipse Feature Integration Testing    stackoverflow.com

I am developing an Eclipse feature consisting of several Eclipse plugins, using Equinox Declarative Services (DS) to wire the plugins together at runtime. I would like to add integration tests ...

3. OSGi unit testing without step that packages bundles    stackoverflow.com

I have checked a few testing solution for OSGI including PAX and had a quick look at the abstract TestCase within Spring DM but they both appear to require one to ...

4. Simple way to test requiring OSGI without lots of artefacts and dependencies    stackoverflow.com

OSGI Testing frameworks - some observations. I am in the middle of writing a system that makes use of OSGI. However all of the popular testing frameworks (Spring-OSGI, PaxExam) require a lot ...

5. Java Unit Test: Replace a private method under test    stackoverflow.com

Is there any way of replacing the logic within a private method when running a JUnit test? A bit of background: we have some private methods which interact with bundles within an ...

6. P2 repository for org.eclipse.test bundle    stackoverflow.com

Where can I find a p2 repository containing org.eclipse.test?

7. Dynamic Junit Test    stackoverflow.com

Hello As part of my study final project I have to make a J2EE application that allows users to run JUnit tests(without any experience what they have to do is to click ...

8. How do I mock or embed an OSGi HttpService in a unit test?    stackoverflow.com

I have a module that I want to unit test, which extends HttpServlet and, in the real application is connected to an OSGi HttpService (the Jetty-based Pax Web) using registerServlet(). I'm setting ...

9. LinkageError when combining JUnit 4 and Mockito in an Eclipse test plug-in    stackoverflow.com

I have a test plug-in which depends both on JUnit 4.8.1 and on Mockito 1.8.5. JUnit bundle depends on org.hamcrest.core bundle and reexports this dependency, while Mockito includes the Hamcrest packages ...





10. Using OSGi declarative services in the context of a JUnit test    stackoverflow.com

I'm trying to figure out how to implement multi-bundle integration test in OSGi using JUnit. With integration test, I mean instantiating a subset of the bundles to automatically validate functionality in ...

11. Tips on making PAX (OSGI testing) framework faster    stackoverflow.com

I know PAX is doing a lot of stuff and that creating the container and copying all those jars is not cheap but are there any general tips to improve performance. ...

12. JCR Repository available for Junit tests    stackoverflow.com

I have a code accessing to content repositories through JCR API. My code is being developed in OSGI environment. What I want is to have a JCR content repository which should ...

13. Getting Cobertura reports for pax-exam Integration Tests    stackoverflow.com

I am running my Integration Tests using maven and the failsafe plugin. The tests themselves are executed using pax-exam (which uses pax-runner). Failsafe runs at the integration-test phase, and Cobertura at ...