<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/tests, branch v4.6.4</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom/tests?h=v4.6.4</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom/tests?h=v4.6.4'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2017-04-01T15:06:09Z</updated>
<entry>
<title>Cleanup for CSV testing</title>
<updated>2017-04-01T15:06:09Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2017-03-29T17:33:52Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=2b2df88e87e1672c81fa57e27790d7d7306eacec'/>
<id>urn:sha1:2b2df88e87e1672c81fa57e27790d7d7306eacec</id>
<content type='text'>
Signed-off-by: Miika Turkia &lt;miika.turkia@gmail.com&gt;
</content>
</entry>
<entry>
<title>Enable CSV import-export unit conversion test</title>
<updated>2017-04-01T15:06:09Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2017-03-29T17:05:56Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=8bb9eb501b51eaf1e54cade46ca27b169c070e89'/>
<id>urn:sha1:8bb9eb501b51eaf1e54cade46ca27b169c070e89</id>
<content type='text'>
Signed-off-by: Miika Turkia &lt;miika.turkia@gmail.com&gt;
</content>
</entry>
<entry>
<title>Export-import test for manual CSV</title>
<updated>2017-04-01T15:06:09Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2017-03-14T04:58:59Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=acd791b7c14a9f28cd65dbd62df489b8c0088f26'/>
<id>urn:sha1:acd791b7c14a9f28cd65dbd62df489b8c0088f26</id>
<content type='text'>
Note that the actual validation of the result is currently disabled, so
the tests will pass even though there are some bugs and rounding errors
present.

Signed-off-by: Miika Turkia &lt;miika.turkia@gmail.com&gt;
</content>
</entry>
<entry>
<title>Change parseCSV to support unit and file selection</title>
<updated>2017-04-01T15:06:09Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2017-03-13T19:53:44Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=a0ed0ff8234ce43c84ac4e03cc513037c5bff8eb'/>
<id>urn:sha1:a0ed0ff8234ce43c84ac4e03cc513037c5bff8eb</id>
<content type='text'>
Signed-off-by: Miika Turkia &lt;miika.turkia@gmail.com&gt;
</content>
</entry>
<entry>
<title>minimal pO2 threshold: corrected testpreferences</title>
<updated>2017-03-28T18:17:03Z</updated>
<author>
<name>Jan Mulder</name>
<email>jlmulder@xs4all.nl</email>
</author>
<published>2017-03-25T14:30:08Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=622ab2286abf23de889b928cdde4b4e234b76fc3'/>
<id>urn:sha1:622ab2286abf23de889b928cdde4b4e234b76fc3</id>
<content type='text'>
Adapt the testpreferences procedure for the new min/max pO2 preference.

Signed-off-by: Jan Mulder &lt;jlmulder@xs4all.nl&gt;
</content>
</entry>
<entry>
<title>Fix double to int truncation in C++ code</title>
<updated>2017-03-24T16:39:25Z</updated>
<author>
<name>Jeremie Guichard</name>
<email>djebrest@gmail.com</email>
</author>
<published>2017-03-23T01:13:49Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=597539ce39ab1054851f5aa96daa0fff29699e8f'/>
<id>urn:sha1:597539ce39ab1054851f5aa96daa0fff29699e8f</id>
<content type='text'>
Wfloat-conversion enabled for C++ part of the code
Fix warnings raised by the flag using lrint

Original issue reported on the mailing list:
The ascent/descent rates are sometimes not what is expected.
E.g. setting the ascent rate to 10m/min results in an actual
ascent rate of 9m/min.
This is due to truncating the ascent rate preference,
then effectively rounding up the time to reach each stop to 2s intervals.
The result being that setting the ascent rate to 10m/min
results in 20s to ascend 3m (9m/min), when it should be exactly 18s.

Reported-by: John Smith &lt;noseygit@hotmail.com&gt;
Reported-by: Rick Walsh &lt;rickmwalsh@gmail.com&gt;
Signed-off-by: Jeremie Guichard &lt;djebrest@gmail.com&gt;
</content>
</entry>
<entry>
<title>Tests for minimum gas</title>
<updated>2017-03-20T00:11:52Z</updated>
<author>
<name>Stefan Fuchs</name>
<email>sfuchs@gmx.de</email>
</author>
<published>2017-03-15T21:28:36Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=6f21d2749e67926128bf1e536382aad9890fc846'/>
<id>urn:sha1:6f21d2749e67926128bf1e536382aad9890fc846</id>
<content type='text'>
Add automatic tests in TestPlan for minimum gas:
- Copy minimum gas result (pressure) to diveplan.
- Add cylinder size and working pressure for bottom gas to every dive in TestPlan
  Hint: Unrealistic cylinder sizes (100l, 200l) have to be used for the very long and deep dives in TestPlan
- Add minimum gas check for every dive
- Add two additional test dives in TestPlan which produce sane minimum gas results with 24l tank
  Hint: Deco check for these new dives is commented out at the moment

Signed-off-by: Stefan Fuchs &lt;sfuchs@gmx.de&gt;
</content>
</entry>
<entry>
<title>Fix error in install target for tests on Windows</title>
<updated>2017-03-11T16:05:22Z</updated>
<author>
<name>Jeremie Guichard</name>
<email>djebrest@gmail.com</email>
</author>
<published>2017-03-11T04:41:56Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=1ff0aeed4c0cb5f682e0f16f7ac7b298a72ed3ef'/>
<id>urn:sha1:1ff0aeed4c0cb5f682e0f16f7ac7b298a72ed3ef</id>
<content type='text'>
The rule was working when called from the fake test
used as preparation step in check target on Windows,
but did not work for the normal install target.

Signed-off-by: Jeremie Guichard &lt;djebrest@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fix failures in TestPreferences for Windows run</title>
<updated>2017-03-11T16:05:22Z</updated>
<author>
<name>Jeremie Guichard</name>
<email>djebrest@gmail.com</email>
</author>
<published>2017-03-11T04:38:26Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=ea4df67b32d6ec9e0539c813ea2225ba367ff8a6'/>
<id>urn:sha1:ea4df67b32d6ec9e0539c813ea2225ba367ff8a6</id>
<content type='text'>
QSettings needs OrganizationName and ApplicationName
to be set to work properly under Windows.

Signed-off-by: Jeremie Guichard &lt;djebrest@gmail.com&gt;
</content>
</entry>
<entry>
<title>Rework TestParse to make tests independent from each other</title>
<updated>2017-03-04T20:03:33Z</updated>
<author>
<name>Jeremie Guichard</name>
<email>djebrest@gmail.com</email>
</author>
<published>2017-03-04T15:06:52Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=b9a3dfb86ba7a913075a286af843b65243e3bfef'/>
<id>urn:sha1:b9a3dfb86ba7a913075a286af843b65243e3bfef</id>
<content type='text'>
In the original version, parsing and comparing output was
done in separate test methods. This was forbidding use of
QTest cleanup to call clear_dive_file_data().
As a side effect a failure in one test would make other tests
failing too (since call to clear_dive_file_data was skipped
by QCOMPARE failure).

Added a FILE_COMPARE macro to avoid code duplication.

Signed-off-by: Jeremie Guichard &lt;djebrest@gmail.com&gt;
</content>
</entry>
</feed>
