Package org.powermock.core.spi.testresult

Examples of org.powermock.core.spi.testresult.TestMethodResult


   */
  public void notifyAfterTestMethod(boolean successful) {
    final Object test = MockRepository.getAdditionalState(Keys.CURRENT_TEST_INSTANCE);
    final Method testMethod = (Method) MockRepository.getAdditionalState(Keys.CURRENT_TEST_METHOD);
    final Object[] testArguments = (Object[]) MockRepository.getAdditionalState(Keys.CURRENT_TEST_METHOD_ARGUMENTS);
    final TestMethodResult testResult = new TestMethodResultImpl((successful ? Result.SUCCESSFUL : Result.FAILED));
    notifyAfterTestMethod(test, testMethod, testArguments, testResult);
  }
View Full Code Here

TOP

Related Classes of org.powermock.core.spi.testresult.TestMethodResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.