diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-02-14 18:13:35 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-02-14 18:13:35 -0800 |
commit | a081fb34e001e321308e75f9eb2edc422ba61f8c (patch) | |
tree | cc47a30f5d8fa3aabb5e8df5da53a5a6345bfea5 /wreck.jpg | |
parent | 57d5a40e95135958c60f376b69e6c48ef4060706 (diff) | |
download | subsurface-a081fb34e001e321308e75f9eb2edc422ba61f8c.tar.gz |
Test dives for duplicate names and conflicting GPS
The conflicting GPS is somewhat artificial. Since the GPS gets parsed
first in our syntax, the different GPS location would create a new dive
site and we'd end up with two dive sites of the same name with different
coordinates. By having a location tag with just the name and no
coordinates we make sure that this gets identified with the existing dive
site and THEN add the GPS coordinates in the second location tag.
This would never happen in a XML file created by Subsurface, but it does a
good job in testing the different code paths.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'wreck.jpg')
0 files changed, 0 insertions, 0 deletions