source: josm/trunk/test/functional/org/openstreetmap/josm/io/UploadStrategySelectionPanelTest.java@ 2578

Last change on this file since 2578 was 2569, checked in by Gubaer, 14 years ago

fixed #3684: Add "chunked" upload mode
Removed support for API "0.5" when uploading (there are still 0.5-files around, but I'm not aware of any 0.5-servers)

File size: 807 bytes
Line 
1// License: GPL. For details, see LICENSE file.
2package org.openstreetmap.josm.io;
3
4import java.awt.BorderLayout;
5
6import javax.swing.JFrame;
7
8import org.openstreetmap.josm.gui.io.UploadStrategySelectionPanel;
9
10public class UploadStrategySelectionPanelTest extends JFrame {
11
12 private UploadStrategySelectionPanel pnl;
13
14 protected void build() {
15 getContentPane().setLayout(new BorderLayout());
16 pnl = new UploadStrategySelectionPanel();
17 getContentPane().add(pnl, BorderLayout.CENTER);
18 setSize(400,400);
19 }
20
21 public UploadStrategySelectionPanelTest() {
22 build();
23 pnl.setNumUploadedObjects(1500);
24 }
25
26 public static void main(String args[]) {
27 new UploadStrategySelectionPanelTest().setVisible(true);
28 }
29}
Note: See TracBrowser for help on using the repository browser.