Shazron Abdullah created CB-11424:
-------------------------------------
Summary: AppVeyor test failures (path separator) on cordova-ios
platform
Key: CB-11424
URL: https://issues.apache.org/jira/browse/CB-11424
Project: Apache Cordova
Issue Type: Bug
Components: iOS
Environment: iOS, AppVeyor
Reporter: Shazron Abdullah
Assignee: Shazron Abdullah
{code}
Failures:
1) prepare updateWww method should update project-level www and with platform
agnostic www and merges
Message:
Expected spy mergeAndUpdateDir to have been called with [ [ 'www',
'platforms/ios/platform_www', 'merges/ios' ], 'platforms/ios/www', { rootDir :
'C:\Users\appveyor\AppData\Local\Temp\1\prepare' }, Function ] but actual calls
were [ [ 'www', 'platforms\ios\platform_www', 'merges\ios' ],
'platforms\ios\www', { rootDir :
'C:\Users\appveyor\AppData\Local\Temp\1\prepare' }, Function ]
Stacktrace:
Error: Expected spy mergeAndUpdateDir to have been called with [ [ 'www',
'platforms/ios/platform_www', 'merges/ios' ], 'platforms/ios/www', { rootDir :
'C:\Users\appveyor\AppData\Local\Temp\1\prepare' }, Function ] but actual calls
were [ [ 'www', 'platforms\ios\platform_www', 'merges\ios' ],
'platforms\ios\www', { rootDir :
'C:\Users\appveyor\AppData\Local\Temp\1\prepare' }, Function ]
at .<anonymous>
(C:\projects\cordova-ios\tests\spec\unit\prepare.spec.js:424:51)
at tryOnTimeout (timers.js:224:11)
at Timer.listOnTimeout (timers.js:198:5)
2) prepare updateWww method should skip merges if merges directory does not
exist
Message:
Expected spy mergeAndUpdateDir to have been called with [ [ 'www',
'platforms/ios/platform_www' ], 'platforms/ios/www', { rootDir :
'C:\Users\appveyor\AppData\Local\Temp\1\prepare' }, Function ] but actual calls
were [ [ 'www', 'platforms\ios\platform_www' ], 'platforms\ios\www', { rootDir
: 'C:\Users\appveyor\AppData\Local\Temp\1\prepare' }, Function ]
Stacktrace:
Error: Expected spy mergeAndUpdateDir to have been called with [ [ 'www',
'platforms/ios/platform_www' ], 'platforms/ios/www', { rootDir :
'C:\Users\appveyor\AppData\Local\Temp\1\prepare' }, Function ] but actual calls
were [ [ 'www', 'platforms\ios\platform_www' ], 'platforms\ios\www', { rootDir
: 'C:\Users\appveyor\AppData\Local\Temp\1\prepare' }, Function ]
at .<anonymous>
(C:\projects\cordova-ios\tests\spec\unit\prepare.spec.js:434:51)
at tryOnTimeout (timers.js:224:11)
at Timer.listOnTimeout (timers.js:198:5)
{code}
Expected has paths with forward slashes (Windows) but actual has paths with
backslashes.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]