⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 api.xml

📁 本人编写的利用XML来测试多个API接口函数的程序
💻 XML
📖 第 1 页 / 共 2 页
字号:
	<test225>handle_control(1,"min_focus");</test225></handle_control3><handle_control4 style="1"><!-- 隐私遮蔽功能 -->		<test230>handle_control(1,"privacy_set_start 0");</test230>	<test231>handle_control(1,"privacy_set_start 31");</test231>	<test232>handle_control(1,"privacy_set_start 32");</test232>	<test233>handle_control(1,"privacy_set_start ");</test233>	<test234>handle_control(1,"privacy_ok_enable 0");</test234>	<test235>handle_control(1,"privacy_ok_enable 31");</test235>	<test236>handle_control(1,"privacy_ok_enable 32");</test236>	<test237>handle_control(1,"privacy_ok_enable ");</test237>		<test238>handle_control(1,"Privacy_disable 0");</test238>	<test239>handle_control(1,"Privacy_disable 31");</test239>	<test240>handle_control(1,"Privacy_disable 32");</test240>	<test241>handle_control(1,"Privacy_disable ");</test241>			<test242>handle_control(1,"Privacy_coboundary 0,0");</test242>	<test243>handle_control(1,"Privacy_coboundary 31,255");</test243>	<test244>handle_control(1,"Privacy_coboundary 22,256");</test244>	<test245>handle_control(1,"Privacy_coboundary 32,147");</test245>	<test246>handle_control(1,"Privacy_coboundary 3");</test246>		<test247>handle_control(1,"Privacy_lowerbound 0,0");</test247>	<test248>handle_control(1,"Privacy_lowerbound 31,255");</test248>	<test249>handle_control(1,"Privacy_lowerbound 22,256");</test249>	<test250>handle_control(1,"Privacy_lowerbound 32,147");</test250>	<test251>handle_control(1,"Privacy_lowerbound 4");</test251>		<test252>handle_control(1,"Privacy_leftmargin 0,0");</test252>	<test253>handle_control(1,"Privacy_leftmargin 31,255");</test253>	<test254>handle_control(1,"Privacy_leftmargin 22,256");</test254>	<test255>handle_control(1,"Privacy_leftmargin 32,147");</test255>	<test256>handle_control(1,"Privacy_leftmargin 5");</test256>		<test257>handle_control(1,"Privacy_rightmargin 0,0");</test257>	<test258>handle_control(1,"Privacy_rightmargin 31,255");</test258>	<test259>handle_control(1,"Privacy_rightmargin 22,256");</test259>	<test260>handle_control(1,"Privacy_rightmargin 32,147");</test260>	<test261>handle_control(1,"Privacy_rightmargin 8");</test261>		<test262>handle_control(1,"Privacy_coarsen 0");</test262>	<test263>handle_control(1,"Privacy_coarsen 31");</test263>	<test264>handle_control(1,"Privacy_coarsen 32");</test264>	<test265>handle_control(1,"Privacy_coarsen");</test265>			<test266>handle_control(1,"Privacy_attenuat 0");</test266>	<test267>handle_control(1,"Privacy_attenuat 31");</test267>	<test268>handle_control(1,"Privacy_attenuat 32");</test268>	<test269>handle_control(1,"Privacy_attenuat");</test269>			<test270>handle_control(1,"Privacy_widen 0");</test270>	<test271>handle_control(1,"Privacy_widen 31");</test271>	<test272>handle_control(1,"Privacy_widen 32");</test272>	<test273>handle_control(1,"Privacy_widen");</test273>			<test274>handle_control(1,"Privacy_narrows 0");</test274>	<test275>handle_control(1,"Privacy_narrows 31");</test275>	<test276>handle_control(1,"Privacy_narrows 32");</test276>	<test277>handle_control(1,"Privacy_narrows ");</test277>			<test278>handle_control(1,"Privacy_move_up 0");</test278>	<test279>handle_control(1,"Privacy_move_up 31");</test279>	<test280>handle_control(1,"Privacy_move_up 32");</test280>	<test281>handle_control(1,"Privacy_move_up");</test281>			<test282>handle_control(1,"Privacy_move_down 0");</test282>	<test283>handle_control(1,"Privacy_move_down 31");</test283>	<test284>handle_control(1,"Privacy_move_down 32");</test284>	<test285>handle_control(1,"Privacy_move_down");</test285>			<test286>handle_control(1,"Privacy_move_left 0");</test286>	<test287>handle_control(1,"Privacy_move_left 31");</test287>	<test288>handle_control(1,"Privacy_move_left 32");</test288>	<test289>handle_control(1,"Privacy_move_left");</test289>			<test290>handle_control(1,"Privacy_move_right 0");</test290>	<test291>handle_control(1,"Privacy_move_right 31");</test291>	<test292>handle_control(1,"Privacy_move_right 32");</test292>	<test293>handle_control(1,"Privacy_move_right");</test293><!--		<test>handle_control(1,"");</test>-->	</handle_control4><set485 style="1">	<test1>set485(1,"standard",0,1, $(1,"i2c0",9600,0,8,1));</test1>	<test2>set485(1,"yaan",0,1,   $(1,"i2c0",9600,0,8,1));</test2>	<test3>set485(1,"pelcop",0,1,  $(1,"i2c0",9600,0,8,1));</test3>	<test4>set485(1,"pelcod",0,1,  $(1,"i2c0",9600,0,8,1));</test4></set485><query485 style="1">	<test1>query485(1,#32,#4,#4,#52);</test1>	<test2>query485(7,#32,#4,#4,#52);</test2>  </query485><transparent style="1">	<test1>transparent(1,"hello world hello world hello world hello world hello world ",60)</test1>	</transparent><protocol_quit style="1">	<test1>protocol_quit()</test1></protocol_quit><!--系统时间函数 --><set_kernel_time style="1">	<test1>set_kernel_time()</test1></set_kernel_time><getsystime  style="1">	<test1>getsystime(#36)</test1></getsystime><setsystime  style="1">	<test1>setsystime($(0,0,2005,12,31,6,12,50,00))</test1>	<test2>setsystime($(0,0,105,12,31,6,13,16,00))</test2></setsystime><!--闹钟函数--><checkalltimetouch style="1">	<test1>checkalltimetouch()</test1></checkalltimetouch><settimetouch style="1">	<test1>settimetouch($(1,$(),0))</test1></settimetouch><!--报警输入函数--><get_alarminput_status style="1">	<test1>get_alarminput_status(1)</test1>	<test2>get_alarminput_status(0)</test2>	<test3>get_alarminput_status(5)</test3></get_alarminput_status><setalarminput style="1">	<test1>setalarminput(1,4)</test1>	<test2>setalarminput(1,5)</test2>	<test3>setalarminput(1,1000)</test3></setalarminput><register_alarminput style="1">	<test1>register_alarminput(1,#4,#128)</test1></register_alarminput><!--报警输出函数--><setalarmoutput style="1">	<test1>setalarmoutput(1,1)</test1>	<test2>setalarmoutput(1,0)</test2>	<test3>setalarmoutput(2,1)</test3>	<test4>setalarmoutput(4,0)</test4>	<test5>setalarmoutput(6,0)</test5></setalarmoutput><getalarmoutput style="1">	<test1>getalarmoutput(1,#4)</test1></getalarmoutput><sethttp style="1">	<test1>setsendhttprequest("http://192.168.0.161",1)</test1></sethttp><sendhttp style="1">	<test1>sendhttprequest("http://192.168.0.161",1)</test1>	<test2>sendhttprequest("http://www.sohu.com",1)</test2>	<test3>sendhttprequest("http://www.sina.com.cn",1)</test3>	<test4>sendhttprequest("http://202.108.33.32",1)</test4></sendhttp><!--API函数 --><API_init style="1">	<test1>API_init()</test1></API_init><API_destroy style="1">	<test1>API_destroy()</test1></API_destroy><!-- 集成测试  --><!-- 属性style表示函数的个数--><limit >	<test1>setpantilt_time(1,"right 200")</test1>	<test2>settcpsend("192.168.0.161",100)</test2>	<test3>setsendhttprequest("http://192.168.0.161",1)</test3></limit><control style="3">	<test1>handle_control(1,"left");handle_control(1,"right");handle_control(1,"up");</test1></control><!--测试"测试程序"的用例--><mytest1 style="1">	<test1>mytest1("fnwan forever");</test1>	<test2>mytest1("edgar say:");</test2>	<test3>mytest1("iloveyou")</test3></mytest1><mytest2 style="1">	<test1>mytest2(123);</test1>	<test2>mytest2(456);</test2>	<test3>mytest2(789)</test3></mytest2><mytest3 style="1">	<test1>mytest3(353,"fnwan forever");</test1>	<test2>mytest3(548,"edgar say:");</test2>	<test3>mytest3(836,"iloveyou")</test3></mytest3><mytest4 style="1">	<test1>mytest4(#258,258);</test1></mytest4><mytest5 style="1"></mytest5><!--< style="1">	<test1></test1></>--></testAPI>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -