Permalink
Browse files

update brazenhead to use robotium 5.0.1

  • Loading branch information...
leviwilson committed Jan 11, 2014
1 parent 24f5cb3 commit c0a954e5d7f7e5fa18f28040a415f6a6e1276b3d
View
@@ -3,14 +3,15 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
- <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
+ <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="lib" path="libs/jetty-6.1.26.jar"/>
<classpathentry kind="lib" path="libs/jetty-util-6.1.26.jar"/>
<classpathentry kind="lib" path="libs/servlet-api-2.5-20081211.jar"/>
<classpathentry kind="lib" path="libs/brazenhead-gson-2.2.2.jar"/>
- <classpathentry kind="lib" path="libs/robotium-solo-4.2.jar">
+ <classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
+ <classpathentry kind="lib" path="libs/robotium-solo-5.0.1.jar">
<attributes>
- <attribute name="javadoc_location" value="jar:platform:/resource/brazenhead/libs/robotium-solo-4.2-javadoc.jar!/"/>
+ <attribute name="javadoc_location" value="jar:platform:/resource/brazenhead/libs/robotium-solo-5.0.1-javadoc.jar!/"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="bin/classes"/>
View
@@ -95,7 +95,7 @@
<pathelement location="libs/servlet-api-2.5-20081211.jar" />
<pathelement location="libs/jetty-6.1.26.jar" />
<pathelement location="libs/jetty-util-6.1.26.jar" />
- <pathelement location="libs/robotium-solo-4.2.jar" />
+ <pathelement location="libs/robotium-solo-5.0.1.jar" />
<pathelement location="../units/libs/robolectric-1.2-SNAPSHOT-jar-with-dependencies.jar" />
<pathelement location="${out.test.dir}" />
<pathelement location="./bin/classes" />
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -8,10 +8,7 @@
import android.view.View;
import android.widget.Spinner;
-import com.jayway.android.robotium.solo.BrazenheadSleeper;
-import com.jayway.android.robotium.solo.By;
-import com.jayway.android.robotium.solo.Solo;
-import com.jayway.android.robotium.solo.WebElement;
+import com.robotium.solo.*;
public class Brazenhead {
@@ -4,8 +4,9 @@
import android.view.*;
import android.widget.*;
-import com.jayway.android.robotium.solo.*;
import com.leandog.brazenhead.exceptions.IsNotAListViewItem;
+import com.robotium.solo.BrazenheadSleeper;
+import com.robotium.solo.Solo;
public class ListItemFinder {
@@ -1,6 +1,6 @@
package com.leandog.brazenhead;
-import com.jayway.android.robotium.solo.Solo;
+import com.robotium.solo.Solo;
public class ListItemPresser {
@@ -4,7 +4,8 @@
import android.view.KeyEvent;
import android.widget.Spinner;
-import com.jayway.android.robotium.solo.*;
+import com.robotium.solo.BrazenheadSleeper;
+import com.robotium.solo.Solo;
public class SpinnerPresser {
@@ -1,8 +1,8 @@
package com.leandog.brazenhead;
-import android.os.Bundle;
+import com.robotium.solo.Solo;
-import com.jayway.android.robotium.solo.Solo;
+import android.os.Bundle;
public class TestRunInformation {
@@ -2,8 +2,8 @@
import android.test.ActivityInstrumentationTestCase2;
-import com.jayway.android.robotium.solo.Solo;
import com.leandog.brazenhead.server.JettyServer;
+import com.robotium.solo.Solo;
@SuppressWarnings("rawtypes")
public class TheTest extends ActivityInstrumentationTestCase2 {
@@ -1,4 +1,4 @@
-package com.jayway.android.robotium.solo;
+package com.robotium.solo;
public class BrazenheadSleeper extends Sleeper {
@@ -17,11 +17,11 @@
import android.widget.*;
import com.google.brazenhead.gson.Gson;
-import com.jayway.android.robotium.solo.Solo;
import com.leandog.brazenhead.commands.*;
import com.leandog.brazenhead.exceptions.CommandNotFoundException;
import com.leandog.brazenhead.json.ExceptionSerializer.ExceptionSummary;
import com.leandog.brazenhead.test.BrazenheadTestRunner;
+import com.robotium.solo.Solo;
@RunWith(BrazenheadTestRunner.class)
public class BrazenheadRequestHandlerTest {
@@ -21,9 +21,9 @@
import android.content.res.Resources;
import android.widget.Spinner;
-import com.jayway.android.robotium.solo.By;
-import com.jayway.android.robotium.solo.Solo;
import com.leandog.brazenhead.test.BrazenheadTestRunner;
+import com.robotium.solo.By;
+import com.robotium.solo.Solo;
@RunWith(BrazenheadTestRunner.class)
public class BrazenheadTest {
@@ -135,7 +135,7 @@ private void initMocks() {
}
private String by(final String how) {
- return String.format("com.jayway.android.robotium.solo.By$%s", how);
+ return String.format("com.robotium.solo.By$%s", how);
}
}
@@ -17,9 +17,10 @@
import android.view.*;
import android.widget.*;
-import com.jayway.android.robotium.solo.*;
import com.leandog.brazenhead.exceptions.IsNotAListViewItem;
import com.leandog.brazenhead.test.BrazenheadTestRunner;
+import com.robotium.solo.BrazenheadSleeper;
+import com.robotium.solo.Solo;
@RunWith(Enclosed.class)
public class ListItemFinderTest {
@@ -9,8 +9,8 @@
import android.view.View;
-import com.jayway.android.robotium.solo.Solo;
import com.leandog.brazenhead.test.BrazenheadTestRunner;
+import com.robotium.solo.Solo;
@RunWith(BrazenheadTestRunner.class)
public class ListItemPresserTest {
@@ -11,8 +11,9 @@
import android.view.KeyEvent;
import android.widget.Spinner;
-import com.jayway.android.robotium.solo.*;
import com.leandog.brazenhead.test.BrazenheadTestRunner;
+import com.robotium.solo.BrazenheadSleeper;
+import com.robotium.solo.Solo;
@RunWith(Enclosed.class)
public class SpinnerPresserTest {
@@ -11,8 +11,8 @@
import android.app.Activity;
import android.os.Bundle;
-import com.jayway.android.robotium.solo.Solo;
import com.leandog.brazenhead.test.BrazenheadTestRunner;
+import com.robotium.solo.Solo;
@RunWith(BrazenheadTestRunner.class)
public class TheTestTests {
@@ -9,9 +9,9 @@
import org.junit.*;
import org.mockito.*;
-import com.jayway.android.robotium.solo.Solo;
import com.leandog.brazenhead.*;
import com.leandog.brazenhead.commands.Command.Target;
+import com.robotium.solo.Solo;
public class CommandRunnerTest {

0 comments on commit c0a954e

Please sign in to comment.