1   package com.atlassian.selenium.mock;
2   
3   import com.atlassian.selenium.SeleniumConfiguration;
4   
5   /**
6    * Mock {@link com.atlassian.selenium.SeleniumConfiguration}.
7    *
8    * @since v1.21
9    */
10  public class MockSeleniumConfiguration implements SeleniumConfiguration
11  {
12      private long conditionEvalInterval = 100;
13  
14      public MockSeleniumConfiguration conditionInterval(long interval)
15      {
16          this.conditionEvalInterval = interval;
17          return this;
18      }
19  
20      public String getServerLocation()
21      {
22          return null;
23      }
24  
25      public int getServerPort()
26      {
27          return 0;
28      }
29  
30      public String getBrowserStartString()
31      {
32          return null;
33      }
34  
35      public String getFirefoxProfileTemplate()
36      {
37          return null;
38      }
39  
40      public String getBaseUrl()
41      {
42          return null;
43      }
44  
45      public boolean getStartSeleniumServer()
46      {
47          return false;
48      }
49  
50      public long getActionWait()
51      {
52          return 500;
53      }
54  
55      public long getPageLoadWait()
56      {
57          return 40000;
58      }
59  
60      public long getConditionCheckInterval()
61      {
62          return conditionEvalInterval;
63      }
64  
65      public boolean getSingleWindowMode()
66      {
67          return false;
68      }
69  
70      public String getPerformanceReportLocation() {
71          return null;
72      }
73  
74      public boolean getShowAutoGeneratedPerformanceEvents() {
75          return false;
76      }
77  }