ylbtech-Java-Class-@I:org.junit.runner.RunWith
1.返回顶部
 
2.返回顶部
 
3.返回顶部
 
4.返回顶部
1、
package org.junit.runner;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target; /**
* When a class is annotated with <code>@RunWith</code> or extends a class annotated
* with <code>@RunWith</code>, JUnit will invoke the class it references to run the
* tests in that class instead of the runner built into JUnit. We added this feature late
* in development. While it seems powerful we expect the runner API to change as we learn
* how people really use it. Some of the classes that are currently internal will likely
* be refined and become public.
*
* For example, suites in JUnit 4 are built using RunWith, and a custom runner named Suite:
*
* <pre>
* @RunWith(Suite.class)
* @SuiteClasses({ATest.class, BTest.class, CTest.class})
* public class ABCSuite {
* }
* </pre>
*
* @since 4.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Inherited
public @interface RunWith {
/**
* @return a Runner class (must have a constructor that takes a single Class to run)
*/
Class<? extends Runner> value();
}
2、
5.返回顶部
 
 
6.返回顶部
 
作者:ylbtech
出处:http://ylbtech.cnblogs.com/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。

最新文章

  1. 线性分式变换(linear fractional transformation)
  2. 一个asp采集程序
  3. yii2知识点理解(成员属性)
  4. 【原】iOSCoreAnimation动画系列教程(一):CABasicAnimation【包会】
  5. tomcat直接访问
  6. java的Socket通信例子及关于java.net.SocketException: Socket is closed错误
  7. avalon
  8. C++11 in Qt5
  9. 数据库CRUD操作
  10. Sublime 远程连接 Linux服务器
  11. iOS 开发之内存泄漏问题
  12. leetcode — convert-sorted-array-to-binary-search-tree
  13. ionic2APP 如何处理返回键问题
  14. 【Django】不知道为什么就是想学一下 01
  15. Winscp使用sudo user登录
  16. 在macOS下正确配置 VS Code 使用 virtualenv 里的 python 环境参数
  17. JAVA基础知识总结:十七
  18. java.lang.ClassCastException: android.os.BinderProxy cannot be cast to com.test.Test
  19. linecache
  20. 面向对象程序设计__Task6_Calculator1.6.2

热门文章

  1. Android中对应用程序的行为拦截实现方式概要
  2. BZOJ 3771: Triple(FFT+容斥)
  3. VMProtect使用小计【二】 – 加壳查看
  4. 安装MikTex Portable
  5. PAT_A1083#List Grades
  6. centos7部署汉化版gitlab
  7. MySQL将查询结果写入到文件的2种方法
  8. Array.prototype.slice.call()等几种将arguments对象转换成数组对象的方法
  9. 拯救 Out Of Memory,8个案例带你飞!
  10. 从零起步 系统入门Python爬虫工程师✍✍✍