Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Bosn committed May 30, 2014
1 parent 2ccbfdb commit 822104b
Show file tree
Hide file tree
Showing 3 changed files with 874 additions and 11 deletions.
22 changes: 11 additions & 11 deletions WebContent/tester/pageTester.vm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE html>
#parse('/tcom/const.inc.vm')
<html>
<head>
Expand Down Expand Up @@ -28,7 +28,7 @@
<!--
<li><a href="#">MODIFY</a></li>
<li><a href="#">RESET</a></li>
-->
-->
</div>
#foreach($action in $page.actionList)
<div class="tester-form tab" style="display: none;">
Expand Down Expand Up @@ -56,11 +56,11 @@
<input type="button" class="btn btn-primary btn-run" value="生成模拟数据"/>
<input type="button" class="btn btn-primary btn-run-mockjsrule" style="margin-left:5px;" value="获取Mockjs规则"/>
<input type="button" class="btn btn-primary btn-run-real" style="margin-left:5px;" value="真实接口边界条件测试"/>
<span class="real-options" style="display: none; margin-left: 10px;">
<i class="icon icon-arrow-right"></i>
<input type="url" placeholder="请在此输入需要测试的真实接口URL" class="real-url form-control" style="margin-left: 5px; width: 400px; margin-bottom: 0; padding-left: 10px; padding-right: 10px;"/>
<input type="button" class="btn btn-success btn-run-do-real" style="margin-left:5px;" value="开始自动测试"/>
</span>
<span class="real-options" style="display: none; margin-left: 10px;">
<i class="icon icon-arrow-right"></i>
<input type="url" placeholder="请在此输入需要测试的真实接口URL" class="real-url form-control" style="margin-left: 5px; width: 400px; margin-bottom: 0; padding-left: 10px; padding-right: 10px;"/>
<input type="button" class="btn btn-success btn-run-do-real" style="margin-left:5px;" value="开始自动测试"/>
</span>
</div>
</form>
</div>
Expand All @@ -86,7 +86,7 @@
<div id="divResBoardJson">ready</div>
<div id="divResBoardLog">
<div class="triggers clearfix">
<div class="trigger" id="expand-trigger">&#8592;</div>
<div class="trigger" id="expand-trigger">&#8592;</div>
<div class="trigger" id="up-trigger">&#8593;</div>
<div class="trigger" id="down-trigger">&#8595;</div>
<div class="trigger" id="close-trigger">&#8594;</div>
Expand All @@ -96,9 +96,9 @@
</div>
<div class="trigger" id="show-trigger">&#8592;</div>
<script>
var RAP_ROOT = '$consts.DOMAIN_URL$!projectContext/mockjs/$!projectId';
document.getElementById("txtRootPath").value = RAP_ROOT;
var PROJECT_ID = $!projectId;
var RAP_ROOT = '$consts.DOMAIN_URL$!projectContext/mockjs/$!projectId';
document.getElementById("txtRootPath").value = RAP_ROOT;
var PROJECT_ID = $!projectId;
</script>
<script src="./pageTester.js"></script>
<foot>
Expand Down
Loading

0 comments on commit 822104b

Please sign in to comment.