-
-
Notifications
You must be signed in to change notification settings - Fork 5
add test form resource generate icon which not generate by xcode #140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approve after fixing PEP8 warning.
@@ -142,6 +143,22 @@ def test_002_tns_resources_generate_splashes(self): | |||
|
|||
ResourcesGenerateTests.check_splashes(app_resources_android, app_resources_ios) | |||
|
|||
def test_003_tns_resources_generate_icons_apetools(self): | |||
#https://github.com/NativeScript/nativescript-cli/issues/3666 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PEP8 require space between #
and https://github.com/NativeScript/nativescript-cli/issues/3666
'AppIcon.appiconset')) | ||
folder = os.path.join(TEST_RUN_HOME, "data", "images", "resources_generate", "apetool", | ||
"AppIcon.appiconset") | ||
destination = os.path.join(self.app_name, 'app', 'App_Resources', 'iOS', 'Assets.xcassets', 'AppIcon.appiconset') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PEP8: Line too long
@@ -6,6 +6,7 @@ | |||
from core.base_class.BaseClass import BaseClass | |||
from core.osutils.command import run | |||
from core.osutils.folder import Folder | |||
from core.osutils.file import File |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PEP8: Unused import.
Unable to generate icons when the Contents.json is not generated by Xcode.
Test for NativeScript/nativescript-cli#3666