Skip to content

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

Merged
merged 1 commit into from
Jun 12, 2018

Conversation

miroslavaivanova
Copy link
Contributor

@miroslavaivanova miroslavaivanova commented Jun 7, 2018

Unable to generate icons when the Contents.json is not generated by Xcode.

Test for NativeScript/nativescript-cli#3666

Copy link
Contributor

@dtopuzov dtopuzov left a 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
Copy link
Contributor

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')
Copy link
Contributor

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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PEP8: Unused import.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants