Skip to content
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

Fix promise handling when removing multiple plugins #628

Merged
merged 2 commits into from
Jul 24, 2018

Conversation

raphinesse
Copy link
Contributor

What does this PR do?

Fix promise handling when removing multiple plugins.

What testing has been done on this change?

Ran existing automated tests. Wrote regression test.

Checklist

  • Added automated test coverage as appropriate for this change.

@raphinesse raphinesse merged commit c8cb3c5 into apache:master Jul 24, 2018
@raphinesse raphinesse deleted the fix-plugin-remove branch July 24, 2018 14:34
raphinesse added a commit to raphinesse/cordova-lib that referenced this pull request Jul 25, 2018
This commit does not drop any test cases. However, it fixes various bugs
in the existing expectations and often asserts stronger expectations
than the original tests.

Changes include:

- DRY code
- Improve formatting
- Reduce excessive comments
- Simplify platform list generation
- Wrap all tests in common describe to allow common setup/teardown
- Use a fresh tmpDir for every test to avoid caching issues
- Use fs-extra for setup/teardown
- FIX Wait for promise
- Properly set default timeout for the whole suite
- Don't symlink into fixtures
- Sane config file handling
- Remove event listeners on teardown
- Re-enable disabled test 005 that was fixed by apache#628
- Do not quote props when not needed
- Do not pass array when we only have scalar
- Nicer imports
- Save test platforms/plugins as constants
brodybits pushed a commit to brodybits/cordova-lib that referenced this pull request Aug 3, 2018
This commit does not drop any test cases. However, it fixes various bugs
in the existing expectations and often asserts stronger expectations
than the original tests.

Changes include:

- DRY code
- Improve formatting
- Reduce excessive comments
- Simplify platform list generation
- Wrap all tests in common describe to allow common setup/teardown
- Use a fresh tmpDir for every test to avoid caching issues
- Use fs-extra for setup/teardown
- FIX Wait for promise
- Properly set default timeout for the whole suite
- Don't symlink into fixtures
- Sane config file handling
- Remove event listeners on teardown
- Re-enable disabled test 005 that was fixed by apache#628
- Do not quote props when not needed
- Do not pass array when we only have scalar
- Nicer imports
- Save test platforms/plugins as constants
raphinesse added a commit to raphinesse/cordova-lib that referenced this pull request Aug 4, 2018
This commit does not drop any test cases. However, it fixes various bugs
in the existing expectations and often asserts stronger expectations
than the original tests.

Changes include:

- DRY code
- Improve formatting
- Reduce excessive comments
- Simplify platform list generation
- Wrap all tests in common describe to allow common setup/teardown
- Use a fresh tmpDir for every test to avoid caching issues
- Use fs-extra for setup/teardown
- FIX Wait for promise
- Properly set default timeout for the whole suite
- Don't symlink into fixtures
- Sane config file handling
- Remove event listeners on teardown
- Re-enable disabled test 005 that was fixed by apache#628
- Do not quote props when not needed
- Do not pass array when we only have scalar
- Nicer imports
- Save test platforms/plugins as constants
raphinesse added a commit to raphinesse/cordova-lib that referenced this pull request Aug 14, 2018
This commit does not drop any test cases. However, it fixes various bugs
in the existing expectations and often asserts stronger expectations
than the original tests.

Changes include:

- DRY code
- Improve formatting
- Reduce excessive comments
- Simplify platform list generation
- Wrap all tests in common describe to allow common setup/teardown
- Use a fresh tmpDir for every test to avoid caching issues
- Use fs-extra for setup/teardown
- FIX Wait for promise
- Properly set default timeout for the whole suite
- Don't symlink into fixtures
- Sane config file handling
- Remove event listeners on teardown
- Re-enable disabled test 005 that was fixed by apache#628
- Do not quote props when not needed
- Do not pass array when we only have scalar
- Nicer imports
- Save test platforms/plugins as constants
@raphinesse raphinesse mentioned this pull request Aug 14, 2018
raphinesse added a commit to raphinesse/cordova-lib that referenced this pull request Aug 15, 2018
This commit does not drop any test cases. However, it fixes various bugs
in the existing expectations and often asserts stronger expectations
than the original tests.

Changes include:

- DRY code
- Improve formatting
- Reduce excessive comments
- Simplify platform list generation
- Wrap all tests in common describe to allow common setup/teardown
- Use a fresh tmpDir for every test to avoid caching issues
- Use fs-extra for setup/teardown
- FIX Wait for promise
- Properly set default timeout for the whole suite
- Don't symlink into fixtures
- Sane config file handling
- Remove event listeners on teardown
- Re-enable disabled test 005 that was fixed by apache#628
- Do not quote props when not needed
- Do not pass array when we only have scalar
- Nicer imports
- Save test platforms/plugins as constants
@raphinesse raphinesse mentioned this pull request Aug 15, 2018
7 tasks
raphinesse added a commit that referenced this pull request Aug 15, 2018
This commit does not drop any test cases. However, it fixes various bugs
in the existing expectations and often asserts stronger expectations
than the original tests.

Changes include:

- DRY code
- Improve formatting
- Reduce excessive comments
- Simplify platform list generation
- Wrap all tests in common describe to allow common setup/teardown
- Use a fresh tmpDir for every test to avoid caching issues
- Use fs-extra for setup/teardown
- FIX Wait for promise
- Properly set default timeout for the whole suite
- Don't symlink into fixtures
- Sane config file handling
- Re-enable disabled test 005 that was fixed by #628
- Do not quote props when not needed
- Do not pass array when we only have scalar
- Nicer imports
- Save test platforms/plugins as constants
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.

None yet

2 participants