#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 Changed 6 years ago by
comment:2 Changed 6 years ago by
Cc: | michael2402 added |
---|---|
Component: | Core mappaint → Unit tests |
comment:3 Changed 6 years ago by
Cc: | michael2402 removed |
---|---|
Owner: | changed from team to michael2402 |
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 Changed 6 years ago by
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?