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,44 @@
/* global MocksHelper, BaseModule */
'use strict';
require('/shared/test/unit/mocks/mock_lazy_loader.js');
requireApp('system/js/service.js');
requireApp('system/js/base_module.js');
requireApp('system/js/remote/app.js');
var mocksForMultiScreenController = new MocksHelper([
'LazyLoader'
]).init();
suite('system/remote/App', function() {
mocksForMultiScreenController.attachTestHelpers();
var subject;
setup(function() {
window.location.hash = '#123';
subject = BaseModule.instantiate('App');
subject.start();
});
teardown(function() {
subject.stop();
});
suite('displayId', function() {
test('should get the displayId from location.hash', function() {
assert.equal(subject._displayId, 123);
});
test('should return displayId', function() {
assert.equal(subject.displayId(), subject._displayId);
});
test('displayId should be -1 if location.hash is omitted', function() {
window.location.hash = '';
subject.stop();
subject.start();
assert.equal(subject._displayId, -1);
});
});
});