Joe Bowser
6cf6e20d2e
Merge branch 'master' into StudioProjectCompat, fixing conflicts, need
...
to re-add previous PR fix on the branch
2017-10-18 11:04:44 -07:00
filmaj
ec83d481fa
CB-13406: Fixed AVD API level comparison when choosing sub-par API level match. Added tests for the best_image method.
2017-10-05 15:18:42 -05:00
Joe Bowser
f3c238db1c
CB-11244: Adding specs for resource files inside an Android Studio Project
2017-10-03 14:16:27 -07:00
Joe Bowser
b1f527e682
Merge branch 'master' into StudioProjectCompat
2017-09-28 10:21:49 -07:00
filmaj
1637937664
CB-12981: handle SDK 26.0.2 slightly different AVD list output for Android 8+ AVDs. Would cause "cannot read property replace of undefined" errors when trying to deploy an Android 8 emulator.
2017-09-14 11:26:18 -07:00
Joe Bowser
46905ebe99
Merge branch 'master' into StudioProjectCompat. Dealing with latest
...
commits merged into master.
2017-07-31 13:43:21 -07:00
Nikita Matrosov
36d07d7a15
CB-13031: Fix bug with case-sensitivity of android-packageName
...
this closes #397
2017-07-28 14:05:53 +03:00
Joe Bowser
00c879e27d
It passed then failed. I'll change the test for now, because perfect is the enemy of good.
2017-07-18 11:53:44 -07:00
Joe Bowser
99f15c507d
Updating paths in the unit tests, leaving the failing test and coding against that
2017-07-12 11:13:20 -07:00
filmaj
5917d4ef0b
CB-13006: removed create and update end-to-end tests, and instead added more unit test coverage. tweaked code coverage invocation so that we get coverage details on the create.js module. slight changes to the create.js module so that it is slightly easier to test.
2017-07-11 12:54:15 -05:00
filmaj
90053eb9df
CB-12950: lots of tweaks for end-to-end test runs, especially on CI:
...
- rename npm tasks to reflect what they do (npm run unit-tests, npm run e2e-tests). main `npm test` runs linter, unit tests and e2e tests now.
- locked jasmine down to ~2.6.0.
- consolidate gitignores.
- updated travis to run `npm test`. add android sdk installation to appveyor ci run.align android dpendencies across travis and appveyor. have appveyor install gradle. force gradle to version 3.4.1 in appveyor, as that seems to be the only version choco has. explicitly invoke sdkmanager to move license accepting process along.
2017-06-27 15:59:16 -05:00
Nikita Matrosov
540929c6a0
CB-9971: Suppressed unwanted java stderr output when running gradle wrapper
...
this closes #388
2017-06-26 21:17:58 +03:00
Audrey So
55d7cf3865
CB-12895 : updated .eslintrc file in spec dir and set jasmine true and removed root is true
2017-06-23 08:44:08 -07:00
Audrey So
ac4ac935f6
CB-12895 : added .eslintrc files to set up jasmine environment
2017-06-23 08:07:08 -07:00
Audrey So
d83d49d83b
CB-12895 : fixed eslint errors
2017-06-23 08:07:08 -07:00
filmaj
9d9abea157
Start of GradleBuilder.js specs - puts it on the code coverage radar.
2017-05-02 15:31:26 -07:00
filmaj
e13e15d3e9
CB-12640: better handling of unrecognized commands on windows. removed error checking in emulator image listing when shelling out, as we already defensively dont shell out if the program is not on the PATH / not recognized. added additional test for windows unrecognized command errors for target listing. fixed up spying in a test.
2017-04-10 12:12:46 -07:00
filmaj
6ef2f67ae8
CB-12640: flipped avd parsing logic so that it always tries to use avdmanager to retrieve avds first, then falls back to android command if avdmanager cannot be found (and errors with ENOENT). updated tests - and added explicit tests to ensure to shell out to singular forms of sub-commands when executing android
2017-04-10 12:12:46 -07:00
filmaj
765c4ee9f6
CB-12640: support for android sdk tools 26.0.1. simplified target parsing by using avdmanager instead of sdkmanager. flipped target parsing logic so that it always tries to use avdmanager to retrieve targets first, then falls back to android command if avdmanager cannot be found (and errors with ENOENT). updated tests.
2017-04-10 12:12:46 -07:00
filmaj
3554267adf
CB-12546: more specs for android_sdk and check_reqs. added fixtures for sdk targets. refactored target listing.
2017-03-20 10:09:45 -07:00
filmaj
4a354bba86
CB-12546: based on android
command exit code and stdout, conditionally try to invoke avdmanager
to list out AVD images. tweak relevant test to match behaviour. small tweak to use exposed methods for checking platform (for easier future stubbing).
2017-03-20 10:08:36 -07:00
filmaj
d40c22441f
CB-12546: move check_reqs to templates directory and update module references.
2017-03-20 10:08:36 -07:00
filmaj
6395eda0c8
CB-12546: emulator specs.
2017-03-20 10:08:36 -07:00
filmaj
eb6ada8091
CB-12546: more robust sdk location detection. ANDROID_HOME now can be set from location of either of adb
, android
or avdmanager
commands. slightly rework logic of infering ANDROID_HOME + setting up PATH to hopefully separate the logic into clearer sections. check_reqs.check_android now validates SDK Tools 25.3.1 binaries/structure. added specs for check_reqs.check_android. move android sdk version script. expose some helper functions as module methods to help with mocking.
2017-03-20 10:08:35 -07:00
audreyso
3fc4daa447
CB-12018 : updated tests to work with jasmine (promise matcher tests commented out for now)
2017-01-11 17:07:17 -08:00
Joe Bowser
1af5ade39a
Adding isClean to the spec, this really should have failed a few commits ago
...
This closes #349
2016-12-05 15:32:18 -08:00
Jesse MacFadyen
0fd7e7f040
Fixed AndroidStudio tests to actually run, removed app/src/main/assets/ as a requirement and added app/src/main/res instead, added placeholder for build/ folder, Removed dupe gitignore
2016-11-02 19:46:33 -07:00
Alexander Sorokin
5db2de95f5
CB-11964 Call clean after plugin install and mock it in tests
2016-10-07 18:14:36 -07:00
Anis Kadri
f5ab6fc602
adding tests for Android Studio
...
This closes #331
2016-09-20 19:54:38 -07:00
Anis Kadri
222fb1c0e7
adding tests for AndroidStudio
2016-09-20 19:54:34 -07:00
Richard Knoll
9738079c42
CB-11259: Improving build output
...
This closes #305
2016-05-17 13:31:12 -07:00
Vladimir Kotikov
d351e316bf
CB-11138 Reuse PluginManager from common to add/rm plugins
...
This closes #301
2016-04-29 15:07:05 +03:00
Vladimir Kotikov
9af7f506f0
CB-11095 Fix plugin add/removal when running on Node v.010
2016-04-18 12:26:39 +03:00
Vladimir Kotikov
9b8558dbde
CB-11022 Duplicate www files to both destinations on plugin operations
...
This closes #289
2016-04-14 12:03:44 +03:00
Vladimir Kotikov
8ab75e7109
CB-10729 Move plugin handlers tests for into platform's repo
2016-03-01 11:31:14 +03:00
daserge
ce2525d4d8
CB-10628 Fix emulate android --target
...
Added a test case
2016-02-18 21:27:40 +03:00
Vladimir Kotikov
7be9e880c2
CB-10618 Handle gradle frameworks on plugin installation/uninstallation
...
This closes #259
2016-02-17 17:56:09 +03:00