1 | <?php |
---|
2 | /** |
---|
3 | * Short description for file. |
---|
4 | * |
---|
5 | * PHP versions 4 and 5 |
---|
6 | * |
---|
7 | * CakePHP(tm) Tests <http://book.cakephp.org/view/1196/Testing> |
---|
8 | * Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) |
---|
9 | * |
---|
10 | * Licensed under The Open Group Test Suite License |
---|
11 | * Redistributions of files must retain the above copyright notice. |
---|
12 | * |
---|
13 | * @copyright Copyright 2005-2011, Cake Software Foundation, Inc. (http://cakefoundation.org) |
---|
14 | * @link http://book.cakephp.org/view/1196/Testing CakePHP(tm) Tests |
---|
15 | * @package cake |
---|
16 | * @subpackage cake.cake.tests.lib |
---|
17 | * @since CakePHP(tm) v 1.2.0.4433 |
---|
18 | * @license http://www.opensource.org/licenses/opengroup.php The Open Group Test Suite License |
---|
19 | */ |
---|
20 | ?> |
---|
21 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
22 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
23 | <head> |
---|
24 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
---|
25 | <title>CakePHP Test Suite 1.3</title> |
---|
26 | <style type="text/css"> |
---|
27 | h3 {font-size: 170%; padding-top: 1em} |
---|
28 | a {font-size: 120%} |
---|
29 | li {line-height: 140%} |
---|
30 | .test-menu {float:left; margin-right: 24px;} |
---|
31 | .test-results {float:left; width: 67%;} |
---|
32 | ul.tests {margin: 0; font-size:12px;} |
---|
33 | ul.tests li { |
---|
34 | list-style: none; |
---|
35 | margin: 14px 0; |
---|
36 | padding-left: 20px; |
---|
37 | } |
---|
38 | ul.tests li span { |
---|
39 | font-size:14px; |
---|
40 | text-transform: uppercase; |
---|
41 | font-weight: bold; |
---|
42 | } |
---|
43 | ul.tests li.pass span, ul.tests li.skipped span { display:inline;} |
---|
44 | ul.tests li.fail span { color: red; } |
---|
45 | ul.tests li.pass span { color: green; } |
---|
46 | ul.tests li.skipped span { color: navy; } |
---|
47 | ul.tests li.error span { color : #d15d00; } |
---|
48 | |
---|
49 | ul.tests li.pass, |
---|
50 | ul.tests li.error, |
---|
51 | ul.tests li.skipped, |
---|
52 | ul.tests li.fail { |
---|
53 | background: #fff2f2 url(<?php echo $baseDir; ?>img/test-fail-icon.png) 5px 5px no-repeat; |
---|
54 | border-top: 1px dotted red; |
---|
55 | border-bottom: 1px dotted red; |
---|
56 | padding:5px 10px 2px 25px; |
---|
57 | } |
---|
58 | ul.tests li.pass { |
---|
59 | background-color: #f2fff2; |
---|
60 | background-image: url(<?php echo $baseDir; ?>img/test-pass-icon.png); |
---|
61 | border-color:green; |
---|
62 | } |
---|
63 | ul.tests li.skipped { |
---|
64 | background-color: #edf1ff; |
---|
65 | background-image: url(<?php echo $baseDir; ?>img/test-skip-icon.png); |
---|
66 | border-color:navy; |
---|
67 | } |
---|
68 | ul.tests li.error { |
---|
69 | background-color: #ffffe5; |
---|
70 | background-image: url(<?php echo $baseDir; ?>img/test-error-icon.png); |
---|
71 | border-color: #DF6300; |
---|
72 | } |
---|
73 | ul.tests li div { margin: 5px 0 8px 0; } |
---|
74 | ul.tests li div.msg { font-weight: bold; } |
---|
75 | table caption { color:#fff; } |
---|
76 | |
---|
77 | div.code-coverage-results div.code-line { |
---|
78 | padding-left:5px; |
---|
79 | display:block; |
---|
80 | margin-left:10px; |
---|
81 | } |
---|
82 | div.code-coverage-results div.uncovered span.content { background:#ecc; } |
---|
83 | div.code-coverage-results div.covered span.content { background:#cec; } |
---|
84 | div.code-coverage-results div.ignored span.content { color:#aaa; } |
---|
85 | div.code-coverage-results span.line-num { |
---|
86 | color:#666; |
---|
87 | display:block; |
---|
88 | float:left; |
---|
89 | width:20px; |
---|
90 | text-align:right; |
---|
91 | margin-right:5px; |
---|
92 | } |
---|
93 | div.code-coverage-results span.line-num strong { color:#666; } |
---|
94 | div.code-coverage-results div.start { |
---|
95 | border:1px solid #aaa; |
---|
96 | border-width:1px 1px 0px 1px; |
---|
97 | margin-top:30px; |
---|
98 | padding-top:5px; |
---|
99 | } |
---|
100 | div.code-coverage-results div.end { |
---|
101 | border:1px solid #aaa; |
---|
102 | border-width:0px 1px 1px 1px; |
---|
103 | margin-bottom:30px; |
---|
104 | padding-bottom:5px; |
---|
105 | } |
---|
106 | div.code-coverage-results div.realstart { margin-top:0px; } |
---|
107 | div.code-coverage-results p.note { |
---|
108 | color:#bbb; |
---|
109 | padding:5px; |
---|
110 | margin:5px 0 10px; |
---|
111 | font-size:10px; |
---|
112 | } |
---|
113 | div.code-coverage-results span.result-bad { color: #a00; } |
---|
114 | div.code-coverage-results span.result-ok { color: #fa0; } |
---|
115 | div.code-coverage-results span.result-good { color: #0a0; } |
---|
116 | </style> |
---|
117 | <link rel="stylesheet" type="text/css" href="<?php echo $baseDir; ?>css/cake.generic.css" /> |
---|
118 | </head> |
---|
119 | <body> |
---|
120 | <div id="container"> |
---|
121 | <div id="header"> |
---|
122 | <h1>CakePHP: the rapid development php framework</h1> |
---|
123 | </div> |
---|
124 | <div id="content"> |
---|
125 | <h2>CakePHP Test Suite 1.3</h2> |
---|