Changeset 32692 for gs3-extensions/testing/trunk/src/src/org/greenstone/gsdl3/testing/GSGUITestingUtil.java
- Timestamp:
- 2018-12-16T20:18:24+13:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-extensions/testing/trunk/src/src/org/greenstone/gsdl3/testing/GSGUITestingUtil.java
r32690 r32692 6 6 // only JUnit and JAssert-Swing, no Selenium in this class 7 7 import org.junit.Assert; 8 import org.assertj.swing.fixture.*; 8 9 9 10 /* … … 15 16 16 17 17 public static final String DOWNLOAD_PANE = " GUI.Download";18 public static final String GATHER_PANE = "G UI.Gather";19 public static final String ENRICH_PANE = " GUI.Enrich";20 public static final String DESIGN_PANE = " GUI.Design";21 public static final String CREATE_PANE = " GUI.Create";22 public static final String FORMAT_PANE = " GUI.Format";18 public static final String DOWNLOAD_PANE = "DownloadPane"; 19 public static final String GATHER_PANE = "GatherPane"; 20 public static final String ENRICH_PANE = "EnrichPane"; 21 public static final String DESIGN_PANE = "DesignPane"; 22 public static final String CREATE_PANE = "CreatePane"; 23 public static final String FORMAT_PANE = "FormatPane"; 23 24 24 25 /************** NEEDED FOR TESTING *************/ … … 28 29 29 30 /************************ GENERAL *******************************/ 30 public static void switchToPane(String pane) { 31 31 //https://joel-costigliola.github.io/assertj/swing/api/org/assertj/swing/fixture/FrameFixture.html 32 public static void switchToPane(FrameFixture window, String pane) { 33 //JTabbedPaneFixture tab = window.tabbedPane("GUIManager.tab_pane"); 34 JPanelFixture tab = window.panel(pane); 32 35 } 33 36 public static void getMenu(String menu, String subMenu) {}
Note:
See TracChangeset
for help on using the changeset viewer.