⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pisclienttestcase.java

📁 《j2ee开发全程实录》随书源码
💻 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 + -