Coverage report: /home/samppa/personal/opiskelu/ohtuprojekti/pulsu/trunk/headerfooter.lisp
Kind | Covered | All | % |
expression | 20 | 20 | 100.0 |
branch | 4 | 8 | 50.0 |
Key
Not instrumented
Conditionalized out
Executed
Not executed
Both branches taken
One branch taken
Neither branch taken
5
(:div (:img :id "logo" :src "static/new-puls-logo.png" :alt "Puls logo"))
6
(:div :id "header_links"
7
(header-link "Unified cases |" "/newest")
8
(header-link "Cases |" "/newest.cases")
9
(header-link "Map |" "/map")
10
(header-link "Help" "/help"))))
12
(defhtml header-link (name link)
13
(link* name link :search (get-parameter "search") :snippet (get-parameter "snippet")))
17
(:p "PULS - Pattern-based Understanding and Learning System")))
20
(defpage (header-footer-test :uri "/headerfooter") ()
23
(:script :language "javascript"
24
:type "text/javascript"
28
(:h1 "Header footer testpage")
31
(deftest test-headerfooter ()
36
(deftest test-header ()
37
(check (equal (with-output-to-string (*http-stream*)
42
<img id=\"logo\" src=\"static/new-puls-logo.png\" alt=\"Puls logo\" />
46
(deftest test-footer ()
47
(check (equal (with-output-to-string (*http-stream*)
52
PULS - Pattern-based Understanding and Learning System