aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2017-02-17Delete io/appium/droiddriver/runner/TestRunner.javaandroid-vts-8.0_r9android-vts-8.0_r8android-vts-8.0_r7android-vts-8.0_r6android-vts-8.0_r2android-vts-8.0_r13android-vts-8.0_r12android-vts-8.0_r11android-vts-8.0_r10android-vts-8.0_r1android-security-8.0.0_r54android-security-8.0.0_r53android-security-8.0.0_r52android-cts-8.0_r9android-cts-8.0_r8android-cts-8.0_r7android-cts-8.0_r6android-cts-8.0_r5android-cts-8.0_r4android-cts-8.0_r3android-cts-8.0_r26android-cts-8.0_r25android-cts-8.0_r24android-cts-8.0_r23android-cts-8.0_r22android-cts-8.0_r21android-cts-8.0_r20android-cts-8.0_r2android-cts-8.0_r19android-cts-8.0_r18android-cts-8.0_r17android-cts-8.0_r16android-cts-8.0_r15android-cts-8.0_r14android-cts-8.0_r13android-cts-8.0_r12android-cts-8.0_r11android-cts-8.0_r10android-cts-8.0_r1android-8.0.0_r9android-8.0.0_r7android-8.0.0_r51android-8.0.0_r50android-8.0.0_r49android-8.0.0_r48android-8.0.0_r47android-8.0.0_r46android-8.0.0_r45android-8.0.0_r44android-8.0.0_r43android-8.0.0_r42android-8.0.0_r41android-8.0.0_r40android-8.0.0_r4android-8.0.0_r39android-8.0.0_r38android-8.0.0_r37android-8.0.0_r36android-8.0.0_r35android-8.0.0_r34android-8.0.0_r33android-8.0.0_r32android-8.0.0_r31android-8.0.0_r30android-8.0.0_r3android-8.0.0_r29android-8.0.0_r28android-8.0.0_r27android-8.0.0_r26android-8.0.0_r25android-8.0.0_r24android-8.0.0_r23android-8.0.0_r22android-8.0.0_r21android-8.0.0_r2android-8.0.0_r17android-8.0.0_r16android-8.0.0_r15android-8.0.0_r13android-8.0.0_r12android-8.0.0_r11android-8.0.0_r10android-8.0.0_r1security-oc-releaseoreo-vts-releaseoreo-security-releaseoreo-releaseoreo-r6-releaseoreo-r5-releaseoreo-r4-releaseoreo-r3-releaseoreo-r2-releaseoreo-dr3-releaseoreo-dr2-releaseoreo-dr1-releaseoreo-dr1-devoreo-devoreo-cts-releasekjin
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=147038734
2017-02-17Deprecate custom io.appium.droiddriver.runner.TestRunnerkjin
Use standard android.support.test.runner.AndroidJUnitRunner ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=144844143
2017-02-17Fix setText incomplete problem when the IME is slowkjin
The fix is to add delay after each KeyEvent injection. Also removed the misleading ViewElement#overrideClassName method. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=138252579
2017-02-17Rigorously check TextAction's injectionkjin
This makes it consistent with SingleKeyAction ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=137522932
2017-02-17Check running activity again on main thread during findRootViewkjin
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=136169242
2017-02-17Revert accidental change to BaseUiDevice.wakeUp in ag/I2b847fdakjin
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=135832983
2017-02-17Fix IdentityBinaryExpression in AccessibilityClickAction.bmolynea
http://[] ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=132006841
2016-03-15Fix AS Inspection warningsKevin Jin
Organize imports Change-Id: I59e545c0020a3d488917c54107e114604a749699
2016-03-09Fix code for more restrictive compiler [options]kjin
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=116809572
2016-02-16Added DuoDriver.Eric Fitchett
Automatically uses the most appropriate DroidDriver implementation. Uses InstrumentationDriver for activities owned by the application under instrumentation. Uses UiAutomationDriver for all others. Change-Id: Iea232a8c3ef590d170fd2ca47c78f515fe0ec57c
2015-03-13Add CloseKeyboardAction for InstrumentationDriverKevin Jin
Change-Id: I10c0d9cd8c88ccf88f1798a9b0daf7cc8ed796ad
2015-03-06runOnMainSync on a single threadKevin Jin
Add DroidDriverException.propagate Change-Id: I7bdcbe1642b4448cc40a06995950573ebd890b4f
2015-03-05Add InstrumentationUtilsKevin Jin
Move runOnMainSyncWithTimeout to InstrumentationUtils Add By.resourceId(int) since InstrumentationUtils should always be available Change-Id: I8e4683030583b88c3e2b777d0b80b5a2f310e279
2015-03-04Add droiddriver-android_support_testKevin Jin
This otional library integrates droiddriver with android_support_test Change-Id: Ic30f32b2aa1b80bf08438d0fa5f5ecccab326cad
2015-02-26Add UiAutomationDrive.setIdleTimeoutMillis()Kevin Jin
Change-Id: I4951fe35d7d3948e0c4e2f735ce973cce9e97c16
2015-02-20rename package 'com.google.android' to 'io.appium'Kevin Jin
Change-Id: I2c7c96cd6a6971806e2ea7b06cd6c2c6666e4340
2015-02-19Change minSdkVersion to 8Kevin Jin
Guard access to newer API. Ideally we should have lint check the usage of our API in user code. E.g. the users specify minSdkVersion of their app to a value lower than 11, but use SingleKeyAction.CTRL_MOVE_HOME. It should be a feature of the Android lint, as described in http://stackoverflow.com/questions/14066857/sdk-version-required-annotation We may write our own lint extension, but it's hard to get it into users' workflow. Change-Id: I8efe88475646530dd8c90ccf443fb3ee9b62c900
2015-02-19Fix 2 lint warningsKevin Jin
Change-Id: I9c0d9bdf2c2109cff1cb62aab5b3e4df33cb1bcd
2015-02-18Fix the remaining JavaDoc warningsKevin Jin
We should have a consistent style for JavaDoc, i.e. @param for all parameters of a method, or none. And a consistent format. I used "Reformat code" from Android Studio on some files I touched in this cl. Now the consistency is only on a per-file basis. We may apply it incrementally. Change-Id: Icfe2ef223d93e78e42b400a1dd2b50a0ef19a13a
2015-02-19Fix javadoc errorsbootstraponline
Change-Id: Id5e3801082bfa635ca31b41ebcb97469e3ff9fe7
2015-02-17Add doc for UI test framework design principlesKevin Jin
Change-Id: I5b5bcbc46ef0d0540b871508d4803be6acf01740
2015-02-17Add SingleRun, a safer mechanism than classSetUpKevin Jin
Change-Id: If7c8f42d9fbbfb012783d12587fbbfc8d0b01729
2015-02-13Support reportSkippedAsFailedKevin Jin
Change-Id: Ic67a33f7453336b7a8165223892900334a603145
2015-02-13Better message for ActivityUtils.setRunningActivitySupplierKevin Jin
Allow running activity to be null when AUT is not on top. Change version to 0.9.1. Change-Id: I1573ca75611520607ea9f513f952db8dfe0d8da8
2015-02-11Generate JavaDoc and source jarKevin Jin
Add the install task to publish to local M2 repository Change-Id: I1fd51172128ce617929d531f8aac7c757a724edc
2015-02-10Build droiddriver as an Android library with GradleKevin Jin
Update minSdkVersion to 12 Add @TargetApi appropriatedly to fix lint errors Remove Eclipse files Change-Id: I661d3fd0e8b2517ae9ee4ba1e489031a8846130d
2015-01-08Use ArrayList in InstrumentationDriver, the api has changed in KITKAT.droiddriver-0.9Karl Blass
Change-Id: I456ae30e58c256d0c67f814d67a2b5bd200d5cf3
2014-11-03Revert "Revert "fix setText and remove replaceText""Eric Fitchett
This reverts commit ddb7de5a83288bff8e682f08f4b4aa900e335965. The prerequisite for this change has now been checked in as ag/579532 Change-Id: I62f19b235ab62e0cd37d9fdcc0e90f8167eac519
2014-11-02Revert "fix setText and remove replaceText"Nick Kralevich
not all callers were updated. Master doesn't compile right now. This reverts commit b8c4f2e950ab8132196dd644d7cfc892f75a8441. Change-Id: I4e4ecad28af56e99f4429d2bf118620cef54e734
2014-10-30fix setText and remove replaceTextKevin Jin
setText was a misleading method because it did not clear existing text, which was implied by the name. This change first puts the UiElement in focus, then clears existing text, finally sets the new text. This change is not backward compatible in many cases, so please modify your client code then we can coordinate to submit at the same time. Change-Id: I3a959301734db9075a768b1d63019af8320dc89b
2014-10-09Fix NullPointerException in replaceText when emptyEric Fitchett
Bug: 17933233 Change-Id: Ie64097f8f314eeb7ef9cdf3a874d416995f8ade8
2014-09-18Add replaceText function in UiElementJiangnan Shangguan
This function will delete the current text of the element and then call setText Change-Id: I2f97809a54e60bc4448246b8c050792168358147
2014-07-28log DroidDriver.find and Events.touchMove at VERBOSE levelKevin Jin
set API version to 19 instead of current Change-Id: I526cd3c16c37faeed1c4d400d887b2bd9edf0b9f
2014-07-02match DefaultAccessibilityValidator to TalkBack behaviorandroid-cts-5.1_r9android-cts-5.1_r8android-cts-5.1_r7android-cts-5.1_r6android-cts-5.1_r5android-cts-5.1_r4android-cts-5.1_r3android-cts-5.1_r28android-cts-5.1_r27android-cts-5.1_r26android-cts-5.1_r25android-cts-5.1_r24android-cts-5.1_r23android-cts-5.1_r22android-cts-5.1_r21android-cts-5.1_r20android-cts-5.1_r2android-cts-5.1_r19android-cts-5.1_r18android-cts-5.1_r17android-cts-5.1_r16android-cts-5.1_r15android-cts-5.1_r14android-cts-5.1_r13android-cts-5.1_r10android-cts-5.1_r1android-cts-5.0_r9android-cts-5.0_r8android-cts-5.0_r7android-cts-5.0_r6android-cts-5.0_r5android-cts-5.0_r4android-cts-5.0_r3android-5.1.1_r9android-5.1.1_r8android-5.1.1_r7android-5.1.1_r6android-5.1.1_r5android-5.1.1_r4android-5.1.1_r38android-5.1.1_r37android-5.1.1_r36android-5.1.1_r35android-5.1.1_r34android-5.1.1_r33android-5.1.1_r30android-5.1.1_r3android-5.1.1_r29android-5.1.1_r28android-5.1.1_r26android-5.1.1_r25android-5.1.1_r24android-5.1.1_r23android-5.1.1_r22android-5.1.1_r20android-5.1.1_r2android-5.1.1_r19android-5.1.1_r18android-5.1.1_r17android-5.1.1_r16android-5.1.1_r15android-5.1.1_r14android-5.1.1_r13android-5.1.1_r12android-5.1.1_r10android-5.1.1_r1android-5.1.0_r5android-5.1.0_r4android-5.1.0_r3android-5.1.0_r1android-5.0.2_r3android-5.0.2_r1android-5.0.1_r1android-5.0.0_r7android-5.0.0_r6android-5.0.0_r5.1android-5.0.0_r5android-5.0.0_r4android-5.0.0_r3android-5.0.0_r2android-5.0.0_r1lollipop-releaselollipop-mr1-wfc-releaselollipop-mr1-releaselollipop-mr1-fi-releaselollipop-mr1-devlollipop-mr1-cts-releaselollipop-devlollipop-cts-releaseKevin Jin
Change-Id: I6c9659336b07e4a74e3435f55c9b40ce4b4fd043
2014-06-27add validators for exmpted classes and scroll actionKevin Jin
Change-Id: Iad22351b46df771e7a9f92edb9d84df44b5fe572
2014-06-25Clean up some toString methodsKevin Jin
fix DefaultAccessibilityValidator remove dead/wrong code in StepBasedScroller Change-Id: I2b847fda53e759f4eada975791fd45b7b22847a8
2014-06-16expose setAccessibilityNodeInfoCacheClearerKevin Jin
Change-Id: I39780422d66133738978b028252c960765490623
2014-06-12add Validator interface and DefaultAccessibilityValidatorKevin Jin
refactor for cleaner implementation Change-Id: I6ba13c5a46e444806f492bc7de365405fecae0d5
2014-06-05add AccessibilityDriver for testing AccessibilityKevin Jin
This is the first cut with known issues, e.g. needs to handle click on EditText differently, etc. Thic cl sets up the architecture of AccessibilityDriver; details will be filled in follow-up cls. Change-Id: I2881b28075eba478a5aad9d7e945b5d55e78da89
2014-05-16Roll back change to doScroll and add comment on why.Jake Slack
Change-Id: I3cbe232df929ca48bea81817a86782f9e1b684b4
2014-05-13Simplify scroll call in doScroll.Jake Slack
Change-Id: I0d64f9f5aaade6a14143d924a4357412fb5e3adf
2014-05-08add UiDevice.pressBack for convenienceKevin Jin
Change-Id: Ifafeda79d9569d853948ac254d34cec66f896232
2014-05-06fix BaseUiDevice.wakeUp when the root is invisibleKevin Jin
The old code called getRootElement().perform(POWER_ON). UiElement.perform() checks that the UiElement is visible. So wakeUp only worked when the root UiElement is launcher, which has the visible attribute even when the screen is off. The new implementation always works because we don't use the root now. Change-Id: I6edf9c9f8d0d112cff669ee2a04f123a30ec0b5e
2014-05-06change default scrollSteps to 55 and make it configurableKevin Jin
And the same for flingSteps Change-Id: Ie3f4aac798e078c526dacc02e3fe53060387e0d6
2014-04-23consolidate ByAttribute, MatchStrategy by PredicateKevin Jin
also simplified SentinelStrategy using Predicate. fix TestRunner when no activities are on back stack. remove deprecated UnrecoverableFailure since callers on old branches have been fixed. Change-Id: Ib9f59a6a0cd733eecec2e414588286f173628516
2014-04-21remove deps on GuavaKevin Jin
This is to simplify the build and deployment set-up for DroidDriver clients. Change-Id: I02238d8721d4d3a505a851138c40cb086d2ff11f
2014-04-04Merge "add selection-[start|end} attributes for TextView"Kevin Jin
2014-04-04add selection-[start|end} attributes for TextViewKevin Jin
Change-Id: I0fb7214437c450ffcccc7fb2ce94e32d7ec759dc
2014-04-04Resetting test state after a failed flaky test.Jake Slack
Currently, we do not tear down and re-setup a flaky test on the next attempt. This means, if part of the test puts the app in some state that is not expected at the beginning of the test, the test will fail. Change-Id: Ie1caeb9505c490536add60da88409b66b939c4cf
2014-04-01Always log uncaughtExceptionKevin Jin
This is needed when the uncaughtException occurs in InstrumentationTestRunner Change-Id: If62e43e5cba2d6a98722c9c5c82c5896f7dd4355