<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/tests, branch v4.6.3</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.6.3</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.6.3'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2017-02-25T17:24:23Z</updated>
<entry>
<title>Fix trailing '\r' test failure on Windows</title>
<updated>2017-02-25T17:24:23Z</updated>
<author>
<name>Jeremie Guichard</name>
<email>djebrest@gmail.com</email>
</author>
<published>2017-02-25T16:00:58Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=f28aab7bd9dbfe59f9cb70bcc25d2c3f6a192849'/>
<id>urn:sha1:f28aab7bd9dbfe59f9cb70bcc25d2c3f6a192849</id>
<content type='text'>
Windows implementation of fwrite changes \n to \r\n
for files opened in text mode.
It caused failures in TestMerge and TestParse when
comparing written files against reference data.

Signed-off-by: Jeremie Guichard &lt;djebrest@gmail.com&gt;
</content>
</entry>
<entry>
<title>Improve install and test rules for Windows test execution</title>
<updated>2017-02-25T17:24:23Z</updated>
<author>
<name>Jeremie Guichard</name>
<email>djebrest@gmail.com</email>
</author>
<published>2017-02-25T15:52:22Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=08bc1edc8189a3eab14bb7193abf5270dfe6d235'/>
<id>urn:sha1:08bc1edc8189a3eab14bb7193abf5270dfe6d235</id>
<content type='text'>
Update install rules to create a staging_tests folder
for easy deployment to test target.

Update test rules for compile time testing
when wine is available on build machine.

Signed-off-by: Jeremie Guichard &lt;djebrest@gmail.com&gt;
</content>
</entry>
<entry>
<title>Move CMake variables printing into a utility macro</title>
<updated>2017-02-25T17:24:23Z</updated>
<author>
<name>Jeremie Guichard</name>
<email>djebrest@gmail.com</email>
</author>
<published>2017-02-25T15:27:43Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=7b08f8d23c64b05ec019311347f52bbbd181c4a6'/>
<id>urn:sha1:7b08f8d23c64b05ec019311347f52bbbd181c4a6</id>
<content type='text'>
Added cmake_variables_helper.cmake providing 2 helpers
 - print_variable
 - print_all_variables

Signed-off-by: Jeremie Guichard &lt;djebrest@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fix "Load/Save to cloudstorage" for non-ASCII user names</title>
<updated>2017-02-24T09:10:22Z</updated>
<author>
<name>Jeremie Guichard</name>
<email>djebrest@gmail.com</email>
</author>
<published>2017-02-24T07:06:48Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=5ed93a9d9e7d35ab680ba763aa0c2e8302ef6b08'/>
<id>urn:sha1:5ed93a9d9e7d35ab680ba763aa0c2e8302ef6b08</id>
<content type='text'>
On Windows that would fail because stat() doesn't deal well with our
utf8 strings.

Added new subsurface_stat() portability function to replace stat().
Added Windows implementation of subsurface_stat() using wstat(),
with conversion to ut16 of the inputed path.
Other platform implementations (linux, android) make use of the normal stat().

Added non ASCII test case in TestGitStorage::testGitStorageLocal()

Signed-off-by: Jeremie Guichard &lt;djebrest@gmail.com&gt;
</content>
</entry>
<entry>
<title>Make TestGitStorage::testGitStorageLocal parametrizable</title>
<updated>2017-02-24T09:10:22Z</updated>
<author>
<name>Jeremie Guichard</name>
<email>djebrest@gmail.com</email>
</author>
<published>2017-02-24T07:02:32Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=5640a6a83951faefda0f22594044a34cb385e9fd'/>
<id>urn:sha1:5640a6a83951faefda0f22594044a34cb385e9fd</id>
<content type='text'>
Make use of QTest "Data Driven Testing",
allowing to test multiple repo base path values.

