??????????“???????”?????????????????“????Ч???????????????ε???”?????????????????????????????????????????????????????????????????δ????????к???и??????β?????????????????????????????????????????????????????????????????????????£????????????TTCN-3??Web??????????????????????????????е????????????????????????????????????????????????????????????????????????????ITEST?????????????????????????????????????飬??????2????????????????

??????????????

????????????????????????????????????

??????ITEST?У?????????????????????????????

????/*****************************************????????*****************************************/

????public class PlanSubTest extends BaseCase{

????final static String NICK= "leizang_test";

????final static String PASS_WORD= "taobao1234";

????@BeforeClass

????public static void login(){

????command.login(LOGIN_URL?? NICK?? PASS_WORD);

????}

????@AfterClass

????public static void loginOut(){

????command.loginOut();

????}

????@Before

????public void cleanDB(){

????String nick= NICK;

????command.dbExecute(

????"DELETE FROM upp_sub_plan WHERE nick= '"+ nick+ "'"??

????"DELETE FROM upp_biz_order WHERE nick = '"+ nick+ "'"??

????"DELETE FROM upp_prod_subscription WHERE nick = '"+ nick+ "'");

????}

????@Test

????public void test_planSub_???_case01(){

????logTestName();

????//???????

????SubOption subOption= new SubOption(getPlanSubUrl(827L)?? CycleEnum.HALF_YEAR?? false);

????//????澀??

????command.doSub(subOption);

????//???У??

????Command.checkSubResult(subOption??

????TableEnum.UPP_BIZ_ORDER??

????TableEnum.UPP_SUB_PLAN??

????TableEnum.UPP_PROD_SUBSCRIPTION);

????}

????}

????/*****************************************????????*****************************************/

??????????????????????????????????

????“command”????“BaseCase”???????????????“?????”(??????????)??

????“protected static ActionCommand command= new ActionCommandImpl(); “

????????????????????????????????????????????????????????????????????????????????????????????????????“???”??“???”??“????????“??“????”??“У??”??????????????????????????????????У???????ν“?????????????”???

??????????????

??????????£????????????????????????????????????????????“?????“???????У?????”????“???????????????????”???“??????????????????????·???????”?????????????“?????ο??????????????????????????”????“??????????????????????”??“??”?“?????????????????????????????????????????????????????????????Σ???????????С??????????·???????”????????????“????????з??

????<!--[if !supportLists]-->1) <!--[endif]-->???????

????<!--[if !supportLists]-->2) <!--[endif]-->???????????

????<!--[if !supportLists]-->3) <!--[endif]-->??鷹?????????

???????????Щ???????????????????????????????????????????????????????????????в????????????????????????飺

????<!--[if !supportLists]-->1) <!--[endif]-->??????????

????<!--[if !supportLists]-->2) <!--[endif]-->???????????

????<!--[if !supportLists]-->3) <!--[endif]-->У?鶩?????

???????????д???????????????????????????“???“??”???“??????????????????????????????????e?!

????????β???????????????????????????

?????????????????????????????????????????????????????

????<!--[if !supportLists]-->1) <!--[endif]-->??????????????(???????)

????<!--[if !supportLists]-->2) <!--[endif]-->??????????????(?????????????????????)

????<!--[if !supportLists]-->3) <!--[endif]-->???????????????????????(?????????????????????)

??????????????????

??????? ——>???????????д??

??????????——>??????????

???????????????????????????????

????<!--[if !supportLists]-->1?? <!--[endif]-->????????????——?????????

?????????????????????????????????漰???????“??λ????????????”