📄 testsession.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -