类org.junit.jupiter.api.DisplayNameGenerator源码实例Demo

下面列出了怎么用org.junit.jupiter.api.DisplayNameGenerator的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: tutorials   文件: DisplayNameGeneratorUnitTest.java
@Override
public String generateDisplayNameForMethod(Class<?> testClass, Method testMethod) {
    return this.replaceCamelCase(testMethod.getName()) + DisplayNameGenerator.parameterTypesAsString(testMethod);
}
 
 类所在包
 类方法
 同包方法