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:
parent
93e3a48004
commit
b38dea0597
208 changed files with 9982925 additions and 369 deletions
2
gaia/build/test/bin/fake-adb
Executable file
2
gaia/build/test/bin/fake-adb
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/bash
|
||||
echo $@ >> ./build/test/integration/result
|
||||
38
gaia/build/test/coverage-checker.js
Executable file
38
gaia/build/test/coverage-checker.js
Executable file
|
|
@ -0,0 +1,38 @@
|
|||
'use strict';
|
||||
|
||||
var Mocha = require('mocha');
|
||||
var dive = require('diveSync');
|
||||
|
||||
var mocha = new Mocha({
|
||||
harmony: true,
|
||||
reporter: 'spec',
|
||||
ui: 'tdd',
|
||||
timeout: 0
|
||||
});
|
||||
|
||||
function validFile(file, dir) {
|
||||
if (dir) {
|
||||
return true;
|
||||
}
|
||||
return (file.indexOf('.test.js') !== -1);
|
||||
}
|
||||
|
||||
function run(callback) {
|
||||
dive(process.env.TEST_FILES_DIR, { filter: validFile }, function(err, file) {
|
||||
if (err) {
|
||||
return callback(err);
|
||||
}
|
||||
mocha.addFile(file);
|
||||
});
|
||||
callback();
|
||||
}
|
||||
|
||||
run(function(err) {
|
||||
if (err) {
|
||||
throw err;
|
||||
}
|
||||
|
||||
mocha.run(function(failures) {
|
||||
process.exit(failures);
|
||||
});
|
||||
});
|
||||
12
gaia/build/test/fixtures/custom-origin/manifest.webapp
vendored
Executable file
12
gaia/build/test/fixtures/custom-origin/manifest.webapp
vendored
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"name": "Custom origin",
|
||||
"description": "Gaia Test custom origin",
|
||||
"type": "privileged",
|
||||
"developer": {
|
||||
"name": "The Gaia Team",
|
||||
"url": "https://github.com/mozilla-b2g/gaia"
|
||||
},
|
||||
"default_locale": "en-US",
|
||||
"orientation": "default",
|
||||
"origin": "app://test.mozilla.com"
|
||||
}
|
||||
1
gaia/build/test/fixtures/shared_css.list
vendored
Executable file
1
gaia/build/test/fixtures/shared_css.list
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
build/test/fixtures/test-shared-css-app
|
||||
14
gaia/build/test/fixtures/test-l10n-duplicates/index.html
vendored
Executable file
14
gaia/build/test/fixtures/test-l10n-duplicates/index.html
vendored
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
|
||||
<link rel="manifest" href="manifest.webapp">
|
||||
<link rel="localization" href="locales/test.{locale}.properties">
|
||||
<script type="text/javascript" defer src="/shared/js/l10n.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
||||
2
gaia/build/test/fixtures/test-l10n-duplicates/locales/test.en-US.properties
vendored
Executable file
2
gaia/build/test/fixtures/test-l10n-duplicates/locales/test.en-US.properties
vendored
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
entity1=My Entity
|
||||
entity1=My Entity
|
||||
12
gaia/build/test/fixtures/test-l10n-duplicates/manifest.webapp
vendored
Executable file
12
gaia/build/test/fixtures/test-l10n-duplicates/manifest.webapp
vendored
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"name": "Test L10n Duplicates",
|
||||
"description": "Test L10n: Duplicate string detection",
|
||||
"type": "certified",
|
||||
"launch_path": "/index.html",
|
||||
"developer": {
|
||||
"name": "The Gaia Team",
|
||||
"url": "https://github.com/mozilla-b2g/gaia"
|
||||
},
|
||||
"default_locale": "en-US",
|
||||
"orientation": "default"
|
||||
}
|
||||
16
gaia/build/test/fixtures/test-l10n-missing/index.html
vendored
Executable file
16
gaia/build/test/fixtures/test-l10n-missing/index.html
vendored
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
|
||||
<meta name="defaultLanguage" content="en-US">
|
||||
<meta name="availableLanguages" content="en-US">
|
||||
<link rel="localization" href="locales/test.{locale}.properties">
|
||||
<script type="text/javascript" defer src="/shared/js/l10n.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p data-l10n-id="entity0"></p>
|
||||
</body>
|
||||
</html>
|
||||
1
gaia/build/test/fixtures/test-l10n-missing/locales/test.en-US.properties
vendored
Executable file
1
gaia/build/test/fixtures/test-l10n-missing/locales/test.en-US.properties
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
entity1=My Entity
|
||||
12
gaia/build/test/fixtures/test-l10n-missing/manifest.webapp
vendored
Executable file
12
gaia/build/test/fixtures/test-l10n-missing/manifest.webapp
vendored
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"name": "Test L10n Missing",
|
||||
"description": "Test L10n: Missing string detection",
|
||||
"type": "certified",
|
||||
"launch_path": "/index.html",
|
||||
"developer": {
|
||||
"name": "The Gaia Team",
|
||||
"url": "https://github.com/mozilla-b2g/gaia"
|
||||
},
|
||||
"default_locale": "en-US",
|
||||
"orientation": "default"
|
||||
}
|
||||
16
gaia/build/test/fixtures/test-l10n-optimize-entries/index.html
vendored
Executable file
16
gaia/build/test/fixtures/test-l10n-optimize-entries/index.html
vendored
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
|
||||
<meta name="defaultLanguage" content="en-US">
|
||||
<meta name="availableLanguages" content="en-US">
|
||||
<link rel="localization" href="locales/test.{locale}.properties">
|
||||
<link rel="localization" href="locales/test.{locale}.l20n">
|
||||
<script type="text/javascript" defer src="/shared/js/intl/l20n.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
||||
2
gaia/build/test/fixtures/test-l10n-optimize-entries/locales/test.en-US.l20n
vendored
Executable file
2
gaia/build/test/fixtures/test-l10n-optimize-entries/locales/test.en-US.l20n
vendored
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
<entity1 "Entity 1">
|
||||
<entity2 "Entity 2">
|
||||
1
gaia/build/test/fixtures/test-l10n-optimize-entries/locales/test.en-US.properties
vendored
Executable file
1
gaia/build/test/fixtures/test-l10n-optimize-entries/locales/test.en-US.properties
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
entity1=My Entity
|
||||
12
gaia/build/test/fixtures/test-l10n-optimize-entries/manifest.webapp
vendored
Executable file
12
gaia/build/test/fixtures/test-l10n-optimize-entries/manifest.webapp
vendored
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"name": "Test L10n Optimization",
|
||||
"description": "Test L10n Optimization",
|
||||
"type": "certified",
|
||||
"launch_path": "/index.html",
|
||||
"developer": {
|
||||
"name": "The Gaia Team",
|
||||
"url": "https://github.com/mozilla-b2g/gaia"
|
||||
},
|
||||
"default_locale": "en-US",
|
||||
"orientation": "default"
|
||||
}
|
||||
15
gaia/build/test/fixtures/test-l10n-optimize-legacy/index.html
vendored
Executable file
15
gaia/build/test/fixtures/test-l10n-optimize-legacy/index.html
vendored
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
|
||||
<meta name="defaultLanguage" content="en-US">
|
||||
<meta name="availableLanguages" content="en-US">
|
||||
<link rel="localization" href="locales/test.{locale}.properties">
|
||||
<script type="text/javascript" defer src="/shared/js/l10n.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
||||
1
gaia/build/test/fixtures/test-l10n-optimize-legacy/locales/test.en-US.properties
vendored
Executable file
1
gaia/build/test/fixtures/test-l10n-optimize-legacy/locales/test.en-US.properties
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
entity1=My Entity
|
||||
12
gaia/build/test/fixtures/test-l10n-optimize-legacy/manifest.webapp
vendored
Executable file
12
gaia/build/test/fixtures/test-l10n-optimize-legacy/manifest.webapp
vendored
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"name": "Test L10n Optimization",
|
||||
"description": "Test L10n Optimization",
|
||||
"type": "certified",
|
||||
"launch_path": "/index.html",
|
||||
"developer": {
|
||||
"name": "The Gaia Team",
|
||||
"url": "https://github.com/mozilla-b2g/gaia"
|
||||
},
|
||||
"default_locale": "en-US",
|
||||
"orientation": "default"
|
||||
}
|
||||
15
gaia/build/test/fixtures/test-l10n-optimize-no-fetch/index.html
vendored
Executable file
15
gaia/build/test/fixtures/test-l10n-optimize-no-fetch/index.html
vendored
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
|
||||
|
||||
<meta name="defaultLanguage" content="en-US">
|
||||
<meta name="availableLanguages" content="en-US">
|
||||
<link data-no-fetch rel="localization" href="locales/test.{locale}.properties">
|
||||
<script type="text/javascript" defer src="/shared/js/l10n.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
||||
1
gaia/build/test/fixtures/test-l10n-optimize-no-fetch/locales/test.en-US.properties
vendored
Executable file
1
gaia/build/test/fixtures/test-l10n-optimize-no-fetch/locales/test.en-US.properties
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
entity1=My Entity
|
||||
12
gaia/build/test/fixtures/test-l10n-optimize-no-fetch/manifest.webapp
vendored
Executable file
12
gaia/build/test/fixtures/test-l10n-optimize-no-fetch/manifest.webapp
vendored
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
{
|
||||
"name": "Test L10n Optimization",
|
||||
"description": "Test L10n Optimization",
|
||||
"type": "certified",
|
||||
"launch_path": "/index.html",
|
||||
"developer": {
|
||||
"name": "The Gaia Team",
|
||||
"url": "https://github.com/mozilla-b2g/gaia"
|
||||
},
|
||||
"default_locale": "en-US",
|
||||
"orientation": "default"
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue