📄 pisclienttestcase.java
字号:
package com.cownew.PIS.framework.client;
import com.cownew.PIS.framework.common.services.ILoginService;
import junit.framework.TestCase;
public abstract class PISClientTestCase extends TestCase
{
protected void setUp() throws Exception
{
super.setUp();
ILoginService login = (ILoginService) RemoteServiceLocator
.getRemoteService(ILoginService.class);
String sessionId = login.login("admin1", "", "demo");
RemoteServiceLocator.initLocator(sessionId);
}
protected void tearDown() throws Exception
{
RemoteServiceLocator.logout();
super.tearDown();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -