aboutsummaryrefslogtreecommitdiffstats
path: root/dives
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2017-02-21 10:27:31 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-02-21 13:14:56 -0800
commitc4976b505a2c4a1fe62610b3c875eac56957c924 (patch)
tree1ce720746e8d1314500a5bdd2f1fc57a5089f79e /dives
parentdbd99f706ecb6074d5f80573a881b98a3e30ce25 (diff)
downloadsubsurface-c4976b505a2c4a1fe62610b3c875eac56957c924.tar.gz
Test for basic image handling
This tests adding image files to dives including hashing and evaluating exif data. Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'dives')
-rw-r--r--dives/test44.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/dives/test44.xml b/dives/test44.xml
new file mode 100644
index 000000000..a9e59d9c8
--- /dev/null
+++ b/dives/test44.xml
@@ -0,0 +1,28 @@
+<divelog program='subsurface' version='3'>
+<settings>
+<divecomputerid model='Suunto Vyper' deviceid='7fffffff' serial='00522075' firmware='0.0.33'/>
+<divecomputerid model='Suunto Vyper' deviceid='e9237b0a' nickname='Suunto Vyper (e9237b0a)'/>
+ <autogroup state='1' />
+</settings>
+<divesites>
+<site uuid='47b3e28c' gps='47.934500 11.334500'/>
+</divesites>
+<dives>
+<trip date='2012-01-08' time='15:30:03'>
+<dive number='1' divesiteid='47b3e28c' date='2012-01-08' time='15:30:03' duration='46:06 min'>
+ <notes>Loading the image wreck.jpg should result in a picutre at 21:01. </notes>
+ <cylinder size='24.0 l' workpressure='232.0 bar' description='D12 232 bar' />
+ <divecomputer model='manually added dive' date='2014-01-09' time='14:22:03'>
+ <depth max='15.0 m' mean='13.698 m' />
+ <sample time='0:00 min' depth='0.0 m' />
+ <sample time='0:50 min' depth='15.0 m' />
+ <sample time='1:00 min' depth='15.0 m' />
+ <sample time='40:00 min' depth='15.0 m' />
+ <sample time='42:00 min' depth='5.0 m' />
+ <sample time='45:00 min' depth='5.0 m' />
+ <sample time='46:06 min' depth='0.0 m' />
+ </divecomputer>
+</dive>
+</trip>
+</dives>
+</divelog>