Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ben Buckley
committed
Nov 18, 2011
1 parent
ffc22c2
commit c37a5ae
Showing
17 changed files
with
2,282 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+732 KB
dist/concordion-extensions-0.1.zip → dist/concordion-extensions-0.2.zip
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
<html> | ||
<head> | ||
<style>* { | ||
font-family: Arial; | ||
} | ||
body { | ||
padding: 32px; | ||
} | ||
pre { | ||
padding: 6px 28px 6px 28px; | ||
background-color: #E8EEF7; | ||
} | ||
pre, pre *, code, code *, kbd { | ||
font-family: Courier New, Courier; | ||
font-size: 10pt; | ||
} | ||
h1, h1 * { | ||
font-size: 24pt; | ||
} | ||
p, td, th, li, .breadcrumbs { | ||
font-size: 10pt; | ||
} | ||
p, li { | ||
line-height: 140%; | ||
} | ||
table { | ||
border-collapse: collapse; | ||
empty-cells: show; | ||
margin: 8px 0px 8px 0px; | ||
} | ||
th, td { | ||
border: 1px solid black; | ||
padding: 3px; | ||
} | ||
td { | ||
background-color: white; | ||
vertical-align: top; | ||
} | ||
th { | ||
background-color: #C3D9FF; | ||
} | ||
li { | ||
margin-top: 6px; | ||
margin-bottom: 6px; | ||
} | ||
|
||
p.success { | ||
padding: 2px; | ||
} | ||
.success, .success * { | ||
background-color: #afa !important; | ||
} | ||
.success pre { | ||
background-color: #bbffbb; | ||
} | ||
.failure, .failure * { | ||
background-color: #ffb0b0; | ||
padding: 1px; | ||
} | ||
.failure .expected { | ||
text-decoration: line-through; | ||
color: #bb5050; | ||
} | ||
.ignored, .ignored * { | ||
background-color: #f0f0f0 !important; | ||
} | ||
.footer { | ||
text-align: right; | ||
margin-top: 40px; | ||
font-size: 8pt; | ||
width: 100%; | ||
color: #999; | ||
} | ||
</style> | ||
<title>Concordion Specifications</title> | ||
</head> | ||
<body> | ||
<h1>Concordion Specifications</h1> | ||
<p> | ||
These pages contain the concordion specifications generated for this | ||
project. Concordion tests are automated acceptance tests which are | ||
written in plain english and linked to the system so they do not go | ||
out-of-date. Find out more at <a href="http://www.concordion.org">concordion.org</a>. | ||
</p> | ||
<div id="childSpecifications"> | ||
<h3>Further Details</h3> | ||
<ul> | ||
<li> | ||
<a class="success" href="spec/uk/co/codemonkey/concordion/specLinker/SpecLinker.html">Linking specifications together</a> | ||
</li> | ||
<li> | ||
<a class="success" href="spec/uk/co/codemonkey/concordion/matrix/Matrix.html">Matrix processing</a> | ||
</li> | ||
</ul> | ||
</div> | ||
<div class="footer">Results generated by <a href="http://www.concordion.org"> | ||
<img alt="Concordion" border="0" src="image/concordion-logo.png"/> | ||
</a> | ||
</div> | ||
</body> | ||
</html> |
194 changes: 194 additions & 0 deletions
194
dist/specs/spec/uk/co/codemonkey/concordion/matrix/AssertMatrixEquals.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,194 @@ | ||
<?xml version="1.0" encoding="UTF-8"?><html xmlns:c="http://www.concordion.org/2007/concordion" xmlns:cc="http://codemonkey.co.uk/concordion-extensions"> | ||
|
||
<head><style>* { | ||
font-family: Arial; | ||
} | ||
body { | ||
padding: 32px; | ||
} | ||
pre { | ||
padding: 6px 28px 6px 28px; | ||
background-color: #E8EEF7; | ||
} | ||
pre, pre *, code, code *, kbd { | ||
font-family: Courier New, Courier; | ||
font-size: 10pt; | ||
} | ||
h1, h1 * { | ||
font-size: 24pt; | ||
} | ||
p, td, th, li, .breadcrumbs { | ||
font-size: 10pt; | ||
} | ||
p, li { | ||
line-height: 140%; | ||
} | ||
table { | ||
border-collapse: collapse; | ||
empty-cells: show; | ||
margin: 8px 0px 8px 0px; | ||
} | ||
th, td { | ||
border: 1px solid black; | ||
padding: 3px; | ||
} | ||
td { | ||
background-color: white; | ||
vertical-align: top; | ||
} | ||
th { | ||
background-color: #C3D9FF; | ||
} | ||
li { | ||
margin-top: 6px; | ||
margin-bottom: 6px; | ||
} | ||
|
||
|
||
.example { | ||
padding: 2px 12px 6px 12px; | ||
border: 1px solid #C3D9FF; | ||
margin: 6px 0px 28px 0px; | ||
background-color: #F5F9FD; | ||
} | ||
.example h3 { | ||
margin-top: 8px; | ||
margin-bottom: 8px; | ||
font-size: 12pt; | ||
} | ||
|
||
p.success { | ||
padding: 2px; | ||
} | ||
.success, .success * { | ||
background-color: #afa !important; | ||
} | ||
.success pre { | ||
background-color: #bbffbb; | ||
} | ||
.failure, .failure * { | ||
background-color: #ffb0b0; | ||
padding: 1px; | ||
} | ||
.failure .expected { | ||
text-decoration: line-through; | ||
color: #bb5050; | ||
} | ||
.ignored, .ignored * { | ||
background-color: #f0f0f0 !important; | ||
} | ||
|
||
ins { | ||
text-decoration: none; | ||
} | ||
|
||
.exceptionMessage { | ||
background-color: #fdd; | ||
font-family: Courier New, Courier, Monospace; | ||
font-size: 10pt; | ||
display: block; | ||
font-weight: normal; | ||
padding: 4px; | ||
text-decoration: none !important; | ||
} | ||
.stackTrace, .stackTrace * { | ||
font-weight: normal; | ||
} | ||
.stackTrace { | ||
display: none; | ||
padding: 1px 4px 4px 4px; | ||
background-color: #fdd; | ||
border-top: 1px dotted black; | ||
} | ||
.stackTraceExceptionMessage { | ||
display: block; | ||
font-family: Courier New, Courier, Monospace; | ||
font-size: 8pt; | ||
white-space: wrap; | ||
padding: 1px 0px 1px 0px; | ||
} | ||
.stackTraceEntry { | ||
white-space: nowrap; | ||
font-family: Courier New, Courier, Monospace; | ||
display: block; | ||
font-size: 8pt; | ||
padding: 1px 0px 1px 32px; | ||
} | ||
.stackTraceButton { | ||
font-size: 8pt; | ||
margin: 2px 8px 2px 0px; | ||
font-weight: normal; | ||
font-family: Arial; | ||
} | ||
|
||
.special { | ||
font-style: italic; | ||
} | ||
.missing, .missing * { | ||
background-color: #ff9999; | ||
} | ||
.surplus, .surplus * { | ||
background-color: #ff9999; | ||
} | ||
.footer { | ||
text-align: right; | ||
margin-top: 40px; | ||
font-size: 8pt; | ||
width: 100%; | ||
color: #999; | ||
} | ||
.footer .testTime { | ||
padding: 2px 10px 0px 0px; | ||
} | ||
|
||
.idea { | ||
font-size: 9pt; | ||
color: #888; | ||
font-style: italic; | ||
} | ||
.tight li { | ||
margin-top: 1px; | ||
margin-bottom: 1px; | ||
} | ||
.commentary { | ||
float: right; | ||
width: 200px; | ||
background-color: #ffffd0; | ||
padding:8px; | ||
border: 3px solid #eeeeb0; | ||
margin: 10px 0px 10px 10px; | ||
} | ||
.commentary, .commentary * { | ||
font-size: 8pt; | ||
} | ||
</style> | ||
<title>assertMatrixEquals</title> | ||
</head> | ||
<body><span class="breadcrumbs"><a href="Matrix.html">Matrix processing</a> ></span> | ||
|
||
<h1>assertMatrixEquals</h1> | ||
<p> | ||
The assertMatrixEquals command evaluates an expression and compares the resulting | ||
Object[][] to the contents of the instrumented table element. The command reports | ||
a success if the evaluation result is equal to the text in the document, or a failure | ||
otherwise. The comparisons are case-sensitive. | ||
</p> | ||
|
||
<div class="example"> | ||
<p>Given an extension with <span c:execute="addExtension()"><code>assertMatrixEquals</code></span> is installed</p> | ||
<p>And a test fixture that returns an array of the form [[a,1][b,2]]</p> | ||
<p>The following instrumentation</p> | ||
<pre class="html" c:execute="#counts = process(#TEXT)"> | ||
|
||
<table myext:assertMatrixEquals="printMatrix()"> | ||
<tr><td>a</td><td>1</td></tr> | ||
<tr><td>b</td><td>2</td></tr> | ||
</table> | ||
|
||
</pre> | ||
|
||
<p>Should return a <span c:assertTrue="#counts.isSuccess()" class="success">successful</span> evaluation result</p> | ||
</div> | ||
|
||
<div class="footer">Results generated by <a href="http://www.concordion.org"><img src="../../../../../../image/concordion-logo.png" alt="Concordion" border="0" /></a><div class="testTime">in 795 ms on 18-Nov-2011 at 09:38:59 GMT</div></div></body> | ||
</html> |
Oops, something went wrong.