Skip to content

Commit bb0d0de

Browse files
author
Natalia-Hristova
committed
Skip more tests.
1 parent cf34c07 commit bb0d0de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/build/android/platform_android_tests.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def setUp(self):
3131
BaseClass.setUp(self)
3232
Tns.platform_remove(platform=Platform.ANDROID, attributes={"--path": self.app_name}, assert_success=False)
3333

34+
@unittest.skipIf(Java.version() != "1.8", "Run only if Java version is 8.")
3435
def test_100_platform_add_android(self):
3536
""" Default `tns platform add` command"""
3637
Tns.platform_add_android(attributes={"--path": self.app_name})
@@ -39,6 +40,7 @@ def test_110_platform_add_android_framework_path(self):
3940
""" Add platform from local package"""
4041
Tns.platform_add_android(attributes={"--path": self.app_name, "--frameworkPath": ANDROID_PACKAGE})
4142

43+
@unittest.skipIf(Java.version() != "1.8", "Run only if Java version is 8.")
4244
def test_120_platform_add_android_inside_project(self):
4345
""" Add platform inside project folder (not using --path)"""
4446
Folder.navigate_to(self.app_name)

0 commit comments

Comments
 (0)