Project

General

Profile

« Previous | Next » 

Revision 619e9df3

Added by Andreas Kohlbecker about 6 years ago

ref #7347 refacoring of the dataportal test suite for more flexibility

View differences:

src/main/java/eu/etaxonomy/dataportal/pages/PortalPage.java
30 30
import com.google.common.base.Function;
31 31

  
32 32
import eu.etaxonomy.dataportal.DataPortalContext;
33
import eu.etaxonomy.dataportal.DataPortalSite;
34 33
import eu.etaxonomy.dataportal.elements.BaseElement;
35 34
import eu.etaxonomy.dataportal.elements.ClassificationTreeBlock;
36 35
import eu.etaxonomy.dataportal.elements.LinkElement;
......
391 390
        Constructor<T> constructor;
392 391
        T pageInstance;
393 392
        try {
394
            constructor = pageType.getConstructor(WebDriver.class, DataPortalSite.class);
393
            constructor = pageType.getConstructor(WebDriver.class, DataPortalContext.class);
395 394
            pageInstance = constructor.newInstance(driver, context);
396 395
        } catch (Exception e) {
397 396
            throw new RuntimeException(e);

Also available in: Unified diff