Changeset 12620 in josm for trunk/test/functional


Ignore:
Timestamp:
2017-08-22T22:26:32+02:00 (7 years ago)
Author:
Don-vip
Message:

see #15182 - deprecate all Main logging methods and introduce suitable replacements in Logging for most of them

Location:
trunk/test/functional/org/openstreetmap/josm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/functional/org/openstreetmap/josm/gui/history/HistoryBrowserTestFT.java

    r9547 r12620  
    88import org.junit.BeforeClass;
    99import org.openstreetmap.josm.JOSMFixture;
    10 import org.openstreetmap.josm.Main;
    1110import org.openstreetmap.josm.data.osm.OsmPrimitiveType;
    1211import org.openstreetmap.josm.data.osm.SimplePrimitiveId;
     
    1615import org.openstreetmap.josm.io.OsmServerHistoryReader;
    1716import org.openstreetmap.josm.io.OsmTransferException;
     17import org.openstreetmap.josm.tools.Logging;
    1818
    1919public class HistoryBrowserTestFT extends JFrame {
     
    3939            ds = reader.parseHistory(NullProgressMonitor.INSTANCE);
    4040        } catch (OsmTransferException e) {
    41             Main.error(e);
     41            Logging.error(e);
    4242            return;
    4343        }
  • trunk/test/functional/org/openstreetmap/josm/io/UploadStrategySelectionPanelTest.java

    r10378 r12620  
    1313
    1414import org.junit.Ignore;
    15 import org.openstreetmap.josm.Main;
    1615import org.openstreetmap.josm.gui.io.UploadStrategySelectionPanel;
    1716import org.openstreetmap.josm.gui.progress.NullProgressMonitor;
     17import org.openstreetmap.josm.tools.Logging;
    1818
    1919@Ignore
     
    4343                            n = Integer.parseInt(tf.getText());
    4444                        } catch (NumberFormatException e) {
    45                             Main.error(e);
     45                            Logging.error(e);
    4646                            return;
    4747                        }
Note: See TracChangeset for help on using the changeset viewer.