mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-01 02:12:58 +08:00
15 lines
612 B
JavaScript
15 lines
612 B
JavaScript
var AndroidStudio = require('../../bin/templates/cordova/lib/AndroidStudio');
|
|
|
|
describe('AndroidStudio module', function () {
|
|
it('should detect Android Studio project', function() {
|
|
var root = './fixtures/android_studio_project';
|
|
spyOn(AndroidStudio, 'isAndroidStudioProject').andReturn(true);
|
|
AndroidStudio.isAndroidStudioProject(root);
|
|
});
|
|
it('should detect non Android Studio project', function() {
|
|
var root = './fixtures/android_project';
|
|
spyOn(AndroidStudio, 'isAndroidStudioProject').andReturn(false);
|
|
AndroidStudio.isAndroidStudioProject(root);
|
|
});
|
|
});
|