mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
dbd99f706e
commit
c4976b505a
4 changed files with 87 additions and 0 deletions
28
dives/test44.xml
Normal file
28
dives/test44.xml
Normal file
|
|
@ -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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue