BrightcoveOS/android-player-samples — pull request #52 by pajatopmr (2014-06-24 00:13:28+00:00)
Title: Fix Team City regression test breakage, take 2.

## Rationale:

Adding **uiautomator** resulted in breakage on Team City regression testing. The issue is that the BasicOnceUxSampleApp now runs UIAutomator tests rather than integration tests (which have been moved to the ANP build). But **uiatomator** now is driven by *Ant* rather than *Gradle* and attempting to use *Gradle* to run the **connectedCheck** task will result in compilation errors and a runtime exception. The fix is to disable the task by redefining it to be a no-op.

While the *Gradle* change worked in my local workspace it is not working on the Team City build server, and I have no clue why. Rather than embark on a maddening debug effort there is another way to easily solve the problem: move the **uiautomator** tests to a directory other than **src/androidTests/...**

## Changed files:

BasicOnceUxSampleApp/build.gradle
* Removed.

BasicOnceUxSampleApp/src/androidTest/java/com/brightcove/player/samples/onceux/basic/test/UiAutomatorTest.java -> BasicOnceUxSampleApp/src/uiTest/java/com/brightcove/player/samples/onceux/basic/test/UiAutomatorTest.java
* Renamed to get it out of the **connectedCheck** task path.

BasicOnceUxSampleApp/project.properties
* Change the source path to reflect the new **UiAutomatorTest** location.