Revision fadab744
Added by Andreas Kohlbecker about 6 years ago
src/main/java/eu/etaxonomy/dataportal/junit/CdmDataPortalTestBase.java | ||
---|---|---|
11 | 11 |
import org.openqa.selenium.WebDriver; |
12 | 12 |
|
13 | 13 |
import eu.etaxonomy.dataportal.DataPortalContext; |
14 |
import eu.etaxonomy.dataportal.DataPortalSite; |
|
14 | 15 |
import eu.etaxonomy.dataportal.selenium.WebDriverFactory; |
15 | 16 |
|
16 | 17 |
/** |
... | ... | |
50 | 51 |
} |
51 | 52 |
|
52 | 53 |
/** |
53 |
* Return the {@link DataPortalContext#getBaseUri()} of the currently active
|
|
54 |
* Return the {@link DataPortalSite#getBaseUri()} of the currently active
|
|
54 | 55 |
* context as String |
55 | 56 |
* |
56 |
* @return string representatoin of the DataPortal base URI
|
|
57 |
* @return string representation of the DataPortal base URI
|
|
57 | 58 |
*/ |
58 | 59 |
public String getBaseUrl() { |
59 | 60 |
return context.getBaseUri().toString(); |
Also available in: Unified diff
ref #7347 refacoring of the dataportal test suite for more flexibility