2008-05-30 11:40:08 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Short description for file.
|
|
|
|
*
|
2010-10-03 16:31:21 +00:00
|
|
|
* PHP 5
|
2008-05-30 11:40:08 +00:00
|
|
|
*
|
2010-05-19 01:15:13 +00:00
|
|
|
* CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing>
|
2011-05-29 21:31:39 +00:00
|
|
|
* Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
|
2008-05-30 11:40:08 +00:00
|
|
|
*
|
2010-10-03 16:31:21 +00:00
|
|
|
* Licensed under The MIT License
|
|
|
|
* Redistributions of files must retain the above copyright notice
|
2008-05-30 11:40:08 +00:00
|
|
|
*
|
2011-05-29 21:31:39 +00:00
|
|
|
* @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org)
|
2010-05-19 01:15:13 +00:00
|
|
|
* @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests
|
2010-12-24 18:57:20 +00:00
|
|
|
* @package cake.tests.lib
|
2008-10-30 17:30:26 +00:00
|
|
|
* @since CakePHP(tm) v 1.2.0.4433
|
2010-10-03 16:27:27 +00:00
|
|
|
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
|
2008-05-30 11:40:08 +00:00
|
|
|
*/
|
|
|
|
?>
|
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
|
|
<head>
|
2010-01-06 04:12:28 +00:00
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
2010-04-15 02:41:12 +00:00
|
|
|
<title>CakePHP Test Suite 2.0</title>
|
2008-06-02 03:36:20 +00:00
|
|
|
<style type="text/css">
|
2008-05-30 11:40:08 +00:00
|
|
|
h3 {font-size: 170%; padding-top: 1em}
|
|
|
|
a {font-size: 120%}
|
|
|
|
li {line-height: 140%}
|
|
|
|
.test-menu {float:left; margin-right: 24px;}
|
|
|
|
.test-results {float:left; width: 67%;}
|
|
|
|
ul.tests {margin: 0; font-size:12px;}
|
2008-12-13 23:40:36 +00:00
|
|
|
ul.tests li {
|
2009-07-24 19:18:37 +00:00
|
|
|
list-style: none;
|
|
|
|
margin: 14px 0;
|
2008-12-13 23:40:36 +00:00
|
|
|
padding-left: 20px;
|
|
|
|
}
|
2009-07-24 19:18:37 +00:00
|
|
|
ul.tests li span {
|
|
|
|
font-size:14px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-weight: bold;
|
2008-12-13 23:40:36 +00:00
|
|
|
}
|
2008-05-30 11:40:08 +00:00
|
|
|
ul.tests li.pass span, ul.tests li.skipped span { display:inline;}
|
|
|
|
ul.tests li.fail span { color: red; }
|
2008-09-17 12:35:39 +00:00
|
|
|
ul.tests li.pass span { color: green; }
|
|
|
|
ul.tests li.skipped span { color: navy; }
|
2008-12-13 23:40:36 +00:00
|
|
|
ul.tests li.error span { color : #d15d00; }
|
2009-07-24 19:18:37 +00:00
|
|
|
|
2008-12-13 23:40:36 +00:00
|
|
|
ul.tests li.pass,
|
|
|
|
ul.tests li.error,
|
|
|
|
ul.tests li.skipped,
|
|
|
|
ul.tests li.fail {
|
2011-05-22 13:15:04 +00:00
|
|
|
background: #fff2f2 url(<?php echo $baseDir; ?>img/test-fail-icon.png) 5px 5px no-repeat;
|
2008-12-13 23:40:36 +00:00
|
|
|
border-top: 1px dotted red;
|
|
|
|
border-bottom: 1px dotted red;
|
|
|
|
padding:5px 10px 2px 25px;
|
|
|
|
}
|
|
|
|
ul.tests li.pass {
|
|
|
|
background-color: #f2fff2;
|
2011-05-22 13:15:04 +00:00
|
|
|
background-image: url(<?php echo $baseDir; ?>img/test-pass-icon.png);
|
2008-12-13 23:40:36 +00:00
|
|
|
border-color:green;
|
|
|
|
}
|
|
|
|
ul.tests li.skipped {
|
|
|
|
background-color: #edf1ff;
|
2011-05-22 13:15:04 +00:00
|
|
|
background-image: url(<?php echo $baseDir; ?>img/test-skip-icon.png);
|
2008-12-13 23:40:36 +00:00
|
|
|
border-color:navy;
|
|
|
|
}
|
|
|
|
ul.tests li.error {
|
|
|
|
background-color: #ffffe5;
|
2011-05-22 13:15:04 +00:00
|
|
|
background-image: url(<?php echo $baseDir; ?>img/test-error-icon.png);
|
2008-12-13 23:40:36 +00:00
|
|
|
border-color: #DF6300;
|
|
|
|
}
|
2008-05-30 11:40:08 +00:00
|
|
|
ul.tests li div { margin: 5px 0 8px 0; }
|
|
|
|
ul.tests li div.msg { font-weight: bold; }
|
2008-12-13 23:40:36 +00:00
|
|
|
table caption { color:#fff; }
|
2009-07-24 19:18:37 +00:00
|
|
|
|
2008-12-13 23:40:36 +00:00
|
|
|
div.code-coverage-results div.code-line {
|
|
|
|
padding-left:5px;
|
|
|
|
display:block;
|
|
|
|
margin-left:10px;
|
|
|
|
}
|
2010-05-10 03:20:28 +00:00
|
|
|
.coverage-toggle {
|
|
|
|
float:right;
|
|
|
|
margin-top:10px;
|
|
|
|
font-size:12px;
|
|
|
|
}
|
|
|
|
.coverage-container {
|
|
|
|
margin-top:1em;
|
|
|
|
}
|
2008-12-13 23:40:36 +00:00
|
|
|
div.code-coverage-results div.uncovered span.content { background:#ecc; }
|
|
|
|
div.code-coverage-results div.covered span.content { background:#cec; }
|
|
|
|
div.code-coverage-results div.ignored span.content { color:#aaa; }
|
2010-05-16 16:34:39 +00:00
|
|
|
div.code-coverage-results div:hover {
|
|
|
|
background:#e8e8e8;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2010-05-13 02:13:12 +00:00
|
|
|
div.code-coverage-results div.covered:hover span.content { background:#b4edb4;}
|
|
|
|
div.code-coverage-results div.uncovered:hover span.content { background:#edb4b4;}
|
2008-12-13 23:40:36 +00:00
|
|
|
div.code-coverage-results span.line-num {
|
|
|
|
color:#666;
|
|
|
|
display:block;
|
|
|
|
float:left;
|
|
|
|
width:20px;
|
|
|
|
text-align:right;
|
|
|
|
margin-right:5px;
|
|
|
|
}
|
|
|
|
div.code-coverage-results span.line-num strong { color:#666; }
|
|
|
|
div.code-coverage-results div.start {
|
|
|
|
border:1px solid #aaa;
|
|
|
|
border-width:1px 1px 0px 1px;
|
|
|
|
margin-top:30px;
|
|
|
|
padding-top:5px;
|
|
|
|
}
|
|
|
|
div.code-coverage-results div.end {
|
|
|
|
border:1px solid #aaa;
|
|
|
|
border-width:0px 1px 1px 1px;
|
|
|
|
margin-bottom:30px;
|
|
|
|
padding-bottom:5px;
|
|
|
|
}
|
|
|
|
div.code-coverage-results div.realstart { margin-top:0px; }
|
|
|
|
div.code-coverage-results p.note {
|
|
|
|
color:#bbb;
|
|
|
|
padding:5px;
|
|
|
|
margin:5px 0 10px;
|
|
|
|
font-size:10px;
|
|
|
|
}
|
|
|
|
div.code-coverage-results span.result-bad { color: #a00; }
|
|
|
|
div.code-coverage-results span.result-ok { color: #fa0; }
|
|
|
|
div.code-coverage-results span.result-good { color: #0a0; }
|
2008-05-30 11:40:08 +00:00
|
|
|
</style>
|
2010-01-07 03:42:35 +00:00
|
|
|
<link rel="stylesheet" type="text/css" href="<?php echo $baseDir; ?>css/cake.generic.css" />
|
2008-05-30 11:40:08 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="container">
|
|
|
|
<div id="header">
|
|
|
|
<h1>CakePHP: the rapid development php framework</h1>
|
|
|
|
</div>
|
|
|
|
<div id="content">
|
2010-05-20 02:22:04 +00:00
|
|
|
<h2>CakePHP Test Suite 2.0</h2>
|