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

java.lang.Object
  extended by org.eclipse.xtext.junit4.parameterized.ParameterizedXtextRunner.MethodWithExpectation
Enclosing class:
ParameterizedXtextRunner

protected static class ParameterizedXtextRunner.MethodWithExpectation
extends java.lang.Object


Field Summary
protected  java.lang.reflect.Method method
           
protected  TestExpectationValidator.ITestExpectationValidator<java.lang.Object> validator
           
 
Constructor Summary
ParameterizedXtextRunner.MethodWithExpectation(java.lang.reflect.Method method)
           
 
Method Summary
protected  TestExpectationValidator.ITestExpectationValidator<? extends java.lang.Object> createValidator(org.junit.Test annotation)
           
protected  TestExpectationValidator.ITestExpectationValidator<? extends java.lang.Object> createValidator(TestExpectationValidator trv, java.lang.annotation.Annotation annotation)
           
protected  TestExpectationValidator.ITestExpectationValidator<java.lang.Object> findValidator()
           
protected  java.lang.Class<?> getExpectedResultType(java.lang.Class<? extends TestExpectationValidator.ITestExpectationValidator<?>> clazz)
           
 java.lang.reflect.Method getMethod()
           
 TestExpectationValidator.ITestExpectationValidator<java.lang.Object> getValidator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

method

protected java.lang.reflect.Method method

validator

protected TestExpectationValidator.ITestExpectationValidator<java.lang.Object> validator
Constructor Detail

ParameterizedXtextRunner.MethodWithExpectation

public ParameterizedXtextRunner.MethodWithExpectation(java.lang.reflect.Method method)
                                               throws java.lang.Throwable
Throws:
java.lang.Throwable
Method Detail

createValidator

protected TestExpectationValidator.ITestExpectationValidator<? extends java.lang.Object> createValidator(org.junit.Test annotation)

createValidator

protected TestExpectationValidator.ITestExpectationValidator<? extends java.lang.Object> createValidator(TestExpectationValidator trv,
                                                                                                         java.lang.annotation.Annotation annotation)
                                                                                                  throws java.lang.Throwable
Throws:
java.lang.Throwable

findValidator

protected TestExpectationValidator.ITestExpectationValidator<java.lang.Object> findValidator()
                                                                                      throws java.lang.Throwable
Throws:
java.lang.Throwable

getExpectedResultType

protected java.lang.Class<?> getExpectedResultType(java.lang.Class<? extends TestExpectationValidator.ITestExpectationValidator<?>> clazz)

getMethod

public java.lang.reflect.Method getMethod()

getValidator

public TestExpectationValidator.ITestExpectationValidator<java.lang.Object> getValidator()