Publish Vulpes Preview 15 sources for desktop, Android and Tundra

Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
OverSu 2026-09-30 23:13:03 +02:00
commit b38dea0597
25901 changed files with 9982925 additions and 369 deletions

View file

@ -0,0 +1,26 @@
'use strict';
/* jshint node: true, mocha: true */
/* global suiteSetup */
var helper = require('helper');
suite('System Raptor transform tests', function() {
suiteSetup(helper.cleanupWorkspace);
teardown(helper.cleanupWorkspace);
test('APP=system RAPTOR_TRANSFORM=1 RAPTOR_TRANSFORM_RULES=' +
process.cwd() + '/apps/system/test/raptor' + ' make',
function(done) {
helper.exec('APP=system RAPTOR_TRANSFORM=1 RAPTOR_TRANSFORM_RULES=' +
process.cwd() + '/apps/system/test/raptor' + ' make',
function(error, stdout, stderr) {
if (stderr.match('TransformingFailed')) {
done(stderr);
} else {
done();
}
});
});
});

View file

@ -0,0 +1,54 @@
'use strict';
/* jshint node: true, mocha: true */
/* global suiteSetup */
var helper = require('helper');
suite('System tests', function() {
suiteSetup(helper.cleanupWorkspace);
teardown(helper.cleanupWorkspace);
test('APP=system make', function(done) {
helper.exec('APP=system make', function(error, stdout, stderr) {
helper.checkError(error, stdout, stderr);
var zipPath = process.cwd() +
'/profile/webapps/system.gaiamobile.org/application.zip';
var checkList = ['manifest.webapp'];
checkList.forEach(function(filePath) {
helper.checkFilePathInZip(zipPath, filePath);
});
done();
});
});
suite('System/FeatureDetector tests', function() {
// XXX: TV doesn't use apps/system. Test for tv should be enabled once
// smart-system is merged back to apps/system.
var devices = ['phone', 'tablet'];
devices.forEach(function(device) {
var command = 'GAIA_DEVICE_TYPE=' + device + ' APP=system make';
test(command, function(done) {
helper.exec(command, function(error, stdout, stderr) {
helper.checkError(error, stdout, stderr);
var zipPath = process.cwd() +
'/profile/webapps/system.gaiamobile.org/application.zip';
// FeatureDetector.deviceType is expected to be replaced by
// GAIA_DEVICE_TYPE in build time
var pattern = new RegExp('this\.deviceType = \'' + device + '\';');
helper.matchFileContentInZip(
zipPath, 'js/feature_detector.js', pattern);
done();
});
});
});
});
});