Modify ↓
Opened 9 years ago
Closed 9 years ago
#12354 closed enhancement (fixed)
[Patch] OsmPrimitiveKeyHandlingTest clean up
Reported by: | michael2402 | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 16.02 |
Component: | Core | Version: | |
Keywords: | Cc: |
Description
Cleaned up that test a bit and added some more tests (like also testing node.getKeys())
- assertSame should not be used for primitives. In fact, it only works because the (normal) JVM caches Integer objects but assertSame(1000,1000) returns false.
- assertEquals expects the first parameter to be the expected value.
Attachments (1)
Change History (3)
by , 9 years ago
Attachment: | patch-osm-primitive-key-test.patch added |
---|
comment:1 by , 9 years ago
Keywords: | jquery removed |
---|---|
Milestone: | → 16.02 |
comment:2 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 9459/josm: