﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
17035	Validator: Improve progress monitor	GerdP	GerdP	"==== What steps will reproduce the problem?
1. Run validator on a dataset containing many (> 10000) objects

==== What is the expected result?
Progress monitor should show two progess bars. One that counts the tests, another that counts the progress on the validated objects in a single test. 

==== What happens instead?
- Progress monitor shows no progress when a specific test takes long because it only shows the progress of the tests (although many tests call progressMonitor.worked(1) for each primitive).
- Progress monitor shows the aftermath message ""updating ignored errors"" together with e.g. ""Test 38/38: Starting Wrongly Ordered Ways"" when the test ""Wrongly Ordered Ways"" is already done.
==== Please provide any additional information below. Attach a screenshot if possible.
Some tests might do complex calculations in the endTest() method. Those may need special treatment.
{{{
Build-Date:2018-11-27 09:20:37
Revision:14455
Is-Local-Build:true

Identification: JOSM/1.5 (14455 SVN en) Windows 10 64-Bit
OS Build number: Windows 10 Home 1803 (17134)
Memory Usage: 1081 MB / 3641 MB (571 MB allocated, but free)
Java version: 1.8.0_191-b12, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Screen: \Display0 1920x1080
Maximum Screen Size: 1920x1080
VM arguments: [-agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:57084, -ea, -Dfile.encoding=UTF-8]
Dataset consistency test: No problems found

Plugins:
+ OpeningHoursEditor (34535)
+ apache-commons (34506)
+ buildings_tools (34724)
+ download_along (34503)
+ ejml (34389)
+ geotools (34513)
+ jaxb (34506)
+ jts (34524)
+ merge-overlap (34664)
+ o5m (34405)
+ opendata (34698)
+ pbf (34576)
+ poly (34546)
+ reverter (34552)
+ undelete (34568)
+ utilsplugin2 (34506)

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- E: Thread main-worker-0 raised org.openstreetmap.josm.gui.progress.ProgressException: Expected states are [INIT] but current state is IN_TASK
}}}
"	enhancement	closed	normal	18.12	Core validator		fixed	template_report	
