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

CB-11242 - Removed platform-specific code for platforms w/ PlatformApi implemented #526

Closed
wants to merge 3 commits into from

Conversation

audreyso
Copy link
Contributor

Platforms affected

What does this PR do?

Removed platform-specific code for platforms w/ PlatformApi implemented (ios, android, windows).
Android testing files also updated.

What testing has been done on this change?

Checklist

  • Reported an issue in the JIRA database
  • Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
  • Added automated test coverage as appropriate for this change.

@codecov-io
Copy link

codecov-io commented Mar 11, 2017

Codecov Report

Merging #526 into master will decrease coverage by 2.26%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #526      +/-   ##
==========================================
- Coverage    81.9%   79.63%   -2.27%     
==========================================
  Files          68       60       -8     
  Lines        5498     4272    -1226     
  Branches     1090      890     -200     
==========================================
- Hits         4503     3402    -1101     
+ Misses        995      870     -125
Impacted Files Coverage Δ
cordova-lib/src/platforms/platforms.js 87.87% <0%> (-8.68%)
cordova-lib/src/plugman/platforms/common.js 85.26% <0%> (-8.43%)
cordova-lib/src/cordova/config.js 70% <0%> (-5%)
cordova-lib/src/platforms/PlatformApiPoly.js 91.86% <0%> (-2.33%)
cordova-lib/src/cordova/platform.js 77.23% <0%> (-1.02%)
cordova-lib/src/plugman/install.js 87.16% <0%> (ø)
cordova-lib/src/plugman/platforms/ios.js
cordova-lib/src/util/windows/jsprojManager.js
cordova-lib/src/cordova/metadata/android_parser.js
cordova-lib/src/cordova/metadata/windows_parser.js
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 07001dc...73d0f49. Read the comment docs.

Copy link
Contributor

@stevengill stevengill left a comment

Choose a reason for hiding this comment

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

Also needs a rebase

@@ -0,0 +1,14 @@
# Non-project-specific build files:
Copy link
Contributor

Choose a reason for hiding this comment

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

don't think you need this file

@@ -11,15 +9,12 @@
"osx": {
"hostos": ["darwin"],
"parser_file": "../cordova/metadata/osx_parser",
"handler_file": "../plugman/platforms/ios",
Copy link
Contributor

Choose a reason for hiding this comment

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

hmm, this might be an issue. OSX uses ios handler file. Maybe make a copy of ../plugman/platforms/ios and rename it to ../plugman/platforms/osx and update this file to use the copy

@audreyso audreyso force-pushed the CB-11242 branch 3 times, most recently from 9f8e37e to 08513f0 Compare March 28, 2017 16:29
…roid and added cordova dir to android test in fixtures dir and removed uninstall android files because causing errors
…ms.spec to use browser instead of android & android_uninstall not needed
@audreyso audreyso force-pushed the CB-11242 branch 4 times, most recently from aa734c2 to 379b61b Compare March 28, 2017 22:19
@audreyso audreyso closed this May 1, 2017
chauthai pushed a commit to mobilexag/cordova-hot-code-push that referenced this pull request May 8, 2017
Due to this [issue](apache/cordova-lib#526)
there is no `cordova-lib/src/plugman/platforms/ios` anymore.
The fix is taken from this
[issue](nordnet#295)
vimalb pushed a commit to vimalb/cordova-hot-code-push that referenced this pull request Oct 10, 2017
Due to this [issue](apache/cordova-lib#526)
there is no `cordova-lib/src/plugman/platforms/ios` anymore.
The fix is taken from this
[issue](nordnet#295)
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.

3 participants