• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2007 Mockito contributors
3  * This program is made available under the terms of the MIT License.
4  */
5 package org.mockito.internal.runners;
6 
7 import org.junit.runner.Description;
8 import org.junit.runner.manipulation.Filterable;
9 import org.junit.runner.notification.RunNotifier;
10 
11 /**
12  * I'm using this surrogate interface to hide internal Runner implementations.
13  * Surrogate cannot be used with @RunWith therefore it is less likely clients will use interal runners.
14  */
15 public interface RunnerImpl extends Filterable{
16 
run(RunNotifier notifier)17     void run(RunNotifier notifier);
18 
getDescription()19     Description getDescription();
20 
21 }