Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#13033 closed enhancement (fixed)

[Patch] JoinAreasActionTest: Do not set status line

Reported by: michael2402 Owned by: team
Priority: normal Milestone: 16.06
Component: Unit tests Version:
Keywords: gsoc-core JoinAreasActionTest search Cc: Don-vip, bastiK, stoecker

Description

SearchAction forced an update of the status line. We do not want to require a JOSM main window for this test.

  • Remove MapView.map.repaint() - Commands invalidate that layer and the map view updates automatically.
  • Add a new search method that does not update the selection.
  • Call Main.map.statusLine... only if we update the selection.

Attachments (1)

patch-test-JoinAreasActionTest.patch (11.0 KB) - added by michael2402 3 years ago.

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by michael2402

comment:1 Changed 3 years ago by Don-vip

Resolution: fixed
Status: newclosed

In 10457/josm:

fix #13033 - JoinAreasActionTest: Do not set status line (patch by michael2402) - gsoc-core

comment:2 Changed 3 years ago by Don-vip

In 10459/josm:

see #13033 - fix javadoc warning

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.