File tree 2 files changed +15
-5
lines changed
2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -63,12 +63,10 @@ def test_201_Deploy_Android_InsideProject(self):
63
63
assert ("Project successfully built" in output )
64
64
assert ("Successfully deployed on device with identifier" in output )
65
65
66
- def test_210_Deploy_MissingPlatform (self ):
66
+ def test_210_Deploy_Android_PlatformNotAdded (self ):
67
67
CreateProject (projName = "TNS_App" )
68
68
output = runAUT (tnsPath + " deploy android --path TNS_App --justlaunch" )
69
69
assert ("Copying template files..." in output )
70
- assert ("Updated project.properties" in output )
71
- assert ("Updated local.properties" in output )
72
70
assert ("Project successfully created." in output )
73
71
74
72
assert ("Project successfully prepared" in output )
Original file line number Diff line number Diff line change 1
1
import unittest
2
2
3
3
from helpers ._os_lib import CleanupFolder , runAUT
4
- from helpers ._tns_lib import CreateProjectAndAddPlatform , iosRuntimeSymlinkPath , tnsPath
4
+ from helpers ._tns_lib import CreateProject , CreateProjectAndAddPlatform , \
5
+ iosRuntimeSymlinkPath , tnsPath
5
6
from helpers .device import GivenRealDeviceRunning
6
7
7
8
@@ -35,4 +36,15 @@ def test_002_Deploy_iOS_Device(self):
35
36
assert ("Project successfully prepared" in output )
36
37
assert ("Project successfully built" in output )
37
38
assert ("Successfully deployed on device" in output )
38
- #TODO: Get device id and verify files are deployed and process is running on this device
39
+ #TODO: Get device id and verify files are deployed and process is running on this device
40
+
41
+ def test_210_Deploy_iOS_PlatformNotAdded (self ):
42
+ CreateProject (projName = "TNS_App" )
43
+ output = runAUT (tnsPath + " deploy ios --path TNS_App --justlaunch" )
44
+ assert ("Copying template files..." in output )
45
+ assert ("Project successfully created." in output )
46
+
47
+ assert ("Project successfully prepared" in output )
48
+ assert ("Project successfully built" in output )
49
+ assert ("Successfully deployed on device" in output )
50
+ #TODO: Get device id and verify files are deployed and process is running on this device
You can’t perform that action at this time.
0 commit comments