2010-01-22 1.2.0

org.eclipse.soda.dk.platform.validation.test.agent
Class OSGiValidationTestCase

java.lang.Object
  extended by ConfiguredTestCase
      extended by org.eclipse.soda.dk.platform.validation.test.agent.OSGiValidationTestCase

public class OSGiValidationTestCase
extends ConfiguredTestCase

Since:
1.0
Version:
1.2.0

Field Summary
static java.lang.String DEFAULT_REQUIRED_OSGI_PACKAGES
          Define the default required osgi packages (String) constant.
static java.lang.String DEFAULT_REQUIRED_OSGI_SERVICES
          Define the default required osgi services (String) constant.
 
Constructor Summary
OSGiValidationTestCase(java.lang.String name)
          Constructs a new instance of the OsgiServicesTestCase class.
 
Method Summary
static void main(java.lang.String[] arguments)
          Main method to run tests in a stand alone mode.
protected  void setUp()
          Set up.
 void test000_ValidateOsgiPackages()
          Test000_ validate osgi packages.
 void test001_ValidateOsgiServices()
          Test001_ validate osgi services.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_REQUIRED_OSGI_PACKAGES

public static final java.lang.String DEFAULT_REQUIRED_OSGI_PACKAGES
Define the default required osgi packages (String) constant.

See Also:
Constant Field Values

DEFAULT_REQUIRED_OSGI_SERVICES

public static final java.lang.String DEFAULT_REQUIRED_OSGI_SERVICES
Define the default required osgi services (String) constant.

See Also:
Constant Field Values
Constructor Detail

OSGiValidationTestCase

public OSGiValidationTestCase(java.lang.String name)
Constructs a new instance of the OsgiServicesTestCase class.

Parameters:
name - The name (String) parameter.
Method Detail

main

public static void main(java.lang.String[] arguments)
Main method to run tests in a stand alone mode.

Parameters:
arguments - The arguments (String[]) parameter.
See Also:
PlatformValidationTestAgent

setUp

protected void setUp()
              throws java.lang.Exception
Set up.

Throws:
java.lang.Exception

test000_ValidateOsgiPackages

public void test000_ValidateOsgiPackages()
Test000_ validate osgi packages.


test001_ValidateOsgiServices

public void test001_ValidateOsgiServices()
                                  throws java.io.IOException,
                                         java.lang.ClassNotFoundException
Test001_ validate osgi services.

Throws:
java.io.IOException
java.lang.ClassNotFoundException - Class Not Found Exception.

2010-01-22 1.2.0

Copyright (c) 2010 IBM. See license in Legal section.