header.php 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. <?php
  2. /**
  3. * Short description for file.
  4. *
  5. * PHP 5
  6. *
  7. * CakePHP(tm) Tests <http://book.cakephp.org/2.0/en/development/testing.html>
  8. * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
  9. *
  10. * Licensed under The MIT License
  11. * Redistributions of files must retain the above copyright notice
  12. *
  13. * @copyright Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
  14. * @link http://book.cakephp.org/2.0/en/development/testing.html CakePHP(tm) Tests
  15. * @package Cake.TestSuite.templates
  16. * @since CakePHP(tm) v 1.2.0.4433
  17. * @license MIT License (http://www.opensource.org/licenses/mit-license.php)
  18. */
  19. ?>
  20. <!DOCTYPE html>
  21. <html xmlns="http://www.w3.org/1999/xhtml">
  22. <head>
  23. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  24. <title>CakePHP Test Suite 2.3</title>
  25. <style type="text/css">
  26. body h2 {color: #777;}
  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. ul.tests li.pass,
  49. ul.tests li.error,
  50. ul.tests li.skipped,
  51. ul.tests li.fail {
  52. background: #fff2f2 url(<?php echo $baseDir; ?>img/test-fail-icon.png) 5px 5px no-repeat;
  53. border-top: 1px dotted red;
  54. border-bottom: 1px dotted red;
  55. padding:5px 10px 2px 25px;
  56. }
  57. ul.tests li.pass {
  58. background-color: #f2fff2;
  59. background-image: url(<?php echo $baseDir; ?>img/test-pass-icon.png);
  60. border-color:green;
  61. }
  62. ul.tests li.skipped {
  63. background-color: #edf1ff;
  64. background-image: url(<?php echo $baseDir; ?>img/test-skip-icon.png);
  65. border-color:navy;
  66. }
  67. ul.tests li.error {
  68. background-color: #ffffe5;
  69. background-image: url(<?php echo $baseDir; ?>img/test-error-icon.png);
  70. border-color: #DF6300;
  71. }
  72. ul.tests li div { margin: 5px 0 8px 0; }
  73. ul.tests li div.msg { font-weight: bold; }
  74. table caption { color:#fff; }
  75. div.code-coverage-results div.code-line {
  76. padding-left:5px;
  77. display:block;
  78. margin-left:10px;
  79. }
  80. .coverage-toggle {
  81. float:right;
  82. margin-top:10px;
  83. font-size:12px;
  84. }
  85. .coverage-container {
  86. margin-top:1em;
  87. }
  88. div.code-coverage-results div.uncovered span.content { background:#ecc; }
  89. div.code-coverage-results div.covered span.content { background:#cec; }
  90. div.code-coverage-results div.ignored span.content { color:#aaa; }
  91. div.code-coverage-results div:hover {
  92. background:#e8e8e8;
  93. cursor: pointer;
  94. }
  95. div.code-coverage-results div.covered:hover span.content { background:#b4edb4;}
  96. div.code-coverage-results div.uncovered:hover span.content { background:#edb4b4;}
  97. div.code-coverage-results span.line-num {
  98. color:#666;
  99. display:block;
  100. float:left;
  101. width:20px;
  102. text-align:right;
  103. margin-right:5px;
  104. }
  105. div.code-coverage-results span.line-num strong { color:#666; }
  106. div.code-coverage-results div.start {
  107. border:1px solid #aaa;
  108. border-width:1px 1px 0px 1px;
  109. margin-top:30px;
  110. padding-top:5px;
  111. }
  112. div.code-coverage-results div.end {
  113. border:1px solid #aaa;
  114. border-width:0px 1px 1px 1px;
  115. margin-bottom:30px;
  116. padding-bottom:5px;
  117. }
  118. div.code-coverage-results div.realstart { margin-top:0px; }
  119. div.code-coverage-results p.note {
  120. color:#bbb;
  121. padding:5px;
  122. margin:5px 0 10px;
  123. font-size:10px;
  124. }
  125. div.code-coverage-results span.result-bad { color: #a00; }
  126. div.code-coverage-results span.result-ok { color: #fa0; }
  127. div.code-coverage-results span.result-good { color: #0a0; }
  128. div#version {
  129. padding-top: 2px;
  130. float: right;
  131. padding-left: 20px;
  132. }
  133. </style>
  134. <link rel="stylesheet" type="text/css" href="<?php echo $baseDir; ?>css/cake.generic.css" />
  135. </head>
  136. <body>
  137. <div id="container">
  138. <div id="header">
  139. <div id="version">PHPUnit: <?php echo class_exists('PHPUnit_Runner_Version') ? PHPUnit_Runner_Version::id() : 'n/a'; ?></div>
  140. <h1>CakePHP: the rapid development php framework</h1>
  141. </div>
  142. <div id="content">
  143. <h2>CakePHP Test Suite 2.3</h2>