SIMPLETEST_WEBUNIT_CSS = '/* this space reseved for future use */'
(line 69)
Not used yet.
May be needed for localized styles we need at runtime, not in the stylesheet.
SIMPLETEST_WEBUNIT_HEAD = <<<EOS
<html>
<head>
<title>%s</title>
<script type="text/javascript" src="%sx.js"></script>
<script type="text/javascript" src="%swebunit.js"></script>
<link rel="stylesheet" type="text/css" href="%swebunit.css" title="Default"></link>
<style type="text/css">
%s
</style>
</head>
<body>
<div id="wait">
<h1> Running %s </h1>
Please wait...<br />
<img src="%swait.gif" border="0"><br />
</div>
<script type="text/javascript">
wait_start();
</script>
<div id="webunit">
<div id="run"></div><br />
<div id="tabs">
<div id="visible_tab">visible tab content</div>
<span id="failtab" class="activetab"> <a href="javascript:activate_tab('fail');">Fail</a> </span>
<span id="treetab" class="inactivetab"> <a href="javascript:activate_tab('tree');">Tree</a> </span>
</div>
<div id="msg">Click on a failed test case method in the tree tab to view output here.</div>
</div>
<div id="fail"></div>
<div id="tree"></div>
<!-- open a new script to capture js vars as the tests run -->
<script type="text/javascript">
layout();
<html>
<head>
<title>%s</title>
<script type="text/javascript" src="%sx.js"></script>
<script type="text/javascript" src="%swebunit.js"></script>
<link rel="stylesheet" type="text/css" href="%swebunit.css" title="Default"></link>
<style type="text/css">
%s
</style>
</head>
<body>
<div id="wait">
<h1> Running %s </h1>
Please wait...<br />
<img src="%swait.gif" border="0"><br />
</div>
<script type="text/javascript">
wait_start();
</script>
<div id="webunit">
<div id="run"></div><br />
<div id="tabs">
<div id="visible_tab">visible tab content</div>
<span id="failtab" class="activetab"> <a href="javascript:activate_tab('fail');">Fail</a> </span>
<span id="treetab" class="inactivetab"> <a href="javascript:activate_tab('tree');">Tree</a> </span>
</div>
<div id="msg">Click on a failed test case method in the tree tab to view output here.</div>
</div>
<div id="fail"></div>
<div id="tree"></div>
<!-- open a new script to capture js vars as the tests run -->
<script type="text/javascript">
layout();
EOS
(line 28)
Main sprintf template for the start of the page.
Sequence of parameters is:
- title - string
- script path - string
- script path - string
- css path - string
- additional css - string
- title - string
- image path - string