<feed xmlns='http://www.w3.org/2005/Atom'>
<title>forums/tests/template/template.php, branch master</title>
<subtitle>The forums.mageia.org Website</subtitle>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/web/forums/'/>
<entry>
<title>[ticket/9987] Rename test files to include a _test suffix</title>
<updated>2011-01-09T23:18:37+00:00</updated>
<author>
<name>Igor Wiedler</name>
<email>igor@wiedler.ch</email>
</author>
<published>2011-01-09T23:18:37+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/web/forums/commit/?id=01fe91c5c4e897801f5c179cd4060e686762f105'/>
<id>01fe91c5c4e897801f5c179cd4060e686762f105</id>
<content type='text'>
PHPBB3-9987
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PHPBB3-9987
</pre>
</div>
</content>
</entry>
<entry>
<title>[ticket/9981] Fix unit test dependencies</title>
<updated>2011-01-07T21:45:39+00:00</updated>
<author>
<name>Igor Wiedler</name>
<email>igor@wiedler.ch</email>
</author>
<published>2011-01-07T21:45:39+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/web/forums/commit/?id=69616db1ed2ed21db14e2253851a9d76998072d0'/>
<id>69616db1ed2ed21db14e2253851a9d76998072d0</id>
<content type='text'>
PHPBB3-9981
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PHPBB3-9981
</pre>
</div>
</content>
</entry>
<entry>
<title>[task/phpunit-xml] Use phpunit.xml for test suite</title>
<updated>2011-01-04T21:54:01+00:00</updated>
<author>
<name>Igor Wiedler</name>
<email>igor@wiedler.ch</email>
</author>
<published>2011-01-03T21:21:54+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/web/forums/commit/?id=9a52bd030189280f48a35d3b9e52f9d77071cb5e'/>
<id>9a52bd030189280f48a35d3b9e52f9d77071cb5e</id>
<content type='text'>
PHPBB3-9967
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PHPBB3-9967
</pre>
</div>
</content>
</entry>
<entry>
<title>[task/mssql-db-tests] PHPUnit output got stuck after unterminated ob_start.</title>
<updated>2010-10-25T17:43:39+00:00</updated>
<author>
<name>Nils Adermann</name>
<email>naderman@naderman.de</email>
</author>
<published>2010-10-25T14:17:29+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/web/forums/commit/?id=9b4da986536e0bce0359d300df84fb03e265ef53'/>
<id>9b4da986536e0bce0359d300df84fb03e265ef53</id>
<content type='text'>
PHPBB3-9868
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PHPBB3-9868
</pre>
</div>
</content>
</entry>
<entry>
<title>[ticket/9701] Prevent notices from being hidden by template tests</title>
<updated>2010-07-08T20:46:28+00:00</updated>
<author>
<name>Nils Adermann</name>
<email>naderman@naderman.de</email>
</author>
<published>2010-07-08T20:44:28+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/web/forums/commit/?id=bbc3105466ccd43d94423325a68c626c76dec5f9'/>
<id>bbc3105466ccd43d94423325a68c626c76dec5f9</id>
<content type='text'>
The template tests disable NOTICEs for the duration of template execution since
the current version of the template engine does not generate sufficiently clean
code. The error level is reset aftwards, however that part is skipped when
trigger_error is called which is converted into a regular exception by PHPUnit
and passed down until caught. Such exceptions are now caught to reset the error
level, and then the exception is rethrown.

This uncovered another issue in the template tests which only passed because
NOTICEs were unintentionally disabled at this point. assign_display is also
required to operate without NOTICEs. The respective code has been added around
its callee as well. However no handling of exceptions takes place there. If
another test checking for errors in that function is ever added similar catch
logic will have to be added there.

PHPBB3-9701
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The template tests disable NOTICEs for the duration of template execution since
the current version of the template engine does not generate sufficiently clean
code. The error level is reset aftwards, however that part is skipped when
trigger_error is called which is converted into a regular exception by PHPUnit
and passed down until caught. Such exceptions are now caught to reset the error
level, and then the exception is rethrown.

This uncovered another issue in the template tests which only passed because
NOTICEs were unintentionally disabled at this point. assign_display is also
required to operate without NOTICEs. The respective code has been added around
its callee as well. However no handling of exceptions takes place there. If
another test checking for errors in that function is ever added similar catch
logic will have to be added there.

PHPBB3-9701
</pre>
</div>
</content>
</entry>
<entry>
<title>[develop-olympus] Make this test run on windows with backslash-paths.</title>
<updated>2010-03-26T13:46:18+00:00</updated>
<author>
<name>Joas Schilling</name>
<email>nickvergessen@gmx.de</email>
</author>
<published>2010-03-26T13:46:18+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/web/forums/commit/?id=c71b1245ecf60d7b8b1143b1f558fcd2a974383a'/>
<id>c71b1245ecf60d7b8b1143b1f558fcd2a974383a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[develop-olympus] Backported 3.1 unit tests to 3.0.</title>
<updated>2010-03-10T15:24:19+00:00</updated>
<author>
<name>Nils Adermann</name>
<email>naderman@naderman.de</email>
</author>
<published>2010-03-10T15:24:19+00:00</published>
<link rel='alternate' type='text/html' href='https://gitweb.mageia.org/web/forums/commit/?id=60bd1edcb5e5992e6e693d0f68db47e678f7d54a'/>
<id>60bd1edcb5e5992e6e693d0f68db47e678f7d54a</id>
<content type='text'>
Start adding unit tests for bugs you fix! Tests for anything are
welcome really. We have to work on these a lot.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Start adding unit tests for bugs you fix! Tests for anything are
welcome really. We have to work on these a lot.
</pre>
</div>
</content>
</entry>
</feed>
