org.eclipse.emf.emfstore.internal.fuzzy.emf.api
Class ESTestConfigImpl

java.lang.Object
  extended by org.eclipse.emf.emfstore.internal.common.api.AbstractAPIImpl<ESTestConfigImpl,TestConfig>
      extended by org.eclipse.emf.emfstore.internal.fuzzy.emf.api.ESTestConfigImpl
All Implemented Interfaces:
ESTestConfig, InternalAPIDelegator<ESTestConfigImpl,TestConfig>

public class ESTestConfigImpl
extends AbstractAPIImpl<ESTestConfigImpl,TestConfig>
implements ESTestConfig

The API implementation wrapper for TestConfig.

Author:
emueller

Constructor Summary
ESTestConfigImpl(TestConfig testConfig)
          Constructor.
 
Method Summary
 int getCount()
          Specifies how many times the test should be executed.
 String getId()
          Returns the unique ID of this test configuration.
 ESMutatorConfig getMutatorConfig()
          Returns the configuration of the model mutator.
 long getSeed()
          Returns the initial seed for the random generator.
 Class<?> getTestClass()
          Returns the class containing the test.
 
Methods inherited from class org.eclipse.emf.emfstore.internal.common.api.AbstractAPIImpl
equals, hashCode, toInternalAPI
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ESTestConfigImpl

public ESTestConfigImpl(TestConfig testConfig)
Constructor.

Parameters:
testConfig - the internal TestConfig instance to be wrapped
Method Detail

getId

public String getId()
Returns the unique ID of this test configuration.

Specified by:
getId in interface ESTestConfig
Returns:
the unique ID of this test configuration
See Also:
ESTestConfig.getId()

getSeed

public long getSeed()
Returns the initial seed for the random generator.

Specified by:
getSeed in interface ESTestConfig
Returns:
the initial seed for the random generator
See Also:
ESTestConfig.getSeed()

getCount

public int getCount()
Specifies how many times the test should be executed.

Specified by:
getCount in interface ESTestConfig
Returns:
the number of test executions
See Also:
ESTestConfig.getCount()

getMutatorConfig

public ESMutatorConfig getMutatorConfig()
Returns the configuration of the model mutator.

Specified by:
getMutatorConfig in interface ESTestConfig
Returns:
the configuration of the model mutator
See Also:
ESTestConfig.getMutatorConfig()

getTestClass

public Class<?> getTestClass()
Returns the class containing the test.

Specified by:
getTestClass in interface ESTestConfig
Returns:
the class containing the test
See Also:
ESTestConfig.getTestClass()


Copyright © 2015. All Rights Reserved.