Example #1
0
	</div>
	<div id="id_control" class="control">
		<input id="id_control_runnext" type="checkbox" />自动下一个<input
			id="id_control_breakonerror" type="checkbox" />出错时终止<input
			id="id_control_clearstatus" type="button" value="清除用例状态"
			onclick="$('.testlist a').removeClass('running_case pass_case fail_case');" />
	</div>
	<a id="id_testlist_status" class="button"><span
		onclick="$('div#id_testlist').slideToggle('slow');">折叠用例</span> </a>
	<div id="id_rerun" onclick="run($('#id_rerun').html());return false;"></div>
	<div style="clear: both"></div>
	<div id="id_testlist" class="testlist">
	<?php 
/*分析所有源码与测试代码js文件一一对应的文件并追加到当前列表中*/
require_once "case.class.php";
Kiss::listcase($filter);
?>
		<div style="clear: both; overflow: hidden"></div>
	</div>
	<div id="id_runningarea" class="runningarea"
		style="border: solid; display: none"></div>
	<div id="id_reportarea" class="reportarea" style="display: none"></div>

	<a id="id_srconly" class="button"><span
		onclick="$('#id_showSrcOnly').slideToggle('slow');">遗漏用例</span> </a>
	<div class='clear'></div>
	<div id="id_showSrcOnly" class="testlist">
	<?php 
require_once "case.class.php";
//if(array_key_exists("showsrconly", $_GET))
Kiss::listSrcOnly(true);
Example #2
0
</div>
<div>
    <a id="id_testlist_status" class="button"> <span
            onclick="$('div#id_testlist').slideToggle('slow');"> 折叠用例 </span> </a>
    <a id="id_srconly" class="button"><span
            onclick="$('#id_showSrcOnly').slideToggle('slow');">折叠缺失</span> </a>
    <a id="id_srconly" class="button"><span
            onclick="$('#id_runningarea').slideToggle('slow');">折叠执行</span> </a>
</div>
<div id="id_rerun" onclick="run($('#id_rerun').html());return false;"></div>
<div style="clear: both"></div>
<div id="id_testlist" class="testlist">
<?php 
/*分析所有源码与测试代码js文件一一对应的文件并追加到当前列表中*/
require_once "case.class.php";
Kiss::listcase($filter, $filterRun);
?>
    <div style="clear: both; overflow: hidden"></div>
</div>
<div id="id_runningarea" class="runningarea"
     style="border: solid; display: none"></div>
<div id="id_reportarea" class="reportarea" style="display: none;"></div>
<div class='clear'></div>
<div id="id_showSrcOnly" class="testlist" style="display: none;">
<?php 
require_once "case.class.php";
//if(array_key_exists("showsrconly", $_GET))
Kiss::listSrcOnly(true);
?>
    <div class="clear"></div>
</div>
Example #3
0
    <input id="id_control_breakonerror" type="checkbox"/>出错时终止
    <input id="id_control_clearstatus" type="button" value="清除用例状态"
        onclick="removeClass(document.getElementById('id_testlist'),'running_case pass_case fail_case');"/>
</div>
<div>
    <a id="id_testlist_status" class="button"> <span
            onclick="slideToggle(document.getElementById('id_testlist');"> 折叠用例 </span> </a>
    <a id="id_srconly" class="button"><span
            onclick="slideToggle(document.getElementById('id_runningarea');">折叠执行</span> </a>
</div>
<div style="clear: both"></div>
<div id="id_testlist" class="testlist">
    <?php 
/*分析所有源码与测试代码js文件一一对应的文件并追加到当前列表中*/
require_once "caseSource.php";
Kiss::listcase($filter, $cov);
?>
    <div style="clear: both; overflow: hidden"></div>
</div>
<div id="id_runningarea" class="runningarea"
     style="border: solid; display: none"></div>
<div id="id_reportarea" class="reportarea" style="display: none;"></div>
<div class='clear'></div>
<div id="id_showSrcOnly" class="testlist" style="display: none;">
    <?php 
require_once "caseSource.php";
Kiss::listSrcOnly(true);
?>
    <div class="clear"></div>
</div>
</body>