Java 类org.junit.internal.runners.SuiteMethod 实例源码
项目:sosiefier
文件:SuiteMethodBuilder.java
@Override
public Runner runnerForClass(Class<?> each) throws Throwable {
if (hasSuiteMethod(each)) {
return new SuiteMethod(each);
}
return null;
}
项目:pitest
文件:RunnerSuiteFinder.java
private static Predicate<Description> isSuiteMethodRunner(final Runner runner) {
return new Predicate<Description>() {
@Override
public Boolean apply(final Description a) {
return SuiteMethod.class.isAssignableFrom(runner.getClass());
}
};
}
项目:lcm
文件:SuiteMethodBuilder.java
@Override
public Runner runnerForClass(Class<?> each) throws Throwable {
if (hasSuiteMethod(each)) {
return new SuiteMethod(each);
}
return null;
}
项目:junit
文件:SuiteMethodBuilder.java
@Override
public Runner runnerForClass(Class<?> each) throws Throwable {
if (hasSuiteMethod(each)) {
return new SuiteMethod(each);
}
return null;
}
项目:org.openntf.domino
文件:SuiteMethodBuilder.java
@Override
public Runner runnerForClass(Class<?> each) throws Throwable {
if (hasSuiteMethod(each)) {
return new SuiteMethod(each);
}
return null;
}
项目:intellij-ce-playground
文件:IdeaSuite.java
private static boolean isSuite(Object child) {
return child instanceof Suite && !(child instanceof Parameterized) || child instanceof SuiteMethod;
}
项目:tools-idea
文件:IdeaSuite.java
private static boolean isSuite(Object child) {
return child instanceof Suite || child instanceof SuiteMethod;
}