Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Tests: test-unit has loads of unrelated warning output #352

Closed
janpio opened this issue Jul 6, 2019 · 1 comment · Fixed by #367
Closed

Tests: test-unit has loads of unrelated warning output #352

janpio opened this issue Jul 6, 2019 · 1 comment · Fixed by #367
Milestone

Comments

@janpio
Copy link
Member

janpio commented Jul 6, 2019

When you run npm run test-unit you get loads of unrelated and distracting output:

> cordova-windows@7.1.0-dev test-unit E:\Projects\Cordova\cordova-windows
> jasmine

Started
...........................*.*.*............................Deployment completed successfully.
Deployment completed successfully.
Deployment completed successfully.
.Deployment completed successfully.
Deployment completed successfully.
Deployment completed successfully.
......................................................................................................................The following Capabilities were declared and are restricted:
        documentsLibrary
You will be unable to on-board your app to the public Windows Store with these capabilities and access rules permitting access to remote URIs.The following Capabilities were declared and are restricted:
        documentsLibrary
You will be unable to on-board your app to the public Windows Store with these capabilities and access rules permitting access to remote URIs.The following Capabilities were declared and are restricted:
        documentsLibrary
You will be unable to on-board your app to the public Windows Store with these capabilities and access rules permitting access to remote URIs....Access rules must begin with "https://", the following rule will be ignored: http://www.contoso.com
Access rules must begin with "https://", the following rule will be ignored: http://www.contoso.com
Access rules must begin with "https://", the following rule will be ignored: http://www.contoso.com
........The following image was skipped because it has an unsupported size (999x999): res/Windows/UnknownImage.png
The following image was skipped because it has an unsupported size (999x999): res/Windows/UnknownImage.png
The following image was skipped because it has an unsupported size (999x999): res/Windows/UnknownImage.png
.."res\Windows\splashscreen.png" file size exceeds the limit of 204800 bytes, skipping.
"res\Windows\splashscreen.png" file size exceeds the limit of 204800 bytes, skipping.
"res\Windows\splashscreen.png" file size exceeds the limit of 204800 bytes, skipping.
"res\Windows\splashscreen.scale-200.png" file size exceeds the limit of 204800 bytes, skipping.
"res\Windows\splashscreen.scale-200.png" file size exceeds the limit of 204800 bytes, skipping.
"res\Windows\splashscreen.scale-200.png" file size exceeds the limit of 204800 bytes, skipping.
"res\Windows\splashscreen.scale-400.png" file size exceeds the limit of 204800 bytes, skipping.
"res\Windows\splashscreen.scale-400.png" file size exceeds the limit of 204800 bytes, skipping.
"res\Windows\splashscreen.scale-400.png" file size exceeds the limit of 204800 bytes, skipping.
"res/Windows/splashscreen.scale-200.png" file size exceeds the limit of 204800 bytes, skipping.
"res/Windows/splashscreen.scale-200.png" file size exceeds the limit of 204800 bytes, skipping.
"res/Windows/splashscreen.scale-200.png" file size exceeds the limit of 204800 bytes, skipping.
"res/Windows/splashscreen.scale-400.png" file size exceeds the limit of 204800 bytes, skipping.
"res/Windows/splashscreen.scale-400.png" file size exceeds the limit of 204800 bytes, skipping.
"res/Windows/splashscreen.scale-400.png" file size exceeds the limit of 204800 bytes, skipping.
.".gif" extension is not supported, skipping. Supported image extensions are [".png",".jpg",".jpeg"]
".gif" extension is not supported, skipping. Supported image extensions are [".png",".jpg",".jpeg"]
".gif" extension is not supported, skipping. Supported image extensions are [".png",".jpg",".jpeg"]
".bmp" extension is not supported, skipping. Supported image extensions are [".png",".jpg",".jpeg"]
".bmp" extension is not supported, skipping. Supported image extensions are [".png",".jpg",".jpeg"]
".bmp" extension is not supported, skipping. Supported image extensions are [".png",".jpg",".jpeg"]
".tga" extension is not supported, skipping. Supported image extensions are [".png",".jpg",".jpeg"]
".tga" extension is not supported, skipping. Supported image extensions are [".png",".jpg",".jpeg"]
".tga" extension is not supported, skipping. Supported image extensions are [".png",".jpg",".jpeg"]
."SplashScreen" splash screens have mixed file extensions which is not supported. Some of the images will not be used.
"SplashScreen" splash screens have mixed file extensions which is not supported. Some of the images will not be used.
"SplashScreen" splash screens have mixed file extensions which is not supported. Some of the images will not be used.
"SplashScreenPhone" splash screens have mixed file extensions which is not supported. Some of the images will not be used.
"SplashScreenPhone" splash screens have mixed file extensions which is not supported. Some of the images will not be used.
"SplashScreenPhone" splash screens have mixed file extensions which is not supported. Some of the images will not be used.
......Deploying phone package to device:
testfile
Deploying phone package to device:
testfile
Deploying phone package to device:
testfile
.Deploying windows package to device:
testfile
Deploying windows package to device:
testfile
Deploying windows package to device:
testfile
.Deploying windows package to device:
undefined
Deploying windows package to device:
undefined
Deploying windows package to device:
undefined
.Deploying undefined package to device:
undefined
Deploying undefined package to device:
undefined
Deploying undefined package to device:
undefined
Deploying undefined package to device:
undefined
Deploying undefined package to device:
undefined
Deploying undefined package to device:
undefined
.Deploying undefined package to device:
undefined
Deploying undefined package to device:
undefined
Deploying undefined package to device:
undefined
.............

Pending:

1) run method spec.8 should fail buildProject if built with MSBuildTools version 4.0
  Temporarily disabled with xit


2) run method spec.10 should throw an error if windows-target-version has unsupported value
  Temporarily disabled with xit


3) run method spec.12 should throw an error if windows-phone-target-version has unsupported value
  Temporarily disabled with xit

217 specs, 0 failures, 3 pending specs
Finished in 11.912 seconds

Most of this could probably be avoided.

@janpio
Copy link
Member Author

janpio commented Jul 6, 2019

(It would be possible that this is actually output of what is being tested of course)

@janpio janpio added this to the cleanup milestone Jul 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant