/**
* 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");
}
}
版权所有:留学生编程辅导网 2020 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。