Fixture set up
()
| 41 | |
| 42 | /** Fixture set up */ |
| 43 | @Override |
| 44 | public void setUp() throws Exception { |
| 45 | |
| 46 | |
| 47 | if (!Gate.isInitialised()) { |
| 48 | Gate.runInSandbox(true); |
| 49 | Gate.init(); |
| 50 | } |
| 51 | |
| 52 | |
| 53 | //try{ |
| 54 | // Gate.init(); |
| 55 | //testServer = Gate.getUrl().toExternalForm(); |
| 56 | testServer = getTestServerName(); |
| 57 | //} catch (GateException e){ |
| 58 | // e.printStackTrace(Err.getPrintWriter()); |
| 59 | //} |
| 60 | |
| 61 | testDocument1 = "tests/html/test2.htm"; |
| 62 | } // setUp |
| 63 | |
| 64 | /** Get the name of the test server */ |
| 65 | public static String getTestServerName() { |
nothing calls this directly
no test coverage detected