org.eclipse.xtext.junit4
Interface IRegistryConfigurator

All Known Implementing Classes:
PureXbaseInjectorProvider

public interface IRegistryConfigurator

Extension interface to IInjectorProvider to clean up any side effects introduced through modifying global state registries such as EPackage.Registry.

Author:
Michael Clay - Initial contribution and API

Method Summary
 void restoreRegistry()
          Complement method to setupRegistry() to be called after any test execution.
 void setupRegistry()
          Enables the same behaviour such as junit's Before which is used to prepare or setup some required state expected by the actual test method execution.
 

Method Detail

setupRegistry

void setupRegistry()
Enables the same behaviour such as junit's Before which is used to prepare or setup some required state expected by the actual test method execution.


restoreRegistry

void restoreRegistry()
Complement method to setupRegistry() to be called after any test execution.