鯊魚

          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 無重 閱讀(160) 評論(0)  編輯  收藏


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


          網站導航:
           
          主站蜘蛛池模板: 东阿县| 建昌县| 朔州市| 泸溪县| 滨州市| 黄山市| 咸宁市| 达尔| 乌兰浩特市| 鄂伦春自治旗| 康乐县| 孝义市| 东丰县| 建阳市| 乌拉特前旗| 辰溪县| 南充市| 怀化市| 三明市| 成安县| 柏乡县| 内江市| 弋阳县| 新竹市| 岗巴县| 吴江市| 左贡县| 西平县| 辽中县| 米易县| 五寨县| 汝阳县| 兰州市| 牙克石市| 来宾市| 紫阳县| 福海县| 房产| 东辽县| 宝清县| 上蔡县|