Java 类org.testng.annotations.IDataProviderAnnotation 实例源码

项目:qaf    文件:QAFTestNGListener.java   
public void transform(IDataProviderAnnotation arg0, Method method) {
    boolean parallel = false;
    if (getBundle().containsKey(method.getName() + ".parallel")) {
        parallel = getBundle().getBoolean(method.getName() + ".parallel");
    } else {
        parallel = getBundle().getBoolean("global.datadriven.parallel", false);
    }

    arg0.setParallel(parallel);
}
项目:TestNG-Foundation    文件:ChainedListener.java   
@Override
public void transform(IDataProviderAnnotation annotation, Method method) {
    xformProvider.add("method: " + method.getName());
}
项目:carbon-platform-integration    文件:TestTransformerListener.java   
@Override
public void transform(IDataProviderAnnotation iDataProviderAnnotation, Method method) {
    //To change body of implemented methods use File | Settings | File Templates.
}
项目:seletest    文件:AnnotationTransformer.java   
@Override
public void transform(IDataProviderAnnotation annotation, Method method) {
    annotation.setParallel(usesParallelDataProvider(method));
}