- Timestamp:
- 2018-12-18T19:31:51+13:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-extensions/testing/trunk/src/src/gstests/tutorials/RunGLITest.java
r32705 r32713 129 129 window = findFrame("GUIManager").using(robot()); 130 130 131 GSGUITestingUtil.setWindow(window); // set this first before calling any of Util's other methods 132 131 133 String gatherPaneLabel = Dictionary.get("GUI.Gather"); 132 134 System.err.println("@@@ Expecting label: " + gatherPaneLabel); … … 142 144 // attempt to switch to enrich pane, uses static methods of GSGUITestingUtil 143 145 // through static import of that class 144 switchToPane( window,DOWNLOAD_PANE);146 switchToPane(DOWNLOAD_PANE); 145 147 146 148 // For testing, want GLI to be in librarian mode by default 147 changeUserMode( window,"librarian");149 changeUserMode("librarian"); 148 150 149 switchToPane( window,GATHER_PANE);151 switchToPane(GATHER_PANE); 150 152 151 loadCollection( window,"lucene-jdbm-demo");153 loadCollection("lucene-jdbm-demo"); 152 154 153 155 // wait a couple of seconds again? 154 156 PAUSE(2); 155 closeCollection( window);157 closeCollection(); 156 158 157 createCollection( window,"pinky", "Pinky was here", null);158 closeCollection( window); // collection must be closed in order to be deleted159 deleteCollection( window,"pinky");159 createCollection("pinky", "Pinky was here", null); 160 closeCollection(); // collection must be closed in order to be deleted 161 deleteCollection("pinky"); 160 162 // wait a few of seconds again? 161 163 PAUSE(2); 162 164 163 exportCollection( window,"GreenstoneMETS", "lucene-jdbm-demo");165 exportCollection("GreenstoneMETS", "lucene-jdbm-demo"); 164 166 165 167 // Reset GLI to expert mode for regular GLI use 166 changeUserMode( window,"expert");168 changeUserMode("expert"); 167 169 168 170 PAUSE(5); 169 //exitGLI( window);171 //exitGLI(); 170 172 171 switchToPane( window,GATHER_PANE);173 switchToPane(GATHER_PANE); 172 174 } 173 175
Note:
See TracChangeset
for help on using the changeset viewer.