Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e90a88c

Browse files
author
Miroslava Ivanova
committedOct 26, 2018
add test compile with sdk 27
1 parent f8a3384 commit e90a88c

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed
 

‎tests/build/android/build_android_tests.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,13 +222,22 @@ def test_301_build_project_with_space_release(self):
222222
self.app_name_space + "/" + TnsAsserts.PLATFORM_ANDROID_SRC_MAIN_PATH + "AndroidManifest.xml")
223223
assert app_identifier in output.lower()
224224

225-
def test_310_build_android_with_custom_compile_sdk(self):
225+
def test_310_build_android_with_custom_compile_sdk_new(self):
226226
# This is required when build with different SDK
227227
Folder.cleanup(self.app_name)
228228
Tns.create_app(self.app_name)
229229
Tns.platform_add_android(attributes={"--path": self.app_name, "--frameworkPath": ANDROID_PACKAGE})
230230
Tns.build_android(attributes={"--compileSdk": "28", "--path": self.app_name})
231231

232+
@unittest.skip("https://github.com/NativeScript/nativescript-cli/issues/4052")
233+
def test_311_build_android_with_custom_compile_sdk_old(self):
234+
#https://github.com/NativeScript/nativescript-cli/issues/4052
235+
# This is required when build with different SDK
236+
Folder.cleanup(self.app_name)
237+
Tns.create_app(self.app_name)
238+
Tns.platform_add_android(attributes={"--path": self.app_name, "--frameworkPath": ANDROID_PACKAGE})
239+
Tns.build_android(attributes={"--compileSdk": "27", "--path": self.app_name})
240+
232241
def test_313_build_android_with_invalid_compile_sdk(self):
233242
# This is required when build with different SDK
234243
Folder.cleanup(self.app_name)

0 commit comments

Comments
 (0)
Please sign in to comment.