Skip to content

add test form resource generate icon which not generate by xcode - #140

Merged
miroslavaivanova merged 1 commit into
masterfrom
mivanova/generateIcons
Jun 12, 2018
Merged

miroslavaivanova merged 1 commit into
masterfrom
mivanova/generateIcons

Conversation

@miroslavaivanova

@miroslavaivanova miroslavaivanova commented Jun 7, 2018 •

Copy link
Copy Markdown
Contributor

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

Test for NativeScript/nativescript-cli#3666

@dtopuzov dtopuzov left a comment

Copy link
Copy Markdown
Contributor

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.

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
Copy Markdown
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
Copy Markdown
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

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
Copy Markdown
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