// Path: RocLang/robotcontrol.parent/robotcontrol/src-gen/robotcontrol/roc/Program.java
// public interface Program extends EObject
// {
//   /**
//    * Returns the value of the '<em><b>Movements</b></em>' containment reference list.
//    * The list contents are of type {@link robotcontrol.roc.Movement}.
//    * <!-- begin-user-doc -->
//    * <p>
//    * If the meaning of the '<em>Movements</em>' containment reference list isn't clear,
//    * there really should be more of a description here...
//    * </p>
//    * <!-- end-user-doc -->
//    * @return the value of the '<em>Movements</em>' containment reference list.
//    * @see robotcontrol.roc.RocPackage#getProgram_Movements()
//    * @model containment="true"
//    * @generated
//    */
//   EList<Movement> getMovements();
// 
// } // Program
// 
// Path: RocLang/robotcontrol.parent/robotcontrol.tests/src-gen/robotcontrol/tests/RocInjectorProvider.java
// public class RocInjectorProvider implements IInjectorProvider, IRegistryConfigurator {
// 
// 	protected GlobalStateMemento stateBeforeInjectorCreation;
// 	protected GlobalStateMemento stateAfterInjectorCreation;
// 	protected Injector injector;
// 
// 	static {
// 		GlobalRegistries.initializeDefaults();
// 	}
// 
// 	@Override
// 	public Injector getInjector() {
// 		if (injector == null) {
// 			stateBeforeInjectorCreation = GlobalRegistries.makeCopyOfGlobalState();
// 			this.injector = internalCreateInjector();
// 			stateAfterInjectorCreation = GlobalRegistries.makeCopyOfGlobalState();
// 		}
// 		return injector;
// 	}
// 
// 	protected Injector internalCreateInjector() {
// 		return new RocStandaloneSetup() {
// 			@Override
// 			public Injector createInjector() {
// 				return Guice.createInjector(createRuntimeModule());
// 			}
// 		}.createInjectorAndDoEMFRegistration();
// 	}
// 
// 	protected RocRuntimeModule createRuntimeModule() {
// 		// make it work also with Maven/Tycho and OSGI
// 		// see https://bugs.eclipse.org/bugs/show_bug.cgi?id=493672
// 		return new RocRuntimeModule() {
// 			@Override
// 			public ClassLoader bindClassLoaderToInstance() {
// 				return RocInjectorProvider.class
// 						.getClassLoader();
// 			}
// 		};
// 	}
// 
// 	@Override
// 	public void restoreRegistry() {
// 		stateBeforeInjectorCreation.restoreGlobalState();
// 	}
// 
// 	@Override
// 	public void setupRegistry() {
// 		getInjector();
// 		stateAfterInjectorCreation.restoreGlobalState();
// 	}
// }


import com.google.inject.Inject;
import org.eclipse.xtend2.lib.StringConcatenation;
import org.eclipse.xtext.junit4.InjectWith;
import org.eclipse.xtext.junit4.XtextRunner;
import org.eclipse.xtext.junit4.util.ParseHelper;
import org.eclipse.xtext.xbase.lib.Exceptions;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import robotcontrol.roc.Program;
import robotcontrol.tests.RocInjectorProvider;
/**
 * generated by Xtext 2.10.0
 */
package robotcontrol.tests;


@RunWith(XtextRunner.class)
@InjectWith(RocInjectorProvider.class)
@SuppressWarnings("all")
public class RocParsingTest {
  @Inject
// Path: RocLang/robotcontrol.parent/robotcontrol/src-gen/robotcontrol/roc/Program.java
// public interface Program extends EObject
// {
//   /**
//    * Returns the value of the '<em><b>Movements</b></em>' containment reference list.
//    * The list contents are of type {@link robotcontrol.roc.Movement}.
//    * <!-- begin-user-doc -->
//    * <p>
//    * If the meaning of the '<em>Movements</em>' containment reference list isn't clear,
//    * there really should be more of a description here...
//    * </p>
//    * <!-- end-user-doc -->
//    * @return the value of the '<em>Movements</em>' containment reference list.
//    * @see robotcontrol.roc.RocPackage#getProgram_Movements()
//    * @model containment="true"
//    * @generated
//    */
//   EList<Movement> getMovements();
// 
// } // Program
// 
// Path: RocLang/robotcontrol.parent/robotcontrol.tests/src-gen/robotcontrol/tests/RocInjectorProvider.java
// public class RocInjectorProvider implements IInjectorProvider, IRegistryConfigurator {
// 
// 	protected GlobalStateMemento stateBeforeInjectorCreation;
// 	protected GlobalStateMemento stateAfterInjectorCreation;
// 	protected Injector injector;
// 
// 	static {
// 		GlobalRegistries.initializeDefaults();
// 	}
// 
// 	@Override
// 	public Injector getInjector() {
// 		if (injector == null) {
// 			stateBeforeInjectorCreation = GlobalRegistries.makeCopyOfGlobalState();
// 			this.injector = internalCreateInjector();
// 			stateAfterInjectorCreation = GlobalRegistries.makeCopyOfGlobalState();
// 		}
// 		return injector;
// 	}
// 
// 	protected Injector internalCreateInjector() {
// 		return new RocStandaloneSetup() {
// 			@Override
// 			public Injector createInjector() {
// 				return Guice.createInjector(createRuntimeModule());
// 			}
// 		}.createInjectorAndDoEMFRegistration();
// 	}
// 
// 	protected RocRuntimeModule createRuntimeModule() {
// 		// make it work also with Maven/Tycho and OSGI
// 		// see https://bugs.eclipse.org/bugs/show_bug.cgi?id=493672
// 		return new RocRuntimeModule() {
// 			@Override
// 			public ClassLoader bindClassLoaderToInstance() {
// 				return RocInjectorProvider.class
// 						.getClassLoader();
// 			}
// 		};
// 	}
// 
// 	@Override
// 	public void restoreRegistry() {
// 		stateBeforeInjectorCreation.restoreGlobalState();
// 	}
// 
// 	@Override
// 	public void setupRegistry() {
// 		getInjector();
// 		stateAfterInjectorCreation.restoreGlobalState();
// 	}
// }


// Path: RocLang/robotcontrol.parent/robotcontrol.tests/xtend-gen/robotcontrol/tests/RocParsingTest.java
import com.google.inject.Inject;
import org.eclipse.xtend2.lib.StringConcatenation;
import org.eclipse.xtext.junit4.InjectWith;
import org.eclipse.xtext.junit4.XtextRunner;
import org.eclipse.xtext.junit4.util.ParseHelper;
import org.eclipse.xtext.xbase.lib.Exceptions;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import robotcontrol.roc.Program;
import robotcontrol.tests.RocInjectorProvider;

/**
 * generated by Xtext 2.10.0
 */
package robotcontrol.tests;


@RunWith(XtextRunner.class)
@InjectWith(RocInjectorProvider.class)
@SuppressWarnings("all")
public class RocParsingTest {
  @Inject
  private ParseHelper<Program> parseHelper;