Changeset 14102 in josm for trunk/test


Ignore:
Timestamp:
2018-08-07T19:50:47+02:00 (3 years ago)
Author:
Don-vip
Message:

update unit test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/TableCellRendererTest.java

    r14100 r14102  
    99import java.util.Collection;
    1010import java.util.Set;
     11import java.util.logging.Level;
    1112
    1213import javax.swing.JTable;
     
    1819import org.openstreetmap.josm.TestUtils;
    1920import org.openstreetmap.josm.testutils.JOSMTestRules;
     21import org.openstreetmap.josm.tools.Logging;
    2022import org.openstreetmap.josm.tools.Utils;
    2123
     
    7173                continue;
    7274            }
    73             assertNotNull(createInstance(klass).getTableCellRendererComponent(tbl, null, false, false, 0, 0));
     75            try {
     76                Logging.info(klass.toString());
     77                assertNotNull(createInstance(klass).getTableCellRendererComponent(tbl, null, false, false, 0, 0));
     78            } catch (ReflectiveOperationException e) {
     79                Logging.logWithStackTrace(Level.WARNING, "Unable to test " + klass, e);
     80            }
    7481        }
    7582    }
Note: See TracChangeset for help on using the changeset viewer.