Signed-off-by: Jeremie Guichard &lt;djebrest@gmail.com&gt;
</content>
</entry>
<entry>
<title>Replace pPrintable with qUtf8Printable in TestGitStorage</title>
<updated>2017-02-24T09:10:22Z</updated>
<author>
<name>Jeremie Guichard</name>
<email>djebrest@gmail.com</email>
</author>
<published>2017-02-24T06:56:31Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=56d31c9c1b042997a9c91ef03dd606b4d3ca905a'/>
<id>urn:sha1:56d31c9c1b042997a9c91ef03dd606b4d3ca905a</id>
<content type='text'>
Update TestGitStorage to use qUtf8Printable instead of pPrintable.
This ensures that non-ASCII chars are utf8 encoded before calling internal functions.
In windows case pPrintable returns other codepoint that depends on system settings.

Signed-off-by: Jeremie Guichard &lt;djebrest@gmail.com&gt;
</content>
</entry>
<entry>
<title>Use SUBSURFACE_TEST_DATA definition to point to test data dir</title>
<updated>2017-02-24T09:10:22Z</updated>
<author>
<name>Jeremie Guichard</name>
<email>djebrest@gmail.com</email>
</author>
<published>2017-02-24T06:52:07Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=1e2580c3fd73d5b1ca06ecc870f38c43dfc4abe8'/>
<id>urn:sha1:1e2580c3fd73d5b1ca06ecc870f38c43dfc4abe8</id>
<content type='text'>
Update tests with a (compile time) option SUBSURFACE_TEST_DATA,
pointing to test data base path. It is needed for cross compilation cases.
SUBSURFACE_TEST_DATA is set to SUBSURFACE_SOURCE by default,
or configurable via cmake option -DSUBSURFACE_TEST_DATA="...".

Signed-off-by: Jeremie Guichard &lt;djebrest@gmail.com&gt;
</content>
</entry>
<entry>
<title>Simple test case for merging dives</title>
<updated>2017-02-22T02:22:56Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2017-02-22T01:23:19Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=3fef6ec31da786bde7f249dd9c07121944ddd9ee'/>
<id>urn:sha1:3fef6ec31da786bde7f249dd9c07121944ddd9ee</id>
<content type='text'>
We do some merging in a couple of the other tests as well, but the idea
is to have specific test cases that exercise our merge logic.

This one starts simple. Merge a dive with some valid info with a second
one that has less data filled. And then try it in both possible orders.

It shows a few potential problems.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Test for basic image handling</title>
<updated>2017-02-21T21:14:56Z</updated>
<author>
<name>Robert C. Helling</name>
<email>helling@atdotde.de</email>
</author>
<published>2017-02-21T09:27:31Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=c4976b505a2c4a1fe62610b3c875eac56957c924'/>
<id>urn:sha1:c4976b505a2c4a1fe62610b3c875eac56957c924</id>
<content type='text'>
This tests adding image files to dives including hashing and evaluating
exif data.

Signed-off-by: Robert C. Helling &lt;helling@atdotde.de&gt;
</content>
</entry>
<entry>
<title>Fix typo in saturation/desatureation rates</title>
<updated>2017-02-19T23:29:40Z</updated>
<author>
<name>Robert C. Helling</name>
<email>helling@atdotde.de</email>
</author>
<published>2017-02-19T09:28:55Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=bd89e33e765d73aa2b48419031d6922b8bf5eb37'/>
<id>urn:sha1:bd89e33e765d73aa2b48419031d6922b8bf5eb37</id>
<content type='text'>
This patch eliminates the difference between the saturation and
desaturation rates. This was probably once meant as a conservative
measure but the desaturation rate was increased rather than the
saturation rate (which is probably a typo, as reported by Stefan).

Since there is no good basis for this anyway, this patch sets
both factors to 1.0 (and if accepted the whole factor business
should be removed).

This makes our deco times slightly longer. But in the past,
we had introduced a 1.2% fudge factor in the critical radius
calculation to add conservatism and match the benchmark better.

Removing this fudge factor brings us close to the benchmarks.
Expected test values updated.

Reported-by: Stefan &lt;sjti@gmx.net&gt;
Signed-off-by: Robert C. Helling &lt;helling@atdotde.de&gt;
</content>
</entry>
</feed>
