鯊魚

          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)  編輯  收藏


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


          網站導航:
           
          主站蜘蛛池模板: 马尔康县| 尉犁县| 伊吾县| 耿马| 简阳市| 延庆县| 新田县| 连南| 焉耆| 龙山县| 西乡县| 静宁县| 定襄县| 富锦市| 周口市| 长顺县| 康定县| 温州市| 沙田区| 武隆县| 康平县| 疏勒县| 来凤县| 晋中市| 蒲城县| 徐州市| 麻江县| 大城县| 韶山市| 昌图县| 长丰县| 裕民县| 四平市| 尉氏县| 西畴县| 马关县| 夹江县| 伊宁市| 贡嘎县| 海丰县| 黎川县|