At line 1 changed 97 lines. |
http://www.yourgoogle.com/ |
http://www.yourgoogle.com/google-list/google-list.htm/ |
http://www.yourgoogle.com/webdesign/webdesign-1.htm/ |
http://googlecn.freewebpage.org/ |
http://googlesz.freewebpage.org/ |
http://googlegd.freewebpage.org/ |
http://www.inflatables-china.com/ |
http://www.szhicom.net/ |
http://glasses.freewebpage.org/ |
http://www.swellongtools.com/ |
http://nami8.freewebpage.org/ |
http://cellphone.freewebpage.org/ |
http://www.tlup.com/ |
http://www.creator-cg.com/ |
http://www.sfcomm.com/ |
http://swellong.freewebpage.org/ |
http://www.flowerwish.com/ |
http://www.flowerwish.com/ups/ |
http://inflatable.freewebpage.orginflatable/ |
http://runhuayou.freewebpage.org/ |
http://www.cnliandong.com/products.asp/ |
http://www.cnliandong.com/ |
http://www.blueattain.com/ |
http://www.szsuun.com/ |
http://www.szsuun.com/htm/kvm/kvm1.htm/ |
http://www.zhongzhibiotech.com/en/chuchongju.asp/ |
http://www.wanlv.com/ |
http://www.kingdee.com/ |
http://www.kingdee.com/solutions/hr/index.htm/ |
http://www.kingdee.com/solutions/crm/index.htm/ |
http://www.kingdee.com/products/eas/km.htm/ |
http://www.hongbaoli.com/eng/default.htm/ |
http://www.hongbaoli.com/eng/invest.htm/ |
http://www.hongbaoli.com/eng/prod_mipa.htm/ |
http://www.hongbaoli.com/eng/prod_iso.htm/ |
http://www.flowerwish.com/dengshi/ |
http://www.flowerwish.com/huanbao/ |
http://www.flowerwish.com/jiazheng/ |
http://www.flowerwish.com/kuaican/ |
http://www.flowerwish.com/zuche/ |
http://www.tlup.com/wuye/ |
http://www.tlup.com/ups/ |
http://kvmkvm.freewebpage.org/ |
http://filesdown.freewebpage.org/ |
http://hardware.freewebpage.org/ |
http://moju.freewebpage.org/ |
http://inflatable.freewebpage.org/ |
http://jiazheng.freewebpage.org/ |
http://humenhunter.freewebpage.org/ |
http://howkeyword.freewebpage.org/ |
http://pyrethum.freewebpage.org/ |
http://swellong.freewebpage.org/ |
http://xiangji.freewebpage.org/ |
http://wushui.freewebpage.org/ |
http://szwuye.freewebpage.org/ |
http://runhuayou.freewebpage.org/ |
http://fadianjizu.freewebpage.org/ |
http://kvmkvm.freewebpage.org/ |
http://googlecn.freewebpage.org/ |
http://googlesz.freewebpage.org/ |
http://googlegd.freewebpage.org/ |
http://glasses.freewebpage.org/ |
http://nami8.freewebpage.org/ |
http://www.flowerwish.com/ |
http://chaiyou.freewebpage.org/ |
http://kaiguan.freewebpage.org/ |
http://yanghuamei.freewebpage.org/ |
http://magnesia.freewebpage.org/ |
http://magnesium.freewebpage.org/ |
http://www.ktyu.com/ |
http://www.edmcocn.com/ |
http://www.flowerwish.com/others/xianhua/rose1.asp |
http://www.flowerwish.com/others/xianhua/rose2.asp |
http://www.flowerwish.com/others/xianhua/rose3.asp |
http://www.flowerwish.com/others/xianhua/baihe1.asp |
http://www.flowerwish.com/others/xianhua/kangnaixin1.asp |
http://www.flowerwish.com/others/xianhua/yujinxiang1.asp |
http://www.flowerwish.com/others/zhishi/baihecs.asp |
http://www.flowerwish.com/others/zhishi/bingdiliancs.asp |
http://www.flowerwish.com/others/zhishi/huayuhuayuan.asp |
http://www.flowerwish.com/others/zhishi/huayao.asp |
http://www.flowerwish.com/others/zhishi/shuixiancs.asp |
http://www.flowerwish.com/others/zhishi/mudancs.asp |
http://www.flowerwish.com/others/zhishi/molihuacs.asp |
http://www.flowerwish.com/others/zhishi/chahua.asp |
http://www.flowerwish.com/others/zhishi/xianhuabaoxian.asp |
http://www.flowerwish.com/others/zhishi/shanchahuacs.asp |
http://www.flowerwish.com/others/jieri/qinghua.asp |
http://www.flowerwish.com/others/jieri/fuqinjie.asp |
http://www.flowerwish.com/others/jieri/muqinjie.asp |
http://www.flowerwish.com/others/jieri/jiaoshijie.asp |
http://www.flowerwish.com/others/jieri/qingrenjie.asp |
http://www.flowerwish.com/others/jieri/shengdanjie.asp |
http://www.flowerwish.com/others/jieri/zwjieri.asp |
http://www.flowerwish.com/others/jieri/qingrenjiecn.asp |
http://www.flowerwish.com/others/shijian/songhualiyi.asp |
http://www.flowerwish.com |
[this mailing list thread|http://nagoya.apache.org/eyebrowse/[email protected]&msgNo=451]. |
At line 3 added 66 lines. |
[What is this SandBox?|WhatIsThisSandBox] |
|
[{Java2HtmlPlugin |
|
import javax.naming.Context; |
import javax.naming.InitialContext; |
|
import junit.framework.TestCase; |
|
import org.mockejb.MockContainer; |
import org.mockejb.SessionBeanDescriptor; |
import org.mockejb.jndi.MockContextFactory; |
import org.springframework.context.ApplicationContext; |
import org.springframework.context.support.ClassPathXmlApplicationContext; |
|
/** |
* Parent TestCase class for testing EJBs using MockEJB |
* |
* @author mraible |
* |
*/ |
public abstract class MockEJBTestCase extends TestCase { |
|
/** |
* This method sets up a MockContainer and allows you to deploy an EJB to |
* it. Override <code>onSetUp()</code> to add custom set-up behavior. |
* |
* @see #onSetUp() |
*/ |
protected final void setUp() throws Exception { |
MockContextFactory.setAsInitial(); |
|
Context ctx = new InitialContext(); |
ApplicationContext appCtx = |
new ClassPathXmlApplicationContext(getConfigLocations()); |
|
ctx.bind("java:comp/env/jdbc/appDS", appCtx.getBean("dataSource")); |
|
MockContainer mc = new MockContainer(ctx); |
SessionBeanDescriptor dd = getDeploymentDescriptor(); |
mc.deploy(dd); |
onSetUp(); |
} |
|
protected String[] getConfigLocations() { |
return new String[] { "classpath:/applicationContext.xml" }; |
} |
|
protected void onSetUp() throws Exception {} |
|
protected abstract SessionBeanDescriptor getDeploymentDescriptor(); |
} |
|
}] |
|
[CreateDAO_zh] |
[CreateDAO_sp] |
|
[CreateManager_es] |
|
[QuickStart Guide_es] |
|
[SpringControllerUnitTest] |
|
|
[δΈζζε|Articles_zh] |