Skip to content

Add path expansion for files capability#128

Merged
skyline-gleb merged 1 commit intomasterfrom
deploy-files
Jan 12, 2016
Merged

Add path expansion for files capability#128
skyline-gleb merged 1 commit intomasterfrom
deploy-files

Conversation

@NickAb
Copy link
Copy Markdown
Contributor

@NickAb NickAb commented Dec 29, 2015

files capability now support sending contents of directories, not only files

Usage examples:

"D:\\preinstalled\\": "",
"D:\\preinstalled\\": "downloads",
"D:\\preinstalled\\settings.xml": "data\\",
"D:\\preinstalled\\settings.xml": "data"

Fixes #125

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.

кажется phonePath не может быть null когда речь о файле, но может быть когда речь шла о папке. Ошибка может быть не понятна на фоне всего словаря в capability. Можно же уточнить ошибку информацией из fileInfo?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Оно никогда не может быть null, т.к. там пустая строка возвращается, если передать только папку. Там null только если на вход подать null

`files` capability now support sending contents of directories, not only files

Usage examples:
"D:\\preinstalled\\": "",
"D:\\preinstalled\\": "downloads",
"D:\\preinstalled\\settings.xml": "data\\",
"D:\\preinstalled\\settings.xml": "data"
@NickAb
Copy link
Copy Markdown
Contributor Author

NickAb commented Dec 30, 2015

@skyline-gleb пачка тесов упала из-за того, что они в одной сессии, которая не смогла подклчиться к приложению из-за того, что хост машина была под высокой нагрузкой от проверок Чапаева

@NickAb NickAb closed this Dec 30, 2015
@NickAb NickAb reopened this Dec 30, 2015
@NickAb NickAb closed this Dec 30, 2015
@NickAb NickAb reopened this Dec 30, 2015
@NickAb NickAb closed this Dec 30, 2015
@NickAb NickAb reopened this Dec 30, 2015
@NickAb NickAb closed this Jan 11, 2016
@NickAb NickAb reopened this Jan 11, 2016
skyline-gleb added a commit that referenced this pull request Jan 12, 2016
Add path expansion for files capability
@skyline-gleb skyline-gleb merged commit 1b34741 into master Jan 12, 2016
@skyline-gleb skyline-gleb deleted the deploy-files branch January 12, 2016 05:29
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