org.imemex.testcases
Class Activator

java.lang.Object
  extended by org.imemex.osgi.AbstractIMemexActivator
      extended by org.imemex.testcases.Activator
All Implemented Interfaces:
org.osgi.framework.BundleActivator

public class Activator
extends AbstractIMemexActivator

This bundle does extract the testcase names from its jars, calls the testrunner service with these names and then aggregates the results into one XML-file. See /imemex2.0/doc/imemex-internals/testing/how_testing_was_implemented.txt for details.


Constructor Summary
Activator()
           
 
Method Summary
static org.osgi.framework.BundleContext getBundleContext()
          returns the bs
static iQLCmdManager getICMDM()
          gets global iQLCmdManager reference
static IMeMexTestRunner getTestRunner()
          Obtains the test runner service.
 void start(org.osgi.framework.BundleContext bc)
          Starts this bundle
 void stop(org.osgi.framework.BundleContext bc)
          Stops this bundle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Activator

public Activator()
Method Detail

start

public void start(org.osgi.framework.BundleContext bc)
Starts this bundle

Parameters:
bc - the bundle context

stop

public void stop(org.osgi.framework.BundleContext bc)
Stops this bundle

Parameters:
bc - bundle context

getBundleContext

public static org.osgi.framework.BundleContext getBundleContext()
returns the bs

Returns:
the bundle context

getTestRunner

public static IMeMexTestRunner getTestRunner()
Obtains the test runner service.

Returns:
the test runner service.

getICMDM

public static iQLCmdManager getICMDM()
gets global iQLCmdManager reference

Returns: