mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Correct the trip related test dives
They still had the old "date only" format, but the code now relies on date and time being both set. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1f252fedd1
commit
2a1d7a510c
3 changed files with 9 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
<dives>
|
||||
<program name='subsurface' version='1'></program>
|
||||
<trip date='2011-12-02' />
|
||||
<trip date='2011-12-02' time='14:00:00' />
|
||||
<dive number='20' tripflag='INTRIP' date='2011-12-02' time='14:00:00' duration='30:00 min'>
|
||||
<depth max='20.0 m' mean='15.0 m' />
|
||||
<location>20th test dive - this should be in a trip with same location</location>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<dives>
|
||||
<program name='subsurface' version='1'></program>
|
||||
<trip date='2011-12-02' location='trip location' />
|
||||
<trip date='2011-12-02' location='trip location' time='15:00:00' />
|
||||
<dive number='21' tripflag='INTRIP' date='2011-12-02' time='15:00:00' duration='30:00 min'>
|
||||
<depth max='20.0 m' mean='15.0 m' />
|
||||
<location>21st test dive - this should be in a trip with a trip location</location>
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
<dives>
|
||||
<program name='subsurface' version='1'></program>
|
||||
<trip date='2011-12-02' location='trip location' />
|
||||
<dive number='22' tripflag='NOTRIP' date='2011-12-09' time='6:00:00' duration='30:00 min'>
|
||||
<trip date='2011-12-02' time='6:00:00' location='trip location' />
|
||||
<dive number='23' tripflag='INTRIP' date='2011-12-02' time='6:00:00' duration='30:00 min'>
|
||||
<depth max='20.0 m' mean='15.0 m' />
|
||||
<location>23rd test dive - this should be in a trip</location>
|
||||
<notes>We are testing that the NOTRIP flag works</notes>
|
||||
</dive>
|
||||
<dive number='22' tripflag='NOTRIP' date='2011-12-03' time='7:00:00' duration='30:00 min'>
|
||||
<depth max='20.0 m' mean='15.0 m' />
|
||||
<location>22nd test dive - this should not be in a trip</location>
|
||||
<notes>We are testing that the NOTRIP flag works</notes>
|
||||
|
|
Loading…
Reference in a new issue