public
Description: BDD for Common Lisp
Homepage:
Clone URL: git://github.com/osteele/cl-spec.git
osteele (author)
Tue Jan 15 07:31:35 -0800 2008
commit  86ec419166158682ab6de9dbe6e4d8458435ddca
tree    98705085f67e3a78d86bbd57d4313892bb1eb478
parent  90633abd1672f695d57edb3e1e06830213ac1a7f
cl-spec / template.html
100644 138 lines (119 sloc) 3.168 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
  <title>CL-Spec results</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <meta http-equiv="Expires" content="-1" />
  <meta http-equiv="Pragma" content="no-cache" />
  <style type="text/css">
    body {
      margin: 0;
      padding: 0;
      background: #fff;
      font-size: 80%;
    }
 
    #clspec-header {
      background: #65C400; color: #fff;
    }
 
    .clspec-report h1 {
      margin: 0px 10px 0px 10px;
      padding: 10px;
      font-family: "Lucida Grande", Helvetica, sans-serif;
      font-size: 1.8em;
    }
 
    #clspec-header.failed,
    .example_group .failed {
      background: #C40D0D;
      color: #FFFFFF;
    }
 
    #summary {
      margin: 0; padding: 5px 10px;
      font-family: "Lucida Grande", Helvetica, sans-serif;
      text-align: right;
      position: absolute;
      top: 0px;
      right: 0px;
    }
 
    #summary p {
      margin: 0 0 0 2px;
    }
 
    #summary #totals {
      font-size: 1.2em;
    }
 
    .example_group {
      margin: 0 10px 5px;
      background: #fff;
    }
 
    dl {
      margin: 0; padding: 0 0 5px;
      font: normal 11px "Lucida Grande", Helvetica, sans-serif;
    }
 
    dt {
      padding: 3px;
      background: #65C400;
      color: #fff;
      font-weight: bold;
    }
 
    dd {
      margin: 5px 0 5px 5px;
      padding: 3px 3px 3px 18px;
    }
 
    dd.spec.passed {
      border-left: 5px solid #65C400;
      border-bottom: 1px solid #65C400;
      background: #DBFFB4; color: #3D7700;
    }
 
    dd.spec.failed {
      border-left: 5px solid #C20000;
      border-bottom: 1px solid #C20000;
      color: #C20000; background: #FFFBD3;
    }
 
    dd.spec.not_implemented {
      border-left: 5px solid #FAF834;
      border-bottom: 1px solid #FAF834;
      background: #FCFB98; color: #131313;
    }
 
    dd.spec.pending_fixed {
      border-left: 5px solid #0000C2;
      border-bottom: 1px solid #0000C2;
      color: #0000C2; background: #D3FBFF;
    }
 
    .backtrace {
      color: #000;
      font-size: 12px;
    }
 
    a {
      color: #BE5C00;
    }
  </style>
  </head>
  <body>
    <div class="clspec-report">
      <div id="clspec-header" class="${~[passed~;~:;failed~] | failures-count}">
        <h1>CL-spec Results</h1>
 
        <div id="summary">
          <p id="totals">${~D example~:P, ~D failure~:P | examples-count failures-count}</p>
          <p id="duration">Finished in <strong>${elapsed-time} seconds</strong></p>
        </div>
      </div>
 
      <div class="results">
${children =>
        <div class="example_group">
          <dl>
            <dt class="${~[passed~;~:;failed~] | failures-count}">${name}</dt>
${examples =>
            <dd class="spec ${~:[failed~;passed~] | success}">
              <span>${name}</span>
                <div class="message"><pre>${~@[~A~] | condition}</pre></div>
            </dd>
$}
          </dl>
        </div>
$}
      </div>
    </div>
  </body>
</html>