Skip to content

Commit 40a5da5

Browse files
Vasil ChimevVasil Chimev
Vasil Chimev
authored and
Vasil Chimev
committed
1 parent ff4d31c commit 40a5da5

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

tests/deploy_linux.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,10 @@ def test_201_Deploy_Android_InsideProject(self):
6363
assert ("Project successfully built" in output)
6464
assert ("Successfully deployed on device with identifier" in output)
6565

66-
def test_210_Deploy_MissingPlatform(self):
66+
def test_210_Deploy_Android_PlatformNotAdded(self):
6767
CreateProject(projName="TNS_App")
6868
output = runAUT(tnsPath + " deploy android --path TNS_App --justlaunch")
6969
assert ("Copying template files..." in output)
70-
assert ("Updated project.properties" in output)
71-
assert ("Updated local.properties" in output)
7270
assert ("Project successfully created." in output)
7371

7472
assert ("Project successfully prepared" in output)

tests/deploy_osx.py

+14-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import unittest
22

33
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
56
from helpers.device import GivenRealDeviceRunning
67

78

@@ -35,4 +36,15 @@ def test_002_Deploy_iOS_Device(self):
3536
assert ("Project successfully prepared" in output)
3637
assert ("Project successfully built" in output)
3738
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

0 commit comments

Comments
 (0)