<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/tests, branch v4.5.2</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v4.5.2</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v4.5.2'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2015-10-07T16:18:44Z</updated>
<entry>
<title>Add test for more GPS coordinates</title>
<updated>2015-10-07T16:18:44Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2015-10-07T16:18:44Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=5d2436b504f3329a63d6005d2317faa0dfc2bb89'/>
<id>urn:sha1:5d2436b504f3329a63d6005d2317faa0dfc2bb89</id>
<content type='text'>
We really should be able to parse the coordinates that we show in our own
HTML export as well as the standard Google format... both have a comma
between the latitude and longitude.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>TestPlan: update known Subsurface runtimes</title>
<updated>2015-10-06T14:18:48Z</updated>
<author>
<name>Rick Walsh</name>
<email>rickmwalsh@gmail.com</email>
</author>
<published>2015-10-06T11:41:40Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=cd0963c26fc11cd704a646cbf11ee4e30f724c69'/>
<id>urn:sha1:cd0963c26fc11cd704a646cbf11ee4e30f724c69</id>
<content type='text'>
The purpose of testing against known Subsurface runtimes is to warn (when test
is run in verbose mode) if the runtime has altered. Before the next release, we
should update the known Subsurface runtimes to match current behaviour, so we
are alerted when we change something during the next release cycle.

Signed-off-by: Rick Walsh &lt;rickmwalsh@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>TestPlan: include subsurfacestartup.h</title>
<updated>2015-10-06T14:16:49Z</updated>
<author>
<name>Rick Walsh</name>
<email>rickmwalsh@gmail.com</email>
</author>
<published>2015-10-06T11:23:57Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=117d13485cfd56026db945f8cfe52e8e8075ebcf'/>
<id>urn:sha1:117d13485cfd56026db945f8cfe52e8e8075ebcf</id>
<content type='text'>
Commit 9d8b0ad introduces the copy_prefs function, and uses it to replace prefs
= default_prefs. We need to include subsurfacestartup.h for it to work in
testplan.cpp, otherwise TestPlan_build fails.

Signed-off-by: Rick Walsh &lt;rickmwalsh@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Correctly copy preferences</title>
<updated>2015-10-06T09:19:43Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2015-10-06T09:15:38Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=9d8b0addf94c86f224093bb1ca66ebe18494ff7c'/>
<id>urn:sha1:9d8b0addf94c86f224093bb1ca66ebe18494ff7c</id>
<content type='text'>
When just assigning one structure to the other we copy the string
pointers. If we then modify those strings in the copy, we happily free
the strings of the original. And then resetting the preferences equally
happily reused those strings, pointing to long since freed memory.

I think what I did now is excessive for the current use case in that it
copies a ton of strings that are unset in the default_prefs. But I figured
this is a rarely used function and I might as well do it correctly.

Also, once we implement multi user support with per user preferences we
will be copying completely populated preferences around (at least that's
my guess).

Fixes #940

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Add test for import, merge and renumbering</title>
<updated>2015-10-05T15:35:09Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2015-10-05T09:12:19Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=cb112f9ac5574b35832d53521c6208fe7e9c5fa7'/>
<id>urn:sha1:cb112f9ac5574b35832d53521c6208fe7e9c5fa7</id>
<content type='text'>
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Make sure we don't create multiple dive sites with the same uuid</title>
<updated>2015-09-29T16:58:16Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2015-09-29T16:58:16Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=edac07554c50a693389e4d88a6d6f56820c940f1'/>
<id>urn:sha1:edac07554c50a693389e4d88a6d6f56820c940f1</id>
<content type='text'>
This shouldn't happen, but in case there is a logic error higher up in the
code somewhere, this will prevent it from happening, period.

If the code asks for a new dive site with a specific uuid, simply return
the existing dive site with that uuid.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>TestPlan: Set VPM-B conservatism to zero</title>
<updated>2015-09-27T16:53:46Z</updated>
<author>
<name>Rick Walsh</name>
<email>rickmwalsh@gmail.com</email>
</author>
<published>2015-09-27T11:23:13Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=fe9958380edba2025e1086dbf600064e420e3232'/>
<id>urn:sha1:fe9958380edba2025e1086dbf600064e420e3232</id>
<content type='text'>
The VPM-B benchmark results are all based on nominal/zero conservatism, so we
should make sure we use zero conservatism in the tests.

Signed-off-by: Rick Walsh &lt;rickmwalsh@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>TestPlan: Add test for repeating dive</title>
<updated>2015-09-22T14:36:37Z</updated>
<author>
<name>Rick Walsh</name>
<email>rickmwalsh@gmail.com</email>
</author>
<published>2015-09-22T14:32:26Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=084b4152e46e54389cf0ec5cf042bd2878bda7ba'/>
<id>urn:sha1:084b4152e46e54389cf0ec5cf042bd2878bda7ba</id>
<content type='text'>
If variables were accidentally carried through from a previous calculated plan,
subsequent plan could be affected.  This test aims to detect if this happens.
Commit 8994270 corrected such a bug.  If it were reverted, this test would fail
(as it should).

Signed-off-by: Rick Walsh &lt;rickmwalsh@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Git storage test: need to instantiate the window title updater class</title>
<updated>2015-09-18T19:05:07Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2015-09-18T19:05:07Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=ade206715553cacec71269e9c05f5deefee66d03'/>
<id>urn:sha1:ade206715553cacec71269e9c05f5deefee66d03</id>
<content type='text'>
Otherwise calling the static function can cause a crash in
mark_divelist_changed()

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Test case: compare DLD log with a saved one</title>
<updated>2015-09-13T22:28:04Z</updated>
<author>
<name>Miika Turkia</name>
<email>miika.turkia@gmail.com</email>
</author>
<published>2015-09-13T18:30:27Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=1e8ea9061ec71e65e7521fd2a8714dd092b1cf7e'/>
<id>urn:sha1:1e8ea9061ec71e65e7521fd2a8714dd092b1cf7e</id>
<content type='text'>
Signed-off-by: Miika Turkia &lt;miika.turkia@gmail.com&gt;
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
</feed>
