Skip to content

Commit 279f3c4

Browse files
committed
Undo moving Wait to webdriven, but still keeping it deprecated
1 parent ecfbecb commit 279f3c4

File tree

11 files changed

+9
-126
lines changed

11 files changed

+9
-126
lines changed

java/client/src/com/thoughtworks/selenium/BUCK

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ java_library(name = 'api',
33
'CommandProcessor.java',
44
'Selenium.java',
55
'SeleniumException.java',
6+
'Wait.java',
67
],
78
visibility = ['PUBLIC'],
89
)

java/client/src/com/thoughtworks/selenium/Wait.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
*
3535
* @author Dan Fabulich
3636
*
37-
* @deprecated Moved to com.thoughtworks.selenium.webdriven
37+
* @deprecated The RC interface will be removed in Selenium 3.0. Please migrate to using WebDriver.
3838
*/
3939
@Deprecated
4040
public abstract class Wait {

java/client/src/com/thoughtworks/selenium/build.desc

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ java_library(name = "api",
33
"CommandProcessor.java",
44
"Selenium.java",
55
"SeleniumException.java",
6+
"Wait.java",
67
])
78

89
java_library(name = "selenium",

java/client/src/com/thoughtworks/selenium/webdriven/BUCK

-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ java_library(name = 'emulation-api',
5151
'ScriptMutator.java',
5252
'SeleneseCommand.java',
5353
'Timer.java',
54-
'Wait.java',
5554
'Windows.java',
5655
],
5756
deps = [

java/client/src/com/thoughtworks/selenium/webdriven/Wait.java

-118
This file was deleted.

java/client/src/com/thoughtworks/selenium/webdriven/build.desc

-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ java_library(name = "emulation-api",
4040
"SeleniumMutator.java",
4141
"Timer.java",
4242
"VariableDeclaration.java",
43-
"Wait.java",
4443
"Windows.java",
4544
],
4645
deps = [

java/client/src/com/thoughtworks/selenium/webdriven/commands/WaitForCondition.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
package com.thoughtworks.selenium.webdriven.commands;
1919

20-
import com.thoughtworks.selenium.webdriven.Wait;
20+
import com.thoughtworks.selenium.Wait;
2121
import com.thoughtworks.selenium.webdriven.ScriptMutator;
2222
import com.thoughtworks.selenium.webdriven.SeleneseCommand;
2323

java/client/src/com/thoughtworks/selenium/webdriven/commands/WaitForPageToLoad.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
import com.google.common.base.Throwables;
2020

21-
import com.thoughtworks.selenium.webdriven.Wait;
21+
import com.thoughtworks.selenium.Wait;
2222
import com.thoughtworks.selenium.webdriven.SeleneseCommand;
2323

2424
import org.openqa.selenium.By;

java/client/src/com/thoughtworks/selenium/webdriven/commands/WaitForPopup.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.thoughtworks.selenium.webdriven.commands;
1818

1919
import com.thoughtworks.selenium.SeleniumException;
20-
import com.thoughtworks.selenium.webdriven.Wait;
20+
import com.thoughtworks.selenium.Wait;
2121
import com.thoughtworks.selenium.webdriven.SeleneseCommand;
2222
import com.thoughtworks.selenium.webdriven.Windows;
2323

java/client/test/com/thoughtworks/selenium/WaitTest.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
import static org.junit.Assert.assertTrue;
2222
import static org.junit.Assert.fail;
2323

24-
import com.thoughtworks.selenium.webdriven.Wait;
25-
import com.thoughtworks.selenium.webdriven.Wait.WaitTimedOutException;
24+
import com.thoughtworks.selenium.Wait;
25+
import com.thoughtworks.selenium.Wait.WaitTimedOutException;
2626

2727
import org.junit.Before;
2828
import org.junit.Test;

java/client/test/com/thoughtworks/selenium/webdriven/WebDriverBackedSeleniumLargeTest.java

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import static org.junit.Assert.fail;
2121

2222
import com.thoughtworks.selenium.Selenium;
23+
import com.thoughtworks.selenium.Wait;
2324

2425
import org.junit.Before;
2526
import org.junit.Test;

0 commit comments

Comments
 (0)