...
Developing OSGi tests can be definitely boring. First, testing is generally not a very exciting experience, but imagine if you have to handle all the OSGi issues in your tests... Don't worry junit4osgi provides methods allowing to interact easily with OSGi!
Div | ||||||
---|---|---|---|---|---|---|
| ||||||
| ||||||
Wiki Markup | ||||||
{div:class=toc}
{toc:maxLevel=4|minLevel=2}
{div} |
OSGi methods
junit4osgi test case extends the OSGiTestCase
class. This class provides useful methods allowing to find services, get them, get the PackageAdmin
service... The description of these methods can be found afterward.
...