233234235236237238239240241242243
protected String getContextPath() { TestConfig testConfig = getTestJavaClass().getAnnotation(TestConfig.class); if (testConfig != null) { return testConfig.contextPath(); } return "/test"; } protected String getServletPath()