Project

General

Profile

« Previous | Next » 

Revision f64f32be

Added by Andreas Müller over 1 year ago

ref #10072 adapt dataportal to log4j2

View differences:

src/main/java/eu/etaxonomy/dataportal/pages/RegistrationPage.java
12 12
import java.net.MalformedURLException;
13 13
import java.util.Collections;
14 14

  
15
import org.apache.log4j.Logger;
16 15
import org.openqa.selenium.WebDriver;
17 16
import org.openqa.selenium.WebElement;
18 17
import org.openqa.selenium.support.CacheLookup;
......
24 23
/**
25 24
 * @author a.kohlbecker
26 25
 * @since Feb 4, 2019
27
 *
28 26
 */
29 27
public class RegistrationPage extends PortalPage {
30 28

  
31

  
32
    public static final Logger logger = Logger.getLogger(TaxonProfilePage.class);
33

  
34 29
    protected static String drupalPagePathBase = "cdm_dataportal/registration";
35 30

  
36

  
37 31
    @FindBy(id = "registration")
38 32
    @CacheLookup
39 33
    private WebElement registrationElement;
......
49 43
        super(driver, context);
50 44
    }
51 45

  
52

  
53 46
    public RegistrationPage(WebDriver driver, DataPortalContext context, String httpID) throws MalformedURLException, UnsupportedEncodingException {
54 47
        super(driver, context, null, Collections.singletonMap("identifier", httpID));
55 48
    }
56 49

  
57
    /**
58
     * {@inheritDoc}
59
     */
60 50
    @Override
61 51
    protected String getDrupalPageBase() {
62 52
        return drupalPagePathBase;
63 53
    }
64 54

  
65
    /**
66
     * @return the registrationItem
67
     */
68 55
    public RegistrationItemFull getRegistrationItem() {
69 56

  
70 57
        if(registrationItem == null){
......
72 59
        }
73 60
        return registrationItem;
74 61
    }
75

  
76

  
77

  
78

  
79

  
80

  
81

  
82
}
62
}

Also available in: Unified diff