<feed xmlns='http://www.w3.org/2005/Atom'>
<title>subsurface.git/tests, branch v5.0.3</title>
<subtitle>forked from https://github.com/subsurface/subsurface</subtitle>
<id>https://git.tsegers.com/subsurface.git/atom?h=v5.0.3</id>
<link rel='self' href='https://git.tsegers.com/subsurface.git/atom?h=v5.0.3'/>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/'/>
<updated>2021-07-23T18:30:17Z</updated>
<entry>
<title>tests: initialize our prefs to the default values</title>
<updated>2021-07-23T18:30:17Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2021-07-21T20:32:28Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=72bdd506f07d6a2cc9652efe0353a85d9b8e481a'/>
<id>urn:sha1:72bdd506f07d6a2cc9652efe0353a85d9b8e481a</id>
<content type='text'>
Otherwise we end up with nonsensical values which lead to a division by zero,
which in return leads to different results, depending on platform.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>The planner should not always ascent from the depth of</title>
<updated>2021-05-07T15:16:41Z</updated>
<author>
<name>Robert C. Helling</name>
<email>helling@atdotde.de</email>
</author>
<published>2021-05-07T08:05:43Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=09bbd846da2289a49e566c6b2742b62d9d7bdc79'/>
<id>urn:sha1:09bbd846da2289a49e566c6b2742b62d9d7bdc79</id>
<content type='text'>
the last manually entered waypoint but consider the
possibility that it should first top where we are
before the next stop depth has cleared.

Reported-by: David Carron

Signed-off-by: Robert C. Helling &lt;helling@atdotde.de&gt;
</content>
</entry>
<entry>
<title>cloudstorage: adapt tests</title>
<updated>2021-04-19T19:51:01Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2021-04-16T13:47:51Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=fe074ccad153791b32c2f62af530091cb025cdee'/>
<id>urn:sha1:fe074ccad153791b32c2f62af530091cb025cdee</id>
<content type='text'>
The code assumes that prefs.cloud_base_url is non NULL. Allowing that to
be NULL makes no sense during normal operation of the app. Yet, most of
the tests don't initialize the prefs at all.

Making things worse, if we do correctly initialize the prefs (so as to
reasonably approximate the behavior when running the app), things break
because some of the reference outputs assume that the prefs are unset.
This deserves fixing.

For now, simply make sure that cloud_base_url is set for all the tests
that try to parse files.

Additionally, the semantics how cloud_base_url is saved to disk have
changed, so adjust the test for those prefs accordingly.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>cloudstorage: some cleanup of cloud url handling</title>
<updated>2021-04-19T19:51:01Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2021-04-11T00:40:30Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=c5eb806adb345e24b13ac4bf106cceb1dc9d3431'/>
<id>urn:sha1:c5eb806adb345e24b13ac4bf106cceb1dc9d3431</id>
<content type='text'>
We know the preference is never empty, so stop testing for this. But
don't maintain two different preferences with basically the same
content. Instead add the '/git' suffix where needed and keep this all in
one place.

Simplify the extraction of the branch name from the cloud URL.

Also a typo fix and a new comment.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>tests: fix incorrect relative path names</title>
<updated>2021-03-24T18:47:48Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2021-03-24T18:47:48Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=01fb69e198b3dfdccd3a0de5a3f12973d7811dc0'/>
<id>urn:sha1:01fb69e198b3dfdccd3a0de5a3f12973d7811dc0</id>
<content type='text'>
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>Add test for profile in VPMB mode</title>
<updated>2021-03-24T17:30:22Z</updated>
<author>
<name>Robert C. Helling</name>
<email>helling@atdotde.de</email>
</author>
<published>2021-02-26T13:03:31Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=1c8c6f95512988b66442341e35beda0377b7d7c3'/>
<id>urn:sha1:1c8c6f95512988b66442341e35beda0377b7d7c3</id>
<content type='text'>
For some reason, this test seems not to run effectively, at least
locally, I had to update the reference file.

Added a check that indeed the file to be compared was
successfully opened.

Signed-off-by: Robert C. Helling &lt;helling@atdotde.de&gt;
</content>
</entry>
<entry>
<title>cleanup: remove setAppState from TestPlan</title>
<updated>2021-02-17T15:26:55Z</updated>
<author>
<name>Berthold Stoeger</name>
<email>bstoeger@mail.tuwien.ac.at</email>
</author>
<published>2021-02-13T21:47:57Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=80c92acc339237502d1d7f1eeb5d5a8801d6f908'/>
<id>urn:sha1:80c92acc339237502d1d7f1eeb5d5a8801d6f908</id>
<content type='text'>
This is not needed anymore, since the planner passes down the
in_planner flag to the appropriate functions. The planner state
is not queried via a global anymore.

Signed-off-by: Berthold Stoeger &lt;bstoeger@mail.tuwien.ac.at&gt;
</content>
</entry>
<entry>
<title>preferences: remove pointless member</title>
<updated>2021-01-06T18:18:23Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2021-01-05T20:08:09Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=76136010bf72e6452701dd7dffc24c9eabfaf97d'/>
<id>urn:sha1:76136010bf72e6452701dd7dffc24c9eabfaf97d</id>
<content type='text'>
This could never have worked the way it was used.

Some whitespace fixes snuck into this commit.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>build-system: fix tests in mobile builds</title>
<updated>2020-11-20T01:18:33Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-11-19T03:54:30Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=695950b15a3ab272032f7bd4829ba57044735a70'/>
<id>urn:sha1:695950b15a3ab272032f7bd4829ba57044735a70</id>
<content type='text'>
We can no longer build TestPictures in mobile builds.

Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
<entry>
<title>tests: don't fail if TestGitStorage can reach the server</title>
<updated>2020-10-27T02:27:03Z</updated>
<author>
<name>Dirk Hohndel</name>
<email>dirk@hohndel.org</email>
</author>
<published>2020-10-26T01:22:51Z</published>
<link rel='alternate' type='text/html' href='https://git.tsegers.com/subsurface.git/commit/?id=2a876be84400958184d76473773544b979c76953'/>
<id>urn:sha1:2a876be84400958184d76473773544b979c76953</id>
<content type='text'>
Signed-off-by: Dirk Hohndel &lt;dirk@hohndel.org&gt;
</content>
</entry>
</feed>
