鯊魚

          TestCase 實現原理

          package test;
          import junit.framework.TestCase;

          public class BeanTest extends TestCase{
          ?
          ?protected void setUp() {
          ??/*Object obj = SpringContext.getBean("ceblogAlbumService");*/
          ??? }
          ?public void testInsert()throws Exception{
          ???? System.out.println("hello world 2");
          ?}
          ?
          ?public void testAbc()throws Exception{
          ???? System.out.println("testsfsf 3");
          ?}
          }

          posted on 2006-08-29 12:51 無重 閱讀(159) 評論(0)  編輯  收藏


          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 新巴尔虎右旗| 西乡县| 蒲江县| 台湾省| 寿阳县| 疏勒县| 扶沟县| 饶河县| 临颍县| 弥渡县| 北辰区| 息烽县| 德州市| 五峰| 寿光市| 宜宾市| 罗山县| 墨玉县| 县级市| 微山县| 西安市| 洪湖市| 石河子市| 慈利县| 托里县| 黑水县| 隆德县| 绥德县| 鸡东县| 如皋市| 临沭县| 玉环县| 博白县| 五大连池市| 通道| 石狮市| 墨江| 龙门县| 屏南县| 射洪县| 北川|