org.eclipse.xtext.junit
Class GlobalRegistries

java.lang.Object
  extended by org.eclipse.xtext.junit.GlobalRegistries

public class GlobalRegistries
extends java.lang.Object

Utility for tests to avoid being based on and doing any side effects to the global registries from EMF.

Author:
Sven Efftinge - Initial contribution and API

Nested Class Summary
static class GlobalRegistries.GlobalStateMemento
           
 
Constructor Summary
GlobalRegistries()
           
 
Method Summary
static void clearGlobalRegistries()
           
static void initializeDefaults()
           
static GlobalRegistries.GlobalStateMemento makeCopyOfGlobalState()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalRegistries

public GlobalRegistries()
Method Detail

makeCopyOfGlobalState

public static GlobalRegistries.GlobalStateMemento makeCopyOfGlobalState()

clearGlobalRegistries

public static void clearGlobalRegistries()

initializeDefaults

public static void initializeDefaults()