org.eclipse.xtext.junit4.parameterized
Class ParameterizedXtextRunner.ResourceRunner

java.lang.Object
  extended by org.eclipse.xtext.junit4.parameterized.ParameterizedXtextRunner.ResourceRunner
All Implemented Interfaces:
IParameterProvider.IParameterAcceptor
Enclosing class:
ParameterizedXtextRunner

protected static class ParameterizedXtextRunner.ResourceRunner
extends java.lang.Object
implements IParameterProvider.IParameterAcceptor


Field Summary
protected  org.junit.runners.model.TestClass clazz
           
protected  org.junit.runner.Description description
           
protected  IInjectorProvider injectorProvider
           
protected  java.util.List<ParameterizedXtextRunner.ParameterSetRunner> parameterSets
           
protected  XtextResource resource
           
protected  org.eclipse.emf.ecore.resource.ResourceSet resourceSet
           
 
Constructor Summary
protected ParameterizedXtextRunner.ResourceRunner()
           
 
Method Summary
 void acceptImportURI(org.eclipse.emf.common.util.URI uri)
           
 void acceptTest(java.lang.String title, java.lang.String method, com.google.common.collect.Multimap<java.lang.String,java.lang.Object> params, IParameterProvider.IExpectation expectation, boolean ignore)
           
protected  void collectParameters()
           
 org.junit.runner.Description getDescription()
           
 java.util.List<ParameterizedXtextRunner.ParameterSetRunner> getParameterSets()
           
 void init(org.junit.runners.model.TestClass clazz, IInjectorProvider injector, org.eclipse.emf.common.util.URI uri)
           
protected  void setIndex()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clazz

protected org.junit.runners.model.TestClass clazz

description

protected org.junit.runner.Description description

injectorProvider

protected IInjectorProvider injectorProvider

parameterSets

protected java.util.List<ParameterizedXtextRunner.ParameterSetRunner> parameterSets

resource

protected XtextResource resource

resourceSet

protected org.eclipse.emf.ecore.resource.ResourceSet resourceSet
Constructor Detail

ParameterizedXtextRunner.ResourceRunner

protected ParameterizedXtextRunner.ResourceRunner()
Method Detail

acceptImportURI

public void acceptImportURI(org.eclipse.emf.common.util.URI uri)
Specified by:
acceptImportURI in interface IParameterProvider.IParameterAcceptor

acceptTest

public void acceptTest(java.lang.String title,
                       java.lang.String method,
                       com.google.common.collect.Multimap<java.lang.String,java.lang.Object> params,
                       IParameterProvider.IExpectation expectation,
                       boolean ignore)
Specified by:
acceptTest in interface IParameterProvider.IParameterAcceptor

collectParameters

protected void collectParameters()

getDescription

public org.junit.runner.Description getDescription()

getParameterSets

public java.util.List<ParameterizedXtextRunner.ParameterSetRunner> getParameterSets()

init

public void init(org.junit.runners.model.TestClass clazz,
                 IInjectorProvider injector,
                 org.eclipse.emf.common.util.URI uri)

setIndex

protected void setIndex()