org.apache.felix.ipojo.junit4osgi
Class Helper

java.lang.Object
  extended by org.apache.felix.ipojo.junit4osgi.Helper
Direct Known Subclasses:
IPOJOHelper

public abstract class Helper
extends Object

Helper abstract class. Helper objects aim to facilitate Test writing.

Author:
Felix Project Team

Field Summary
protected  BundleContext m_context
          The bundle context.
protected  OSGiTestCase m_testcase
          The OSGi Test case.
 
Constructor Summary
Helper(OSGiTestCase tc)
          Creates a Helper.
 
Method Summary
abstract  void dispose()
          Rolls back the session.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_context

protected BundleContext m_context
The bundle context.


m_testcase

protected OSGiTestCase m_testcase
The OSGi Test case.

Constructor Detail

Helper

public Helper(OSGiTestCase tc)
Creates a Helper. Registers the helper. Sub-classes must initialize the session.

Parameters:
tc - the OSGi Test Case
Method Detail

dispose

public abstract void dispose()
Rolls back the session.



Copyright © 2013 The Apache Software Foundation. All Rights Reserved.