本文整理汇总了Java中com.googlecode.zohhak.api.runners.ZohhakRunner类的典型用法代码示例。如果您正苦于以下问题:Java ZohhakRunner类的具体用法?Java ZohhakRunner怎么用?Java ZohhakRunner使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ZohhakRunner类属于com.googlecode.zohhak.api.runners包,在下文中一共展示了ZohhakRunner类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: checkDescription
import com.googlecode.zohhak.api.runners.ZohhakRunner; //导入依赖的package包/类
@Test
public void checkDescription() throws InitializationError {
Runner runner = new ZohhakRunner(BasicAnnotationsUsage.class);
Description description = runner.getDescription();
assertThat(description.getChildren()).hasSize(5);
}
示例2: createJUnitClassRequest
import com.googlecode.zohhak.api.runners.ZohhakRunner; //导入依赖的package包/类
private static Request createJUnitClassRequest(Class<?> clazz) {
try {
return Request.runner(new ZohhakRunner(clazz));
} catch (InitializationError e) {
throw new RuntimeException(e);
}
}