org.w3c.mwi.mobileok.basic
Class MobileOKConfiguration

java.lang.Object
  extended by org.w3c.mwi.mobileok.basic.MobileOKConfiguration

public class MobileOKConfiguration
extends java.lang.Object

mobileOK configuration generator.

The class contains one static method getTesterConfiguration() that should be used to create the mobileOK compliant tester configuration.

Version:
$Revision: 1.1 $
Author:
Francois Daoust

Constructor Summary
MobileOKConfiguration()
           
 
Method Summary
static java.util.List<TestImplementation> getMobileOKTests()
          Returns the list of mobileOK tests.
static java.util.List<java.lang.String> getMobileOKTestTypes()
          Returns the list of mobileOK test types.
static TesterConfiguration getTesterConfiguration()
          Returns a mobileOK compliant tester configuration.
static TesterConfiguration getTesterConfiguration(java.util.List<TestImplementation> tests)
          Returns a mobileOK tester configuration that applies the given list of tests.
static TesterConfiguration getTesterConfiguration(java.util.List<TestImplementation> tests, java.util.Map<java.lang.String,java.lang.Object> settings)
          Returns a tester configuration that uses mobileOK settings, possibly amended by the given list of additional settings, and that runs on the given list of tests.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MobileOKConfiguration

public MobileOKConfiguration()
Method Detail

getTesterConfiguration

public static TesterConfiguration getTesterConfiguration()
Returns a mobileOK compliant tester configuration.

Returns:
a new instance of a mobileOK configuration.

getTesterConfiguration

public static TesterConfiguration getTesterConfiguration(java.util.List<TestImplementation> tests)
Returns a mobileOK tester configuration that applies the given list of tests.

If the list of tests is different from the list returned by getMobileOKTests(), note that the returned configuration is de facto not a mobileOK compliant configuration.

Parameters:
tests - list of tests that should be run.
Returns:
a new instance of a mobileOK configuration.

getTesterConfiguration

public static TesterConfiguration getTesterConfiguration(java.util.List<TestImplementation> tests,
                                                         java.util.Map<java.lang.String,java.lang.Object> settings)
Returns a tester configuration that uses mobileOK settings, possibly amended by the given list of additional settings, and that runs on the given list of tests.

If the list of tests is different from the list returned by getMobileOKTests(), note that the returned configuration is de facto not a mobileOK compliant configuration.

Parameters:
tests - list of tests that should be run.
settings - further settings that should be used.
Returns:
a new instance of a mobileOK configuration.

getMobileOKTests

public static java.util.List<TestImplementation> getMobileOKTests()
Returns the list of mobileOK tests.

Returns:
the list of mobileOK tests.

getMobileOKTestTypes

public static java.util.List<java.lang.String> getMobileOKTestTypes()
Returns the list of mobileOK test types.

Returns:
the list of mobileOK test types.