AccountService java程序开发定制、定做java程序
- 首页 >> Java编程/**
* Project Name:study_java_demo_001
* File Name:AccountServiceImplTest.java
* Date:2018年8月1日下午2:31:29
*
*/
import static org.junit.Assert.fail;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import com.clps.study.demo003.sm.model.Account;
import com.clps.study.demo003.sm.service.IAccountService;
/**
* ClassName: AccountServiceImplTest <br/>
* Description: TODO ADD REASON(可选). <br/>
* Date: 2018年8月1日 下午2:31:29 <br/>
* @author erwin.wang
* @version V1.0
* @since JDK 1.8
*/
public class AccountServiceImplTest {
private IAccountService ias = null;
private Account account = null;
/**
* setUp:(这里用一句话描述这个方法的作用). <br/>
*
* @author erwin.wang
* @throws java.lang.Exception
*/
@Before
public void setUp() throws Exception {
this.ias = new AccountServiceImpl();
this.account = new Account();
}
/**
* tearDown:(这里用一句话描述这个方法的作用). <br/>
*
* @author erwin.wang
* @throws java.lang.Exception
*/
@After
public void tearDown() throws Exception {
}
/**
* Test method for {@link com.clps.study.demo003.sm.service.impl.AccountServiceImpl#logon(com.clps.study.demo003.sm.model.Account)}.
*/
@Test
public void testLogon() {
this.account.setAccountName("erwin");
this.account.setAccountPwd("1234");
System.out.println(this.ias.logon(account));
}
/**
* Test method for {@link com.clps.study.demo003.sm.service.impl.AccountServiceImpl#queryAccountById(java.lang.Integer)}.
*/
@Test
public void testQueryAccountById() {
fail("Not yet implemented");
}
/**
* Test method for {@link com.clps.study.demo003.sm.service.impl.AccountServiceImpl#queryAccountLikeAny(com.clps.study.demo003.sm.model.Account)}.
*/
@Test
public void testQueryAccountLikeAny() {
fail("Not yet implemented");
}
/**
* Test method for {@link com.clps.study.demo003.sm.service.impl.AccountServiceImpl#saveAccount(com.clps.study.demo003.sm.model.Account)}.
*/
@Test
public void testSaveAccount() {
fail("Not yet implemented");
}
}