Modify ↓
Opened 9 years ago
Closed 9 years ago
#13037 closed enhancement (fixed)
[Patch] Small fixes for unit tests
Reported by: | michael2402 | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 16.06 |
Component: | Unit tests | Version: | |
Keywords: | gsoc-core | Cc: | Don-vip, bastiK, stoecker |
Description (last modified by )
This is a collection of small fixes to make (more) unit tests pass. Most notably the following bugs are fixed:
- Unit tests assume Europe/Berlin timezone
- PreferencesTest assumed you use josm_test as user.
- Remove
Main.map.[mapView.]repaint()
calls after command execution or when that layer can be invalidated. - Fix GpxTrack returning the wrong max time if the latest node is not the last one.
- Set
logLevel
to default for all tests AutosaveTaskTest
does not create an endless list of warnings any more - 5 are enough to test that.- Fix
Commmand
triggering the selection change in the active data set. It triggers in the edited data set now.
A more detailed version of the changes can be seen here:
https://github.com/michaelzangl/josm/commits/test-do-not-call-map-repaint
If you want to preserve the commit messages, I can pack you the output of git --format-patch ;-).
Attachments (1)
Change History (4)
comment:1 by , 9 years ago
Description: | modified (diff) |
---|
by , 9 years ago
Attachment: | patch-test-do-not-call-map-repaint.patch added |
---|
comment:2 by , 9 years ago
Component: | Core → Unit tests |
---|
comment:3 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 10467/josm: