Skip to content

Commit

Permalink
Add assertion of android library target version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vasil Chimev authored and Vasil Chimev committed Aug 24, 2015
1 parent e72e97d commit 49d6523
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/library_linux.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ def test_002_Library_Add_Android_ProjLib(self):

LibraryAdd(platform="android", libPath="QA-TestApps/external-lib/AndroidAppProject", path="TNS_App")
assert (CheckFilesExists("TNS_App", "library_add_ProjLib_1.1.0.txt"))


output = runAUT("cat TNS_App/lib/Android/AndroidAppProject/project.properties")
assert ("target=android-22" in output)
assert ("android.library=true" in output)

Build(platform="android", path="TNS_App")
assert (CheckFilesExists("TNS_App", "library_build_ProjLib_1.1.0.txt"))

Expand Down

0 comments on commit 49d6523

Please sign in to comment.