// License: GPL. For details, see LICENSE file.
package org.openstreetmap.josm.plugins.turnrestrictions.editor;

import javax.swing.JFrame;

import org.junit.jupiter.api.Disabled;
import org.openstreetmap.josm.data.osm.DataSet;
import org.openstreetmap.josm.gui.layer.OsmDataLayer;
/**
 * Simple application to test functionality and layout of the turn restriction editor.
 *
 */
@Disabled("no test")
public class TurnRestrictionEditorTest extends JFrame {

    public TurnRestrictionEditorTest() {
        setSize(10, 10);
        TurnRestrictionEditor editor = new TurnRestrictionEditor(this, new OsmDataLayer(new DataSet(), "test", null));
        editor.setSize(600, 600);
        editor.setVisible(true);

        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }

    public static void main(String[] args) {
        new TurnRestrictionEditorTest().setVisible(true);
    }
}
