Changeset 32690 for gs3-extensions/testing/trunk
- Timestamp:
- 2018-12-16T19:58:14+13:00 (5 years ago)
- Location:
- gs3-extensions/testing/trunk/src/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-extensions/testing/trunk/src/src/gstests/tutorials/RunGLITest.java
r32688 r32690 99 99 "-gsdlos", GSDLOS, 100 100 "-gsdl3", GSDL3HOME, 101 "-gsdl3src", GSDL3SRCHOME).start(); 101 "-gsdl3src", GSDL3SRCHOME, 102 "-testing_mode").start(); 102 103 } 103 104 -
gs3-extensions/testing/trunk/src/src/org/greenstone/gsdl3/testing/GSGUITestingUtil.java
r32687 r32690 23 23 24 24 /************** NEEDED FOR TESTING *************/ 25 /* 26 Google: "Java swing automatically setName" 27 -> https://stackoverflow.com/questions/3628218/strategy-for-naming-swing-components 28 - https://stackoverflow.com/questions/4163500/how-to-automatic-set-name-attr-of-gui-components/4164479#4164479 29 - https://help.eclipse.org/mars/index.jsp?topic=%2Forg.eclipse.wb.swing.doc.user%2Fhtml%2Fwizards%2Fswing%2Fautomatic_databinding.html 30 - https://stackoverflow.com/questions/28639294/in-java-how-to-get-name-of-component-which-is-clicked 31 */ 32 public static void setNamesRecursively(Component rootComponent) { 25 // There's now a new method in GLI: GUIManager.setNamesRecursively() 26 // that attempts to recursively call setName() on visible GUI components so that we 27 // can have easier access to those GUI components when testing here through their names 28 29 /************************ GENERAL *******************************/ 30 public static void switchToPane(String pane) { 33 31 34 32 } 35 36 /************************ GENERAL *******************************/37 public static void switchToPane(String pane) {}38 33 public static void getMenu(String menu, String subMenu) {} 39 34
Note:
See TracChangeset
for help on using the changeset viewer.