com.jayway.android.robotium.solo.Solo Java Examples
The following examples show how to use
com.jayway.android.robotium.solo.Solo.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CipherUtilsTestCase.java From android-utilset with Apache License 2.0 | 5 votes |
@Override protected void setUp() throws Exception { // TODO Auto-generated method stub super.setUp(); activity = getActivity(); solo = new Solo(getInstrumentation(), activity); }
Example #2
Source File: VolumeUpDownTestCase.java From android-utilset with Apache License 2.0 | 5 votes |
@Override protected void setUp() throws Exception { // TODO Auto-generated method stub super.setUp(); activity = getActivity(); solo = new Solo(getInstrumentation(), activity); volumeUpButton = (Button) activity.findViewById(R.id.volumeUpButton); volumeDownButton = (Button) activity.findViewById(R.id.volumeDownButton); }
Example #3
Source File: StringUtilsTestCase.java From android-utilset with Apache License 2.0 | 5 votes |
@Override protected void setUp() throws Exception { // TODO Auto-generated method stub super.setUp(); activity = getActivity(); solo = new Solo(getInstrumentation(), activity); }
Example #4
Source File: KeyboardUtilsTestCase.java From android-utilset with Apache License 2.0 | 5 votes |
@Override protected void setUp() throws Exception { // TODO Auto-generated method stub super.setUp(); activity = getActivity(); solo = new Solo(getInstrumentation(), activity); }
Example #5
Source File: NetworkListenerTestCase.java From android-utilset with Apache License 2.0 | 5 votes |
@Override protected void setUp() throws Exception { // TODO Auto-generated method stub super.setUp(); activity = getActivity(); solo = new Solo(getInstrumentation(), activity); }
Example #6
Source File: ScreenUtilsTestCase.java From android-utilset with Apache License 2.0 | 5 votes |
@Override protected void setUp() throws Exception { super.setUp(); activity = getActivity(); solo = new Solo(getInstrumentation(), activity); }
Example #7
Source File: ActivityMainTest.java From ploggy with GNU General Public License v3.0 | 5 votes |
@Override protected void setUp() throws Exception { super.setUp(); solo = new Solo(getInstrumentation(), getActivity()); setActivityInitialTouchMode(false); mInstr = this.getInstrumentation(); mActivity = getActivity(); mActionBar = mActivity.getActionBar(); }
Example #8
Source File: AEditText.java From robotium-sandwich with Apache License 2.0 | 5 votes |
@Override public void enterTextAndSendEnter(String text) { enterText(text); SandwichLog.d("Sending enter key"); SoloFactory.getSolo().sendKey(Solo.ENTER); }
Example #9
Source File: RobotiumSampleActivityTest.java From android-opensource-library-56 with Apache License 2.0 | 4 votes |
public void setUp() { solo = new Solo(getInstrumentation(), getActivity()); }
Example #10
Source File: ExampleTest.java From android-maven-example with MIT License | 4 votes |
public void setUp() throws Exception { solo = new Solo(getInstrumentation(), getActivity()); }
Example #11
Source File: DemoUnitTest.java From androidtestdebug with MIT License | 4 votes |
public void setUp() throws Exception { _solo = new Solo(this.getInstrumentation(), this.getActivity()); }
Example #12
Source File: SampleTest.java From androidtestdebug with MIT License | 4 votes |
public void setUp() throws Exception { _solo = new Solo(this.getInstrumentation(), this.getActivity()); }
Example #13
Source File: MainActivityTest.java From continuous-audiorecorder with BSD 2-Clause "Simplified" License | 4 votes |
@Override protected void setUp() throws Exception { super.setUp(); solo = new Solo(getInstrumentation(), getActivity()); }
Example #14
Source File: SoloFactory.java From robotium-sandwich with Apache License 2.0 | 2 votes |
/** * Gets the solo. * * @return the solo */ public static Solo getSolo(){ return mSolo; }
Example #15
Source File: SoloFactory.java From robotium-sandwich with Apache License 2.0 | 2 votes |
/** * Creates a new Solo object. * * @param instrumentation the instrumentation * @return the solo */ public static Solo createSolo(Instrumentation instrumentation){ mSolo = new Solo(instrumentation); mInstrumentation = instrumentation; return mSolo; }