- Timestamp:
- 2016-01-20T01:10:10+01:00 (9 years ago)
- Location:
- trunk
- Files:
-
- 8 added
- 1 deleted
- 3 edited
- 12 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/widgets/JosmComboBox.java
r9484 r9546 4 4 import java.awt.Component; 5 5 import java.awt.Dimension; 6 import java.awt.GraphicsEnvironment; 6 7 import java.awt.Toolkit; 7 8 import java.awt.event.MouseAdapter; … … 166 167 if (prototype != null) { 167 168 setPrototypeDisplayValue(prototype); 168 int screenHeight = Toolkit.getDefaultToolkit().getScreenSize().height;169 int screenHeight = GraphicsEnvironment.isHeadless() ? 600 : Toolkit.getDefaultToolkit().getScreenSize().height; 169 170 // Compute maximum number of visible items based on the preferred size of the combo box. 170 171 // This assumes that items have the same height as the combo box, which is not granted by the look and feel -
trunk/test/functional/org/openstreetmap/josm/gui/conflict/pair/nodes/NodeListMergerTestFT.java
r9543 r9546 6 6 import javax.swing.JFrame; 7 7 8 import org.junit.Ignore;9 8 import org.openstreetmap.josm.data.conflict.Conflict; 10 9 import org.openstreetmap.josm.data.osm.Node; … … 12 11 import org.openstreetmap.josm.data.osm.Way; 13 12 14 @Ignore 15 public class NodeListMergerTest extends JFrame { 16 13 public class NodeListMergerTestFT extends JFrame { 17 14 18 15 private NodeListMerger nodeListMerger; … … 65 62 * Constructs a new {@code NodeListMergerTest}. 66 63 */ 67 public NodeListMergerTest () {64 public NodeListMergerTestFT() { 68 65 build(); 69 66 populate(); … … 71 68 72 69 public static void main(String[] args) { 73 NodeListMergerTest test = new NodeListMergerTest();70 NodeListMergerTestFT test = new NodeListMergerTestFT(); 74 71 test.setSize(600, 600); 75 72 test.setVisible(true); -
trunk/test/functional/org/openstreetmap/josm/gui/conflict/pair/properties/PropertiesMergerTestFT.java
r9543 r9546 6 6 import javax.swing.JFrame; 7 7 8 import org.junit.Ignore;9 8 import org.openstreetmap.josm.Main; 10 9 import org.openstreetmap.josm.data.conflict.Conflict; … … 14 13 import org.openstreetmap.josm.data.projection.Projections; 15 14 16 @Ignore 17 public class PropertiesMergerTest extends JFrame { 15 public class PropertiesMergerTestFT extends JFrame { 18 16 19 17 private PropertiesMerger merger; … … 40 38 * Constructs a new {@code PropertiesMergerTest}. 41 39 */ 42 public PropertiesMergerTest () {40 public PropertiesMergerTestFT() { 43 41 build(); 44 42 populate(); … … 46 44 47 45 public static void main(String[] args) { 48 PropertiesMergerTest app = new PropertiesMergerTest();46 PropertiesMergerTestFT app = new PropertiesMergerTestFT(); 49 47 app.setSize(600, 400); 50 48 app.setVisible(true); -
trunk/test/functional/org/openstreetmap/josm/gui/conflict/pair/relation/RelationMemberMergerTestFT.java
r9543 r9546 6 6 import javax.swing.JFrame; 7 7 8 import org.junit.Ignore;9 8 import org.openstreetmap.josm.data.conflict.Conflict; 10 9 import org.openstreetmap.josm.data.osm.Node; … … 14 13 import org.openstreetmap.josm.data.osm.Way; 15 14 16 @Ignore 17 public class RelationMemberMergerTest extends JFrame { 15 public class RelationMemberMergerTestFT extends JFrame { 18 16 19 17 private RelationMemberMerger merger; … … 44 42 * Constructs a new {@code RelationMemberMergerTest}. 45 43 */ 46 public RelationMemberMergerTest () {44 public RelationMemberMergerTestFT() { 47 45 build(); 48 46 populate(); … … 50 48 51 49 public static void main(String[] args) { 52 RelationMemberMergerTest test = new RelationMemberMergerTest();50 RelationMemberMergerTestFT test = new RelationMemberMergerTestFT(); 53 51 test.setSize(600, 600); 54 52 test.setVisible(true); -
trunk/test/functional/org/openstreetmap/josm/gui/conflict/pair/tags/TagMergerTestFT.java
r9543 r9546 6 6 import javax.swing.JFrame; 7 7 8 import org.junit.Ignore; 9 10 @Ignore 11 public class TagMergerTest extends JFrame { 8 public class TagMergerTestFT extends JFrame { 12 9 13 10 private TagMerger tagMerger; … … 22 19 * Constructs a new {@code TagMergerTest}. 23 20 */ 24 public TagMergerTest () {21 public TagMergerTestFT() { 25 22 build(); 26 23 tagMerger.getModel().addItem(new TagMergeItem("key", "myvalue", "theirvalue")); … … 35 32 36 33 public static void main(String[] args) { 37 TagMergerTest test = new TagMergerTest();34 TagMergerTestFT test = new TagMergerTestFT(); 38 35 test.setSize(600, 600); 39 36 test.setVisible(true); -
trunk/test/functional/org/openstreetmap/josm/gui/dialogs/ConflictResolutionDialogTestFT.java
r9543 r9546 4 4 import javax.swing.JFrame; 5 5 6 import org.junit.Ignore;7 6 import org.openstreetmap.josm.data.conflict.Conflict; 8 7 import org.openstreetmap.josm.data.osm.Node; … … 10 9 import org.openstreetmap.josm.data.osm.Way; 11 10 12 @Ignore 13 public class ConflictResolutionDialogTest extends JFrame { 11 public class ConflictResolutionDialogTestFT extends JFrame { 14 12 15 13 private ConflictResolutionDialog dialog; … … 40 38 * Constructs a new {@code ConflictResolutionDialogTest}. 41 39 */ 42 public ConflictResolutionDialogTest () {40 public ConflictResolutionDialogTestFT() { 43 41 build(); 44 42 } 45 43 46 44 public static void main(String[] args) { 47 ConflictResolutionDialogTest test = new ConflictResolutionDialogTest();45 ConflictResolutionDialogTestFT test = new ConflictResolutionDialogTestFT(); 48 46 test.setVisible(true); 49 47 test.populate(); -
trunk/test/functional/org/openstreetmap/josm/gui/dialogs/changeset/ChangesetCacheManagerTestFT.java
r9543 r9546 4 4 import javax.swing.JFrame; 5 5 6 import org.junit.Ignore; 7 8 @Ignore 9 public class ChangesetCacheManagerTest extends JFrame { 6 public class ChangesetCacheManagerTestFT extends JFrame { 10 7 11 8 private ChangesetCacheManager manager; … … 17 14 18 15 public static void main(String[] args) { 19 new ChangesetCacheManagerTest ().start();16 new ChangesetCacheManagerTestFT().start(); 20 17 } 21 18 } -
trunk/test/functional/org/openstreetmap/josm/gui/dialogs/changeset/query/ChangesetQueryDialogTestFT.java
r9543 r9546 4 4 import javax.swing.JFrame; 5 5 6 import org.junit.Ignore; 7 8 @Ignore 9 public class ChangesetQueryDialogTest extends JFrame { 6 public class ChangesetQueryDialogTestFT extends JFrame { 10 7 11 8 private ChangesetQueryDialog dialog; … … 18 15 19 16 public static void main(String[] args) { 20 new ChangesetQueryDialogTest ().start();17 new ChangesetQueryDialogTestFT().start(); 21 18 } 22 19 } -
trunk/test/functional/org/openstreetmap/josm/gui/history/HistoryBrowserTestFT.java
r9543 r9546 18 18 import org.openstreetmap.josm.io.OsmTransferException; 19 19 20 @Ignore 21 public class HistoryBrowserTest extends JFrame { 20 public class HistoryBrowserTestFT extends JFrame { 22 21 23 22 @BeforeClass … … 51 50 * Constructs a new {@code HistoryBrowserTest}. 52 51 */ 53 public HistoryBrowserTest () {52 public HistoryBrowserTestFT() { 54 53 build(); 55 54 //populate(OsmPrimitiveType.NODE,354117); … … 60 59 61 60 public static void main(String[] args) { 62 HistoryBrowserTest .init();63 new HistoryBrowserTest ().setVisible(true);61 HistoryBrowserTestFT.init(); 62 new HistoryBrowserTestFT().setVisible(true); 64 63 } 65 64 } -
trunk/test/unit/org/openstreetmap/josm/gui/conflict/pair/nodes/NodeListMergeModelTest.java
r8857 r9546 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.gui.conflict. nodes;2 package org.openstreetmap.josm.gui.conflict.pair.nodes; 3 3 4 4 import static org.fest.reflect.core.Reflection.field; -
trunk/test/unit/org/openstreetmap/josm/gui/conflict/pair/properties/PropertiesMergeModelTest.java
r8857 r9546 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.gui.conflict.p roperties;2 package org.openstreetmap.josm.gui.conflict.pair.properties; 3 3 4 4 import static org.junit.Assert.assertEquals; -
trunk/test/unit/org/openstreetmap/josm/gui/conflict/pair/tags/TagMergeItemTest.java
r9543 r9546 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.gui.conflict. tags;2 package org.openstreetmap.josm.gui.conflict.pair.tags; 3 3 4 4 import static org.junit.Assert.assertEquals; -
trunk/test/unit/org/openstreetmap/josm/gui/conflict/pair/tags/TagMergeModelTest.java
r9543 r9546 1 1 // License: GPL. For details, see LICENSE file. 2 package org.openstreetmap.josm.gui.conflict. tags;2 package org.openstreetmap.josm.gui.conflict.pair.tags; 3 3 4 4 import static org.fest.reflect.core.Reflection.field;
Note:
See TracChangeset
for help on using the changeset viewer.