Changeset 14027 in josm for trunk/test/unit
- Timestamp:
- 2018-07-12T23:02:02+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/dialogs/relation/GenericRelationEditorTest.java
r13489 r14027 118 118 SelectionTable selectionTable = new SelectionTable(selectionTableModel, memberTableModel); 119 119 120 LeftButtonToolbar leftButtonToolbar = new LeftButtonToolbar(memberTable, memberTableModel, re);121 assertNotNull(leftButtonToolbar.sortBelowButton);122 123 120 AutoCompletingTextField tfRole = GenericRelationEditor.buildRoleTextField(re); 124 121 assertNotNull(tfRole); … … 127 124 128 125 JPanel top = GenericRelationEditor.buildTagEditorPanel(tagEditorPanel); 129 JPanel bottom = GenericRelationEditor.buildMemberEditorPanel(130 memberTable, memberTableModel, selectionTable, selectionTableModel, re, leftButtonToolbar, tfRole);131 126 assertNotNull(top); 132 assertNotNull(bottom);133 assertNotNull(GenericRelationEditor.buildSplitPane(top, bottom, re));134 135 127 TagEditorModel tagModel = tagEditorPanel.getModel(); 136 128 137 assertNotNull(GenericRelationEditor.buildOkCancelButtonPanel(138 new OKAction(memberTable, memberTableModel, tagModel, layer, re, tfRole),139 new CancelAction(memberTable, memberTableModel, tagModel, layer, re, tfRole)));140 assertNotNull(GenericRelationEditor.buildSelectionControlButtonToolbar(memberTable, memberTableModel, selectionTableModel, re));141 assertNotNull(GenericRelationEditor.buildSelectionTablePanel(selectionTable));142 143 assertNotNull(GenericRelationEditor.buildToolBar(144 new RefreshAction(memberTable, memberTableModel, tagModel, layer, re),145 new ApplyAction(memberTable, memberTableModel, tagModel, layer, re),146 new SelectAction(layer, re),147 new DuplicateRelationAction(memberTableModel, tagModel, layer),148 new DeleteCurrentRelationAction(layer, re)));149 129 } 150 130 }
Note:
See TracChangeset
for help on using the changeset viewer.