Browse files


1. <php instead of <pre causing a piece of code to be hidden.
2. a missing space
3. a missing </strong> causing half a page to be bold

git-svn-id: 9ad96551-d73f-0410-9433-afe301b4b3ac
  • Loading branch information...
1 parent a94b553 commit 409676815f0dfd5575a4e8d3d03fab60116ac646 arialdomartini committed Sep 28, 2009
@@ -28,14 +28,14 @@ class AuthenticationTest extends WebTestCase {<strong>
This allows us to see the challenge header...
<div class="demo">
<h1>File test</h1>
-<pre style="background-color: lightgray; color: black"><![CDATA[
+<php style="background-color: lightgray; color: black"><![CDATA[
HTTP/1.1 401 Authorization Required
Date: Sat, 18 Sep 2004 19:25:18 GMT
Server: Apache/1.3.29 (Unix) PHP/4.3.4
WWW-Authenticate: Basic realm="SimpleTest basic authentication"
Connection: close
Content-Type: text/html; charset=iso-8859-1
<div style="padding: 8px; margin-top: 1em; background-color: green; color: white;">1/1 test cases complete.
<strong>0</strong> passes, <strong>0</strong> fails and <strong>0</strong> exceptions.</div>
@@ -68,7 +68,7 @@ class TestOfLogging extends UnitTestCase {
The tests themselves are gathered in test case classes.
- This one, the <code>TestOfLogging</code>class , is typical in extending
+ This one, the <code>TestOfLogging</code> class , is typical in extending
When the test case is invoked by the autorunner it will
search for any method within that starts with the name &quot;test&quot;.
@@ -207,7 +207,7 @@ class TestOfLogging extends UnitTestCase {
<section name="tdd" title="Test Driven Development">
Co-inventor of
- <a href="">Extreme Programming</a>,
+ <a href="">eXtreme Programming</a>,
Kent Beck, has come up with another manifesto.
The book is called
<a href=";s=books&amp;vi=reader#reader-link">Test driven development</a>
@@ -85,9 +85,9 @@ class TestOfLogging extends UnitTestCase {
$log = new Log('../temp/test.log');
$this->assertFalse(file_exists('../temp/test.log'), 'Created before message');
$log->message('Should write this to a file');
- $this->assertTrue(file_exists('../temp/test.log'), 'File created');<strong>
+ $this->assertTrue(file_exists('../temp/test.log'), 'File created');
+ <strong>
function testSecondMessageIsAppended() {
$log = new Log('../temp/test.log');
$log->message('Test line 1');
@@ -97,6 +97,7 @@ class TestOfLogging extends UnitTestCase {
$messages = file('../temp/test.log');
$this->assertPattern('/Test line 2/', $messages[1]);
+ </strong>
The test stays green.

0 comments on commit 4096768

Please sign in to comment.