Changeset 32829 in osm for applications/editors/josm/plugins/wikipedia/test
- Timestamp:
- 2016-08-18T07:21:04+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/wikipedia/test/unit/org/wikipedia/WikidataTagCellRendererTest.java
r32744 r32829 27 27 final WikidataTagCellRenderer renderer = new WikidataTagCellRenderer(); 28 28 renderer.renderValues(ids, new JTable(), new JLabel()); 29 Main.worker.submit(new Runnable() { 30 @Override 31 public void run() { 32 } 33 }).get(); // wait for labels to be fetched 29 for (String id : ids) { 30 // wait for labels to be fetched 31 renderer.labelCache.get(id).get(); 32 } 34 33 final JLabel label = renderer.renderValues(ids, new JTable(), new JLabel()); 35 34 assertNotNull(label);
Note:
See TracChangeset
for help on using the changeset viewer.