The IntegrationTest for Connect-SDK-Android-API-Sampler App contains a set of automatic test for checking all features via UI in the same way like users do it.
##General Information For more information about Connect SDK, visit the main repository. For more information about Connect SDK Sampler App for Android, visit the Sampler main repository.
##Dependencies
- robotium-solo-5.2.1 library
- Connect SDK Sampler App for Android
- Connect SDK Sampler App for Android
- A Mobile Device say Nexus 5 with latest Connect-SDK-Android-API-Sampler.apk installed must be connected.
- A TV which supports following services must be connected via same Wifi network as the mobile device and TV(s) must support the services like AirPlay, DLNA, DIAL, WebOs TV atleast.
##Setup and run from Eclipse
-
Download the Connect SDK Sampler App for Android project
-
git clone https://github.com/ConnectSDK/Connect-SDK-Android-API-Sampler.git
-
Go to Eclipse Menu -> File -> Import -> (Android) Existing Android Code
-
Open project properties and make sure that java compiler has version 1.6
-
For detail instruction on Sampler App setup follow the
-
Once the Sampler App is downloaded and setup is done.
-
Follow the below instructions to download and setup the Integretaion Test project.
-
Download the Connect-SDK-Android-IntegrationTest project
-
git clone https://github.com/ConnectSDK/Connect-SDK-Android-IntegrationTest.git
-
Go to Eclipse Menu -> File -> Import -> (Android) Existing Android Code into workspace
-
Open project properties and make sure that java compiler has version 1.6
-
Open project properties -> Java Build Path -> Projects and add a reference to Connect-SDK-Android-API-Sampler project
-
Open project properties -> Java Build Path -> Libraries and add all jars from libs folder
-
Run as Android JUnit Test
##License Copyright (c) 2015 LG Electronics.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.