filterable.java

来自「这是Junit4.1.3的源码程序」· Java 代码 · 共 17 行

JAVA
17
字号
package org.junit.runner.manipulation;

/**
 * Runners that allow filtering should implement this interface. Implement {@link #filter(Filter)}
 * to remove tests that don't pass the filter.
 */
public interface Filterable {

	/**
	 * Remove tests that don't pass the parameter <code>filter</code>.
	 * @param filter the {@link Filter} to apply
	 * @throws NoTestsRemainException if all tests are filtered out
	 */
	void filter(Filter filter) throws NoTestsRemainException;

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?