<feed xmlns='http://www.w3.org/2005/Atom'>
<title>catch3/include/internal/catch_xmlwriter.hpp, branch v1.7.1</title>
<subtitle>Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.</subtitle>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/'/>
<entry>
<title>XmllWriter flushes the stream after every endElement now</title>
<updated>2017-02-06T16:25:36+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2017-02-06T16:25:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=84af6bc955491d4b2a4c1d3c61e0b3516ce9f298'/>
<id>84af6bc955491d4b2a4c1d3c61e0b3516ce9f298</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "XmlWriter reverts to XML 1.0."</title>
<updated>2017-02-06T16:21:01+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2017-02-06T16:21:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=88b760276dc6bcff877dae439998810f189f32ca'/>
<id>88b760276dc6bcff877dae439998810f189f32ca</id>
<content type='text'>
This reverts commit a189387f49f129a3554c47426a0dfe176c5c0781.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit a189387f49f129a3554c47426a0dfe176c5c0781.
</pre>
</div>
</content>
</entry>
<entry>
<title>XmlWriter reverts to XML 1.0.</title>
<updated>2017-02-06T16:00:05+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2017-02-06T16:00:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=a189387f49f129a3554c47426a0dfe176c5c0781'/>
<id>a189387f49f129a3554c47426a0dfe176c5c0781</id>
<content type='text'>
Character encodings that are not valid in XML 1.0 are instead written using C-style escapes
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Character encodings that are not valid in XML 1.0 are instead written using C-style escapes
</pre>
</div>
</content>
</entry>
<entry>
<title>Use char literal instead of string literal with 1 char</title>
<updated>2017-01-29T22:07:15+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-01-29T22:07:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=bcaa2f9646c5ce50758f8582307c99501a932e1a'/>
<id>bcaa2f9646c5ce50758f8582307c99501a932e1a</id>
<content type='text'>
In reality, this is a relatively small performance improvement,
especially with the previous improvements removing lots of superfluous
string handling, but still was measurable.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In reality, this is a relatively small performance improvement,
especially with the previous improvements removing lots of superfluous
string handling, but still was measurable.
</pre>
</div>
</content>
</entry>
<entry>
<title>Various small string usage performance improvements.</title>
<updated>2017-01-15T09:05:01+00:00</updated>
<author>
<name>Martin Hořeňovský</name>
</author>
<published>2017-01-15T08:41:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=3b98a0166f7b7196eba2ad518174d1a77165166d'/>
<id>3b98a0166f7b7196eba2ad518174d1a77165166d</id>
<content type='text'>
* Empty strings are now direct constructed as `std::string()`, not as empty string literals.
* `startsWith` and `endsWith` no longer construct new a string. This should be an improvement
for libstdc++ when using older standards, as it doesn't use SSO but COW and thus even short
strings are expensive to first create.
* Various places now use char literal instead of string literals containing single char.
** `startsWith` and `endsWith` now also have overload that takes single char.

Generally the performance improvements under VS2015 are small, as going from short string
to char is mostly meaningless because of SSO (Catch doesn't push string handling that hard)
and previous commit removed most string handling if tests pass, which is the expect case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Empty strings are now direct constructed as `std::string()`, not as empty string literals.
* `startsWith` and `endsWith` no longer construct new a string. This should be an improvement
for libstdc++ when using older standards, as it doesn't use SSO but COW and thus even short
strings are expensive to first create.
* Various places now use char literal instead of string literals containing single char.
** `startsWith` and `endsWith` now also have overload that takes single char.

Generally the performance improvements under VS2015 are small, as going from short string
to char is mostly meaningless because of SSO (Catch doesn't push string handling that hard)
and previous commit removed most string handling if tests pass, which is the expect case.
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not encode extended ASCII characters in XML reporter</title>
<updated>2016-12-26T11:39:19+00:00</updated>
<author>
<name>Igor Akhmetov</name>
</author>
<published>2016-12-26T11:39:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=8d16d95a995708d52f5ab19c0124b197eb4b7210'/>
<id>8d16d95a995708d52f5ab19c0124b197eb4b7210</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes for XML encoding.</title>
<updated>2016-08-24T14:38:24+00:00</updated>
<author>
<name>Robert A Zeh</name>
</author>
<published>2016-08-24T14:38:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=5095619955f9f408e503dfcf561923ac6e48e3ce'/>
<id>5095619955f9f408e503dfcf561923ac6e48e3ce</id>
<content type='text'>
This commit fixes the following scenario:
  * You have a test that compares strings with embedded control
  characters.
  * The test fails.
  * You are using JUnit tests within TeamCity.

Before this commit, the JUnit report watcher fails on parsing the XML
for two reasons: the control characters are missing a semicolon at the
end, and the XML document doesn't specify that it is XML 1.1.

XML 1.0 --- what we get if we don't specify an XML version --- doesn't support embedding control characters --- see
http://stackoverflow.com/questions/404107/why-are-control-characters-illegal-in-xml
for all of the gory details.

This is based on PR #588 by @mrpi
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit fixes the following scenario:
  * You have a test that compares strings with embedded control
  characters.
  * The test fails.
  * You are using JUnit tests within TeamCity.

Before this commit, the JUnit report watcher fails on parsing the XML
for two reasons: the control characters are missing a semicolon at the
end, and the XML document doesn't specify that it is XML 1.1.

XML 1.0 --- what we get if we don't specify an XML version --- doesn't support embedding control characters --- see
http://stackoverflow.com/questions/404107/why-are-control-characters-illegal-in-xml
for all of the gory details.

This is based on PR #588 by @mrpi
</pre>
</div>
</content>
</entry>
<entry>
<title>Stripped trailing whitespace from all source code lines</title>
<updated>2015-11-04T18:04:15+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2015-11-04T18:01:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=e91738103ce8dc6c0ca6c096c66b79d25f3c18d6'/>
<id>e91738103ce8dc6c0ca6c096c66b79d25f3c18d6</id>
<content type='text'>
(replaces need for PRs #310 and #504)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(replaces need for PRs #310 and #504)
</pre>
</div>
</content>
</entry>
<entry>
<title>Added CATCH_CONFIG_CPP11_LONG_LONG support</title>
<updated>2015-07-23T22:05:05+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2015-07-23T18:03:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=733ebb6024d6b6ff60ef96b9f761828e6eff6ae7'/>
<id>733ebb6024d6b6ff60ef96b9f761828e6eff6ae7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed Xml encoding</title>
<updated>2015-07-23T17:45:31+00:00</updated>
<author>
<name>Phil Nash</name>
</author>
<published>2015-07-23T17:45:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.progmasoft.com/catch3/commit/?id=d6e59cd56f196eb40cbec3223531ee8d98e8ac8f'/>
<id>d6e59cd56f196eb40cbec3223531ee8d98e8ac8f</id>
<content type='text'>
- don't encode apostrophes
- only encode quotes in attributes
- encode control characters (as in PR #465)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- don't encode apostrophes
- only encode quotes in attributes
- encode control characters (as in PR #465)
</pre>
</div>
</content>
</entry>
</feed>
