Ignore:
Timestamp:
2016-07-30T12:00:24+02:00 (8 years ago)
Author:
donvip
Message:

better assert

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/wikipedia/test/unit/org/wikipedia/WikidataTagCellRendererTest.java

    r31915 r32744  
    22
    33import static org.hamcrest.CoreMatchers.is;
     4import static org.junit.Assert.assertNotNull;
    45import static org.junit.Assert.assertThat;
    56
     
    3233        }).get(); // wait for labels to be fetched
    3334        final JLabel label = renderer.renderValues(ids, new JTable(), new JLabel());
     35        assertNotNull(label);
    3436        assertThat(label.getText(), is("<html>" +
    3537                "Q84 <span color='gray'>London</span>; " +
Note: See TracChangeset for help on using the changeset viewer.