#14495 closed defect (fixed)
StyleCacheTest failing
Reported by: | bastiK | Owned by: | michael2402 |
---|---|---|---|
Priority: | normal | Milestone: | 17.03 |
Component: | Unit tests | Version: | |
Keywords: | test | Cc: |
Description
StyleCacheTest.testStyleCacheInternPool test is failing in Jenkins.
There is a problem with this test that it uses the current global MapCSS style, which is modified by other tests. So it is kind of random what this method tests. Whatever style it uses at the moment, is causing a test error.
Attachments (0)
Change History (10)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
Cc: | added |
---|---|
Component: | Core mappaint → Unit tests |
comment:3 by , 8 years ago
Cc: | removed |
---|---|
Owner: | changed from | to
3 other tests must be fixed:
org.openstreetmap.josm.gui.dialogs.InspectPrimitiveDialogTest.testBuildMapPaintText
org.openstreetmap.josm.gui.mappaint.MapCSSRendererTest.testRender[area-text]
org.openstreetmap.josm.data.validation.tests.MultipolygonTestTest.testTicket10469
comment:9 by , 8 years ago
I will get rid of all the public fields in org.openstreetmap.josm.gui.mappaint.styleelement.*
, this is really not such a brilliant idea for immutable classes.
Means JOSMFixture.init() must be fixed?