mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-23 00:00:09 +08:00
Improve Gradle Build Arguments (#699)
* Remove `uses-sdk` from AndroidManifest * Remove dependency `elementtree` * Updated Build Command Help Menu Printout * Cleanup `minSdkVersion` printout * Added `maxSdkVersion`, but not recommended to set. * Added `targetSdkVersion` * Update the `GradlePropertiesParser` & Test Spec * Always Set Overriding Changes * Update existing properties * Update configure method
This commit is contained in:
@@ -201,8 +201,9 @@ describe('run', () => {
|
||||
describe('help', () => {
|
||||
it('should print out usage and help', () => {
|
||||
const logSpy = jasmine.createSpy();
|
||||
const errorSpy = jasmine.createSpy();
|
||||
const procStub = { exit: _ => null, cwd: _ => '', argv: ['', ''] };
|
||||
run.__set__({ console: { log: logSpy }, process: procStub });
|
||||
run.__set__({ console: { log: logSpy, error: errorSpy }, process: procStub });
|
||||
|
||||
run.help();
|
||||
expect(logSpy).toHaveBeenCalledWith(jasmine.stringMatching(/^Usage:/));
|
||||
|
||||
Reference in New Issue
Block a user