testsession.java
来自「pojo的mvc框架」· Java 代码 · 共 36 行
JAVA
36 行
package xyz.frame.test;import xyz.frame.LogicException;import xyz.frame.Result;import xyz.frame.component.ComponentNotFoundException;import xyz.frame.component.InvalidComponentException;import xyz.frame.component.LogicNotFoundException;import xyz.frame.interceptor.InterceptorInstantiationException;import xyz.frame.url.InvalidURLException;import xyz.frame.view.ViewException;/** * A test context emulates an user session in * * @author Guilherme Silveira * */public interface TestSession { /** * Executes a url call based on some url. The parameters are strings like * "a=b", "c=d". * * @param relativeUrl * relative url to server * @param parameters * the parameter list to be passed * @return the logic result */ public Result execute(String relativeUrl, String... parameters)throws InvalidComponentException, InvalidURLException, ComponentNotFoundException, LogicNotFoundException, ViewException, InterceptorInstantiationException, LogicException;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?