Skip to content

Commit

Permalink
Release 0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Buckley committed Nov 18, 2011
1 parent ffc22c2 commit c37a5ae
Show file tree
Hide file tree
Showing 17 changed files with 2,282 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.xml
@@ -1,6 +1,6 @@
<project name="concordion" default="build" basedir=".">

<property name="version" value="0.1" />
<property name="version" value="0.2" />
<property name="productName" value="concordion-extensions" />

<property name="dir.build" value="${basedir}/target" />
Expand Down
Binary file removed dist/concordion-extensions-0.1.jar
Binary file not shown.
Binary file added dist/concordion-extensions-0.2.jar
Binary file not shown.
Binary file not shown.
Binary file added dist/specs/image/concordion-logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
101 changes: 101 additions & 0 deletions dist/specs/index.html
@@ -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>
@@ -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> &gt;</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)">

&lt;table myext:assertMatrixEquals="printMatrix()"&gt;
&lt;tr&gt;&lt;td&gt;a&lt;/td&gt;&lt;td&gt;1&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;b&lt;/td&gt;&lt;td&gt;2&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;

</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>

0 comments on commit c37a5ae

Please sign in to comment.