File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change 8
8
9
9
class LiveSync_iOS (unittest .TestCase ):
10
10
11
+ # LiveSync Tests on Android Emulator
12
+
11
13
def setUp (self ):
12
14
13
15
print ""
Original file line number Diff line number Diff line change 4
4
from helpers ._os_lib import CleanupFolder , replace , catAppFile
5
5
from helpers ._tns_lib import androidRuntimePath , \
6
6
CreateProjectAndAddPlatform , LiveSync , Run
7
- from helpers .device import GivenRunningEmulator
7
+ from helpers .device import GivenRunningEmulator , StopEmulators
8
8
9
9
class LiveSync_Linux (unittest .TestCase ):
10
10
11
11
# LiveSync Tests on Android Emulator
12
12
13
+ @classmethod
14
+ def setUpClass (cls ):
15
+ super (LiveSync_Linux , cls ).setUpClass ()
16
+
13
17
def setUp (self ):
14
18
15
19
print ""
@@ -24,6 +28,11 @@ def setUp(self):
24
28
def tearDown (self ):
25
29
pass
26
30
31
+ @classmethod
32
+ def tearDownClass (cls ):
33
+ super (LiveSync_Linux , cls ).tearDownClass ()
34
+ StopEmulators ()
35
+
27
36
def test_001_LiveSync_Android_XmlFile (self ):
28
37
CreateProjectAndAddPlatform (projName = "TNS_App" , platform = "android" , frameworkPath = androidRuntimePath )
29
38
Run (platform = "android" , path = "TNS_App" )
You can’t perform that action at this time.
0 commit comments