【发布时间】:2019-01-29 16:19:40
【问题描述】:
我写了如下代码: 但是在编译时会抛出编译错误说
"注释类型的属性'name'未定义 参数化.Parameters"
@RunWith(Parameterized.class)
public class TrustStandaloneTestSimple {
@BeforeClass
public static void setup() {
}
@Parameters(name = "propertyFileName")
public static Collection<String[]> getParameters(){
return Arrays.asList(new String [][]{{"trust.keystore.simple1.properties"},
{"trust.keystore.simple2.properties"}});
}
【问题讨论】:
-
你的进口是什么?
标签: junit openssl parameterized-tests