From 4607b7d8f29777e3394fe635c1799e6c428a22cf Mon Sep 17 00:00:00 2001 From: Vasil Chimev Date: Wed, 30 Sep 2015 18:24:45 +0300 Subject: [PATCH] Update a test to cover Run->LiveSync->Run workflow on an android device with API level 21. --- tests/livesync_android.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tests/livesync_android.py b/tests/livesync_android.py index 06d0ac51..6a64bafe 100644 --- a/tests/livesync_android.py +++ b/tests/livesync_android.py @@ -15,11 +15,11 @@ class LiveSync_Android(unittest.TestCase): def setUpClass(cls): StopEmulators() StopSimulators() - + CleanupFolder('./TNS_App') CreateProjectAndAddPlatform(projName="TNS_App", platform="android", frameworkPath=androidRuntimePath) Run(platform="android", path="TNS_App") - + def setUp(self): print "" @@ -52,6 +52,7 @@ def test_001_LiveSync_Android_XmlJsCss_Files(self): output = catAppFile("android", "TNSApp", "app/app.css") assert ("font-size: 20;" in output) + # This tests the Run -> LiveSync -> Run workflow on an android device with API level 21. def test_002_LiveSync_Android_Device_XmlFile(self): replace("TNS_App/app/main-page.xml", "TAP", "TEST") @@ -60,6 +61,12 @@ def test_002_LiveSync_Android_Device_XmlFile(self): output = catAppFile("android", "TNSApp", "app/main-page.xml") assert ("