mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 04:41:11 +00:00
Bug 1859896 - Batch 16 - convert xpcshell.ini -> .toml. r=aryx,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D194383
This commit is contained in:
parent
d659e61b6c
commit
81afbdce9a
@ -25,4 +25,4 @@ BROWSER_CHROME_MANIFESTS += [
|
||||
"test/browser/target/browser.toml",
|
||||
]
|
||||
|
||||
XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell/xpcshell.ini"]
|
||||
XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell/xpcshell.toml"]
|
||||
|
@ -1,9 +0,0 @@
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
[test_CDPConnection.js]
|
||||
[test_DomainCache.js]
|
||||
[test_Error.js]
|
||||
[test_Session.js]
|
||||
[test_StreamRegistry.js]
|
11
remote/cdp/test/xpcshell/xpcshell.toml
Normal file
11
remote/cdp/test/xpcshell/xpcshell.toml
Normal file
@ -0,0 +1,11 @@
|
||||
[DEFAULT]
|
||||
|
||||
["test_CDPConnection.js"]
|
||||
|
||||
["test_DomainCache.js"]
|
||||
|
||||
["test_Error.js"]
|
||||
|
||||
["test_Session.js"]
|
||||
|
||||
["test_StreamRegistry.js"]
|
@ -4,7 +4,7 @@
|
||||
|
||||
JAR_MANIFESTS += ["jar.mn"]
|
||||
|
||||
XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell/xpcshell.ini"]
|
||||
XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell/xpcshell.toml"]
|
||||
|
||||
with Files("**"):
|
||||
BUG_COMPONENT = ("Remote Protocol", "Marionette")
|
||||
|
@ -1,16 +0,0 @@
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
[DEFAULT]
|
||||
skip-if = appname == "thunderbird"
|
||||
|
||||
[test_actors.js]
|
||||
[test_browser.js]
|
||||
[test_cookie.js]
|
||||
[test_json.js]
|
||||
[test_message.js]
|
||||
[test_navigate.js]
|
||||
[test_prefs.js]
|
||||
[test_sync.js]
|
||||
[test_web-reference.js]
|
20
remote/marionette/test/xpcshell/xpcshell.toml
Normal file
20
remote/marionette/test/xpcshell/xpcshell.toml
Normal file
@ -0,0 +1,20 @@
|
||||
[DEFAULT]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
|
||||
["test_actors.js"]
|
||||
|
||||
["test_browser.js"]
|
||||
|
||||
["test_cookie.js"]
|
||||
|
||||
["test_json.js"]
|
||||
|
||||
["test_message.js"]
|
||||
|
||||
["test_navigate.js"]
|
||||
|
||||
["test_prefs.js"]
|
||||
|
||||
["test_sync.js"]
|
||||
|
||||
["test_web-reference.js"]
|
@ -1,6 +0,0 @@
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
[test_Errors.js]
|
||||
[test_SessionData.js]
|
5
remote/shared/messagehandler/test/xpcshell/xpcshell.toml
Normal file
5
remote/shared/messagehandler/test/xpcshell/xpcshell.toml
Normal file
@ -0,0 +1,5 @@
|
||||
[DEFAULT]
|
||||
|
||||
["test_Errors.js"]
|
||||
|
||||
["test_SessionData.js"]
|
@ -11,7 +11,7 @@ BROWSER_CHROME_MANIFESTS += [
|
||||
]
|
||||
|
||||
XPCSHELL_TESTS_MANIFESTS += [
|
||||
"messagehandler/test/xpcshell/xpcshell.ini",
|
||||
"test/xpcshell/xpcshell.ini",
|
||||
"webdriver/test/xpcshell/xpcshell.ini",
|
||||
"messagehandler/test/xpcshell/xpcshell.toml",
|
||||
"test/xpcshell/xpcshell.toml",
|
||||
"webdriver/test/xpcshell/xpcshell.toml",
|
||||
]
|
||||
|
@ -1,18 +0,0 @@
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
[DEFAULT]
|
||||
head = head.js
|
||||
|
||||
[test_AppInfo.js]
|
||||
[test_ChallengeHeaderParser.js]
|
||||
[test_DOM.js]
|
||||
[test_Format.js]
|
||||
[test_Navigate.js]
|
||||
[test_Realm.js]
|
||||
[test_RecommendedPreferences.js]
|
||||
[test_Stack.js]
|
||||
[test_Sync.js]
|
||||
[test_TabManager.js]
|
||||
[test_UUID.js]
|
24
remote/shared/test/xpcshell/xpcshell.toml
Normal file
24
remote/shared/test/xpcshell/xpcshell.toml
Normal file
@ -0,0 +1,24 @@
|
||||
[DEFAULT]
|
||||
head = "head.js"
|
||||
|
||||
["test_AppInfo.js"]
|
||||
|
||||
["test_ChallengeHeaderParser.js"]
|
||||
|
||||
["test_DOM.js"]
|
||||
|
||||
["test_Format.js"]
|
||||
|
||||
["test_Navigate.js"]
|
||||
|
||||
["test_Realm.js"]
|
||||
|
||||
["test_RecommendedPreferences.js"]
|
||||
|
||||
["test_Stack.js"]
|
||||
|
||||
["test_Sync.js"]
|
||||
|
||||
["test_TabManager.js"]
|
||||
|
||||
["test_UUID.js"]
|
@ -1,16 +0,0 @@
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
[DEFAULT]
|
||||
head = head.js
|
||||
|
||||
[test_Actions.js]
|
||||
[test_Assert.js]
|
||||
[test_Capabilities.js]
|
||||
[test_Errors.js]
|
||||
[test_NodeCache.js]
|
||||
[test_Session.js]
|
||||
[test_URLPattern_invalid.js]
|
||||
[test_URLPattern_matchURLPattern.js]
|
||||
[test_URLPattern_parseURLPattern.js]
|
20
remote/shared/webdriver/test/xpcshell/xpcshell.toml
Normal file
20
remote/shared/webdriver/test/xpcshell/xpcshell.toml
Normal file
@ -0,0 +1,20 @@
|
||||
[DEFAULT]
|
||||
head = "head.js"
|
||||
|
||||
["test_Actions.js"]
|
||||
|
||||
["test_Assert.js"]
|
||||
|
||||
["test_Capabilities.js"]
|
||||
|
||||
["test_Errors.js"]
|
||||
|
||||
["test_NodeCache.js"]
|
||||
|
||||
["test_Session.js"]
|
||||
|
||||
["test_URLPattern_invalid.js"]
|
||||
|
||||
["test_URLPattern_matchURLPattern.js"]
|
||||
|
||||
["test_URLPattern_parseURLPattern.js"]
|
@ -11,4 +11,4 @@ BROWSER_CHROME_MANIFESTS += [
|
||||
"test/browser/browser.toml",
|
||||
]
|
||||
|
||||
XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell/xpcshell.ini"]
|
||||
XPCSHELL_TESTS_MANIFESTS += ["test/xpcshell/xpcshell.toml"]
|
||||
|
@ -1,5 +0,0 @@
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
[test_WebDriverBiDiConnection.js]
|
3
remote/webdriver-bidi/test/xpcshell/xpcshell.toml
Normal file
3
remote/webdriver-bidi/test/xpcshell/xpcshell.toml
Normal file
@ -0,0 +1,3 @@
|
||||
[DEFAULT]
|
||||
|
||||
["test_WebDriverBiDiConnection.js"]
|
@ -11,7 +11,7 @@ TEST_DIRS += [
|
||||
"mochitest",
|
||||
]
|
||||
|
||||
XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell.ini"]
|
||||
XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell.toml"]
|
||||
|
||||
if not CONFIG["MOZ_NO_SMART_CARDS"]:
|
||||
XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell-smartcards.ini"]
|
||||
|
@ -1,245 +0,0 @@
|
||||
[DEFAULT]
|
||||
head = head_psm.js
|
||||
tags = psm condprof
|
||||
firefox-appdir = browser
|
||||
skip-if = os == 'win' && msix # https://bugzilla.mozilla.org/show_bug.cgi?id=1809477
|
||||
support-files =
|
||||
corrupted_crlite_helper.js
|
||||
bad_certs/**
|
||||
ocsp_certs/**
|
||||
test_baseline_requirements/**
|
||||
test_broken_fips/**
|
||||
test_cert_eku/**
|
||||
test_cert_embedded_null/**
|
||||
test_cert_isBuiltInRoot_reload/**
|
||||
test_cert_keyUsage/**
|
||||
test_cert_overrides_read_only/**
|
||||
test_cert_sha1/**
|
||||
test_cert_signatures/**
|
||||
test_cert_storage_direct/**
|
||||
test_cert_storage_preexisting/**
|
||||
test_cert_storage_preexisting_crlite/**
|
||||
test_cert_trust/**
|
||||
test_cert_utf8/**
|
||||
test_cert_version/**
|
||||
test_certDB_import/**
|
||||
test_content_signing/**
|
||||
test_crlite_filters/**
|
||||
test_crlite_preexisting/**
|
||||
test_crlite_corrupted/**
|
||||
test_ct/**
|
||||
test_delegated_credentials/**
|
||||
test_encrypted_client_hello/**
|
||||
test_ev_certs/**
|
||||
test_faulty_server/**
|
||||
test_intermediate_basic_usage_constraints/**
|
||||
test_intermediate_preloads/**
|
||||
test_keysize/**
|
||||
test_keysize_ev/**
|
||||
test_missing_intermediate/**
|
||||
test_name_constraints/**
|
||||
test_ocsp_url/**
|
||||
test_onecrl/**
|
||||
test_sanctions/**
|
||||
test_sdr_preexisting/**
|
||||
test_sdr_preexisting_with_password/**
|
||||
test_self_signed_certs/**
|
||||
test_signed_apps/**
|
||||
test_validity/**
|
||||
tlsserver/**
|
||||
|
||||
[test_add_preexisting_cert.js]
|
||||
[test_baseline_requirements_subject_common_name.js]
|
||||
[test_blocklist_onecrl.js]
|
||||
# Skip signature tests for Thunderbird (Bug 1341983).
|
||||
skip-if = appname == "thunderbird"
|
||||
tags = remote-settings blocklist psm
|
||||
[test_broken_fips.js]
|
||||
# FIPS has never been a thing on Android, so the workaround doesn't
|
||||
# exist on that platform.
|
||||
# FIPS still works on Linux, so this test doesn't make any sense there.
|
||||
# FIPS still works on Windows, but running the test to ensure that it does not
|
||||
# break with a non-ASCII profile path.
|
||||
skip-if = toolkit == 'android' || os == 'linux'
|
||||
[test_cert_storage.js]
|
||||
tags = addons psm blocklist
|
||||
[test_cert_storage_broken_db.js]
|
||||
[test_cert_storage_direct.js]
|
||||
[test_cert_storage_preexisting.js]
|
||||
[test_cert_storage_preexisting_crlite.js]
|
||||
# This test cannot succeed on 32-bit platforms. See bugs 1546361 and 1548956.
|
||||
skip-if = bits != 64
|
||||
[test_cert_chains.js]
|
||||
run-sequentially = hardcoded ports
|
||||
[test_cert_dbKey.js]
|
||||
[test_cert_eku.js]
|
||||
[test_cert_embedded_null.js]
|
||||
[test_cert_expiration_canary.js]
|
||||
run-if = nightly_build
|
||||
[test_cert_keyUsage.js]
|
||||
[test_cert_isBuiltInRoot.js]
|
||||
[test_cert_isBuiltInRoot_reload.js]
|
||||
[test_cert_overrides.js]
|
||||
run-sequentially = hardcoded ports
|
||||
[test_cert_overrides_read_only.js]
|
||||
run-sequentially = hardcoded ports
|
||||
[test_cert_override_read.js]
|
||||
[test_cert_sha1.js]
|
||||
[test_cert_signatures.js]
|
||||
[test_cert_trust.js]
|
||||
[test_cert_version.js]
|
||||
[test_cert_utf8.js]
|
||||
[test_certDB_export_pkcs12.js]
|
||||
[test_certDB_export_pkcs12_with_primary_password.js]
|
||||
[test_certDB_import.js]
|
||||
# nsCertificateDialogs not available in geckoview, bug 1554276
|
||||
skip-if = toolkit == 'android' && processor == 'x86_64'
|
||||
[test_certDB_import_pkcs12.js]
|
||||
[test_certDB_import_with_primary_password.js]
|
||||
# nsCertificateDialogs not available in geckoview, bug 1554276
|
||||
skip-if = toolkit == 'android' && processor == 'x86_64'
|
||||
[test_client_auth_remember_service_read.js]
|
||||
skip-if = condprof
|
||||
[test_constructX509FromBase64.js]
|
||||
[test_content_signing.js]
|
||||
[test_crlite_filters.js]
|
||||
tags = remote-settings psm
|
||||
[test_crlite_preexisting.js]
|
||||
[test_crlite_filter_corrupted.js]
|
||||
[test_crlite_stash_corrupted.js]
|
||||
[test_crlite_enrollment_version.js]
|
||||
[test_crlite_enrollment_trunc1.js]
|
||||
[test_crlite_coverage_version.js]
|
||||
[test_crlite_coverage_trunc1.js]
|
||||
[test_crlite_coverage_trunc2.js]
|
||||
[test_crlite_coverage_trunc3.js]
|
||||
[test_crlite_coverage_missing.js]
|
||||
[test_ct.js]
|
||||
# Requires hard-coded debug-only data
|
||||
skip-if = !debug
|
||||
run-sequentially = hardcoded ports
|
||||
[test_data_storage.js]
|
||||
[test_db_format_pref_new.js]
|
||||
# Android always has and always will use the new format, so
|
||||
# this test doesn't apply.
|
||||
skip-if = toolkit == 'android'
|
||||
condprof # Bug 1769154 - as designed
|
||||
[test_delegated_credentials.js]
|
||||
run-sequentially = hardcoded ports
|
||||
[test_encrypted_client_hello.js]
|
||||
run-sequentially = hardcoded ports
|
||||
[test_encrypted_client_hello_client_only.js]
|
||||
run-sequentially = hardcoded ports
|
||||
[test_der.js]
|
||||
[test_enterprise_roots.js]
|
||||
# This feature is implemented for Windows and OS X. However, we don't currently
|
||||
# have a way to test it on OS X.
|
||||
skip-if = os != 'win'
|
||||
[test_ev_certs.js]
|
||||
tags = blocklist psm
|
||||
run-sequentially = hardcoded ports
|
||||
[test_forget_about_site_security_headers.js]
|
||||
[test_hash_algorithms.js]
|
||||
[test_hash_algorithms_wrap.js]
|
||||
# bug 1124289 - run_test_in_child violates the sandbox on android
|
||||
skip-if = toolkit == 'android'
|
||||
[test_intermediate_basic_usage_constraints.js]
|
||||
[test_intermediate_preloads.js]
|
||||
run-sequentially = hardcoded ports
|
||||
tags = blocklist psm remote-settings
|
||||
[test_allow_all_cert_errors.js]
|
||||
run-sequentially = hardcoded ports
|
||||
[test_keysize.js]
|
||||
[test_keysize_ev.js]
|
||||
run-sequentially = hardcoded ports
|
||||
[test_logoutAndTeardown.js]
|
||||
skip-if = socketprocess_networking && os == "linux" && debug
|
||||
run-sequentially = hardcoded ports
|
||||
[test_missing_intermediate.js]
|
||||
run-sequentially = hardcoded ports
|
||||
[test_name_constraints.js]
|
||||
[test_nonascii_path.js]
|
||||
[test_nsCertType.js]
|
||||
run-sequentially = hardcoded ports
|
||||
[test_nsIX509Cert_utf8.js]
|
||||
[test_nsIX509CertValidity.js]
|
||||
[test_ocsp_caching.js]
|
||||
run-sequentially = hardcoded ports
|
||||
[test_ocsp_enabled_pref.js]
|
||||
run-sequentially = hardcoded ports
|
||||
[test_ocsp_must_staple.js]
|
||||
run-sequentially = hardcoded ports
|
||||
[test_ocsp_private_caching.js]
|
||||
run-sequentially = hardcoded ports
|
||||
skip-if = condprof # Bug 1769154 - should look into this
|
||||
[test_ocsp_no_hsts_upgrade.js]
|
||||
run-sequentially = hardcoded ports
|
||||
[test_ocsp_required.js]
|
||||
run-sequentially = hardcoded ports
|
||||
[test_ocsp_stapling.js]
|
||||
run-sequentially = hardcoded ports
|
||||
[test_ocsp_stapling_expired.js]
|
||||
run-sequentially = hardcoded ports
|
||||
[test_ocsp_stapling_with_intermediate.js]
|
||||
run-sequentially = hardcoded ports
|
||||
[test_ocsp_timeout.js]
|
||||
skip-if = (os == "win" && socketprocess_networking)
|
||||
run-sequentially = hardcoded ports
|
||||
[test_ocsp_url.js]
|
||||
run-sequentially = hardcoded ports
|
||||
[test_oskeystore.js]
|
||||
skip-if = apple_silicon # bug 1729538
|
||||
[test_osreauthenticator.js]
|
||||
# Reauthentication has been implemented on Windows and MacOS, so running this
|
||||
# test results in the OS popping up a dialog, which means we can't run it in
|
||||
# automation.
|
||||
skip-if = os == 'win' || os == 'mac'
|
||||
[test_password_prompt.js]
|
||||
[test_pinning.js]
|
||||
run-sequentially = hardcoded ports
|
||||
[test_sdr.js]
|
||||
[test_sdr_preexisting.js]
|
||||
# Not relevant to Android. See the comment in the test.
|
||||
skip-if = toolkit == 'android'
|
||||
[test_sdr_preexisting_with_password.js]
|
||||
# Not relevant to Android. See the comment in the test.
|
||||
skip-if = toolkit == 'android'
|
||||
[test_self_signed_certs.js]
|
||||
[test_session_resumption.js]
|
||||
skip-if =
|
||||
os == "win" # Bug 1585916
|
||||
run-sequentially = hardcoded ports
|
||||
[test_signed_apps.js]
|
||||
[test_ssl_status.js]
|
||||
run-sequentially = hardcoded ports
|
||||
[test_sss_eviction.js]
|
||||
skip-if = condprof # Bug 1769154 - as designed
|
||||
[test_sss_originAttributes.js]
|
||||
[test_sss_migration.js]
|
||||
skip-if = condprof # Bug 1769154 - as designed
|
||||
[test_sss_readstate.js]
|
||||
skip-if = condprof # Bug 1769154 - as designed
|
||||
[test_sss_readstate_empty.js]
|
||||
skip-if = condprof # Bug 1769154 - as designed
|
||||
[test_sss_readstate_garbage.js]
|
||||
skip-if = condprof # Bug 1769154 - as designed
|
||||
[test_sss_readstate_huge.js]
|
||||
skip-if = condprof # Bug 1769154 - as designed
|
||||
[test_sss_resetState.js]
|
||||
[test_sss_savestate.js]
|
||||
skip-if = condprof # Bug 1769154 - as designed
|
||||
[test_sss_sanitizeOnShutdown.js]
|
||||
firefox-appdir = browser
|
||||
# Sanitization works differently on Android - this doesn't apply.
|
||||
# browser/modules/Sanitizer.jsm used by the test isn't available in Thunderbird.
|
||||
skip-if = toolkit == 'android' || appname == 'thunderbird'
|
||||
[test_sts_fqdn.js]
|
||||
[test_sts_ipv4_ipv6.js]
|
||||
[test_sts_parser.js]
|
||||
[test_sts_preloadlist_perwindowpb.js]
|
||||
[test_sts_preloadlist_selfdestruct.js]
|
||||
[test_sanctions_symantec_apple_google.js]
|
||||
run-sequentially = hardcoded ports
|
||||
[test_validity.js]
|
||||
run-sequentially = hardcoded ports
|
||||
[test_x509.js]
|
363
security/manager/ssl/tests/unit/xpcshell.toml
Normal file
363
security/manager/ssl/tests/unit/xpcshell.toml
Normal file
@ -0,0 +1,363 @@
|
||||
[DEFAULT]
|
||||
head = "head_psm.js"
|
||||
tags = "psm condprof"
|
||||
firefox-appdir = "browser"
|
||||
skip-if = ["os == 'win' && msix"] # https://bugzilla.mozilla.org/show_bug.cgi?id=1809477
|
||||
support-files = [
|
||||
"corrupted_crlite_helper.js",
|
||||
"bad_certs/**",
|
||||
"ocsp_certs/**",
|
||||
"test_baseline_requirements/**",
|
||||
"test_broken_fips/**",
|
||||
"test_cert_eku/**",
|
||||
"test_cert_embedded_null/**",
|
||||
"test_cert_isBuiltInRoot_reload/**",
|
||||
"test_cert_keyUsage/**",
|
||||
"test_cert_overrides_read_only/**",
|
||||
"test_cert_sha1/**",
|
||||
"test_cert_signatures/**",
|
||||
"test_cert_storage_direct/**",
|
||||
"test_cert_storage_preexisting/**",
|
||||
"test_cert_storage_preexisting_crlite/**",
|
||||
"test_cert_trust/**",
|
||||
"test_cert_utf8/**",
|
||||
"test_cert_version/**",
|
||||
"test_certDB_import/**",
|
||||
"test_content_signing/**",
|
||||
"test_crlite_filters/**",
|
||||
"test_crlite_preexisting/**",
|
||||
"test_crlite_corrupted/**",
|
||||
"test_ct/**",
|
||||
"test_delegated_credentials/**",
|
||||
"test_encrypted_client_hello/**",
|
||||
"test_ev_certs/**",
|
||||
"test_faulty_server/**",
|
||||
"test_intermediate_basic_usage_constraints/**",
|
||||
"test_intermediate_preloads/**",
|
||||
"test_keysize/**",
|
||||
"test_keysize_ev/**",
|
||||
"test_missing_intermediate/**",
|
||||
"test_name_constraints/**",
|
||||
"test_ocsp_url/**",
|
||||
"test_onecrl/**",
|
||||
"test_sanctions/**",
|
||||
"test_sdr_preexisting/**",
|
||||
"test_sdr_preexisting_with_password/**",
|
||||
"test_self_signed_certs/**",
|
||||
"test_signed_apps/**",
|
||||
"test_validity/**",
|
||||
"tlsserver/**",
|
||||
]
|
||||
|
||||
["test_add_preexisting_cert.js"]
|
||||
|
||||
["test_allow_all_cert_errors.js"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_baseline_requirements_subject_common_name.js"]
|
||||
|
||||
["test_blocklist_onecrl.js"]
|
||||
# Skip signature tests for Thunderbird (Bug 1341983).
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
tags = "remote-settings blocklist psm"
|
||||
|
||||
["test_broken_fips.js"]
|
||||
# FIPS has never been a thing on Android, so the workaround doesn't
|
||||
# exist on that platform.
|
||||
# FIPS still works on Linux, so this test doesn't make any sense there.
|
||||
# FIPS still works on Windows, but running the test to ensure that it does not
|
||||
# break with a non-ASCII profile path.
|
||||
skip-if = [
|
||||
"os == 'android'",
|
||||
"os == 'linux'"
|
||||
]
|
||||
|
||||
["test_certDB_export_pkcs12.js"]
|
||||
|
||||
["test_certDB_export_pkcs12_with_primary_password.js"]
|
||||
|
||||
["test_certDB_import.js"]
|
||||
# nsCertificateDialogs not available in geckoview, bug 1554276
|
||||
skip-if = ["os == 'android' && processor == 'x86_64'"]
|
||||
|
||||
["test_certDB_import_pkcs12.js"]
|
||||
|
||||
["test_certDB_import_with_primary_password.js"]
|
||||
# nsCertificateDialogs not available in geckoview, bug 1554276
|
||||
skip-if = ["os == 'android' && processor == 'x86_64'"]
|
||||
|
||||
["test_cert_chains.js"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_cert_dbKey.js"]
|
||||
|
||||
["test_cert_eku.js"]
|
||||
|
||||
["test_cert_embedded_null.js"]
|
||||
|
||||
["test_cert_expiration_canary.js"]
|
||||
run-if = ["nightly_build"]
|
||||
|
||||
["test_cert_isBuiltInRoot.js"]
|
||||
|
||||
["test_cert_isBuiltInRoot_reload.js"]
|
||||
|
||||
["test_cert_keyUsage.js"]
|
||||
|
||||
["test_cert_override_read.js"]
|
||||
|
||||
["test_cert_overrides.js"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_cert_overrides_read_only.js"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_cert_sha1.js"]
|
||||
|
||||
["test_cert_signatures.js"]
|
||||
|
||||
["test_cert_storage.js"]
|
||||
tags = "addons psm blocklist"
|
||||
|
||||
["test_cert_storage_broken_db.js"]
|
||||
|
||||
["test_cert_storage_direct.js"]
|
||||
|
||||
["test_cert_storage_preexisting.js"]
|
||||
|
||||
["test_cert_storage_preexisting_crlite.js"]
|
||||
# This test cannot succeed on 32-bit platforms. See bugs 1546361 and 1548956.
|
||||
skip-if = ["bits != 64"]
|
||||
|
||||
["test_cert_trust.js"]
|
||||
|
||||
["test_cert_utf8.js"]
|
||||
|
||||
["test_cert_version.js"]
|
||||
|
||||
["test_client_auth_remember_service_read.js"]
|
||||
skip-if = ["condprof"]
|
||||
|
||||
["test_constructX509FromBase64.js"]
|
||||
|
||||
["test_content_signing.js"]
|
||||
|
||||
["test_crlite_coverage_missing.js"]
|
||||
|
||||
["test_crlite_coverage_trunc1.js"]
|
||||
|
||||
["test_crlite_coverage_trunc2.js"]
|
||||
|
||||
["test_crlite_coverage_trunc3.js"]
|
||||
|
||||
["test_crlite_coverage_version.js"]
|
||||
|
||||
["test_crlite_enrollment_trunc1.js"]
|
||||
|
||||
["test_crlite_enrollment_version.js"]
|
||||
|
||||
["test_crlite_filter_corrupted.js"]
|
||||
|
||||
["test_crlite_filters.js"]
|
||||
tags = "remote-settings psm"
|
||||
|
||||
["test_crlite_preexisting.js"]
|
||||
|
||||
["test_crlite_stash_corrupted.js"]
|
||||
|
||||
["test_ct.js"]
|
||||
# Requires hard-coded debug-only data
|
||||
skip-if = ["!debug"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_data_storage.js"]
|
||||
|
||||
["test_db_format_pref_new.js"]
|
||||
# Android always has and always will use the new format, so
|
||||
# this test doesn't apply.
|
||||
skip-if = [
|
||||
"os == 'android'",
|
||||
"condprof",
|
||||
] # Bug 1769154 - as designed
|
||||
|
||||
["test_delegated_credentials.js"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_der.js"]
|
||||
|
||||
["test_encrypted_client_hello.js"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_encrypted_client_hello_client_only.js"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_enterprise_roots.js"]
|
||||
# This feature is implemented for Windows and OS X. However, we don't currently
|
||||
# have a way to test it on OS X.
|
||||
skip-if = ["os != 'win'"]
|
||||
|
||||
["test_ev_certs.js"]
|
||||
tags = "blocklist psm"
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_forget_about_site_security_headers.js"]
|
||||
|
||||
["test_hash_algorithms.js"]
|
||||
|
||||
["test_hash_algorithms_wrap.js"]
|
||||
# bug 1124289 - run_test_in_child violates the sandbox on android
|
||||
skip-if = ["os == 'android'"]
|
||||
|
||||
["test_intermediate_basic_usage_constraints.js"]
|
||||
|
||||
["test_intermediate_preloads.js"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
tags = "blocklist psm remote-settings"
|
||||
|
||||
["test_keysize.js"]
|
||||
|
||||
["test_keysize_ev.js"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_logoutAndTeardown.js"]
|
||||
skip-if = ["socketprocess_networking && os == 'linux' && debug"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_missing_intermediate.js"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_name_constraints.js"]
|
||||
|
||||
["test_nonascii_path.js"]
|
||||
|
||||
["test_nsCertType.js"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_nsIX509CertValidity.js"]
|
||||
|
||||
["test_nsIX509Cert_utf8.js"]
|
||||
|
||||
["test_ocsp_caching.js"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_ocsp_enabled_pref.js"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_ocsp_must_staple.js"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_ocsp_no_hsts_upgrade.js"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_ocsp_private_caching.js"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
skip-if = ["condprof"] # Bug 1769154 - should look into this
|
||||
|
||||
["test_ocsp_required.js"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_ocsp_stapling.js"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_ocsp_stapling_expired.js"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_ocsp_stapling_with_intermediate.js"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_ocsp_timeout.js"]
|
||||
skip-if = ["(os == 'win' && socketprocess_networking)"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_ocsp_url.js"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_oskeystore.js"]
|
||||
skip-if = ["apple_silicon"] # bug 1729538
|
||||
|
||||
["test_osreauthenticator.js"]
|
||||
# Reauthentication has been implemented on Windows and MacOS, so running this
|
||||
# test results in the OS popping up a dialog, which means we can't run it in
|
||||
# automation.
|
||||
skip-if = [
|
||||
"os == 'win'",
|
||||
"os == 'mac'"
|
||||
]
|
||||
|
||||
["test_password_prompt.js"]
|
||||
|
||||
["test_pinning.js"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_sanctions_symantec_apple_google.js"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_sdr.js"]
|
||||
|
||||
["test_sdr_preexisting.js"]
|
||||
# Not relevant to Android. See the comment in the test.
|
||||
skip-if = ["os == 'android'"]
|
||||
|
||||
["test_sdr_preexisting_with_password.js"]
|
||||
# Not relevant to Android. See the comment in the test.
|
||||
skip-if = ["os == 'android'"]
|
||||
|
||||
["test_self_signed_certs.js"]
|
||||
|
||||
["test_session_resumption.js"]
|
||||
skip-if = ["os == 'win'"] # Bug 1585916
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_signed_apps.js"]
|
||||
|
||||
["test_ssl_status.js"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_sss_eviction.js"]
|
||||
skip-if = ["condprof"] # Bug 1769154 - as designed
|
||||
|
||||
["test_sss_migration.js"]
|
||||
skip-if = ["condprof"] # Bug 1769154 - as designed
|
||||
|
||||
["test_sss_originAttributes.js"]
|
||||
|
||||
["test_sss_readstate.js"]
|
||||
skip-if = ["condprof"] # Bug 1769154 - as designed
|
||||
|
||||
["test_sss_readstate_empty.js"]
|
||||
skip-if = ["condprof"] # Bug 1769154 - as designed
|
||||
|
||||
["test_sss_readstate_garbage.js"]
|
||||
skip-if = ["condprof"] # Bug 1769154 - as designed
|
||||
|
||||
["test_sss_readstate_huge.js"]
|
||||
skip-if = ["condprof"] # Bug 1769154 - as designed
|
||||
|
||||
["test_sss_resetState.js"]
|
||||
|
||||
["test_sss_sanitizeOnShutdown.js"]
|
||||
firefox-appdir = "browser"
|
||||
# Sanitization works differently on Android - this doesn't apply.
|
||||
# browser/modules/Sanitizer.jsm used by the test isn't available in Thunderbird.
|
||||
skip-if = [
|
||||
"os == 'android'",
|
||||
"appname == 'thunderbird'"
|
||||
]
|
||||
|
||||
["test_sss_savestate.js"]
|
||||
skip-if = ["condprof"] # Bug 1769154 - as designed
|
||||
|
||||
["test_sts_fqdn.js"]
|
||||
|
||||
["test_sts_ipv4_ipv6.js"]
|
||||
|
||||
["test_sts_parser.js"]
|
||||
|
||||
["test_sts_preloadlist_perwindowpb.js"]
|
||||
|
||||
["test_sts_preloadlist_selfdestruct.js"]
|
||||
|
||||
["test_validity.js"]
|
||||
run-sequentially = "hardcoded ports"
|
||||
|
||||
["test_x509.js"]
|
@ -4,6 +4,6 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell.ini"]
|
||||
XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell.toml"]
|
||||
|
||||
TEST_DIRS += ["unit"]
|
||||
|
@ -1,47 +0,0 @@
|
||||
[DEFAULT]
|
||||
head = head_global.js head_helpers.js head_http.js
|
||||
firefox-appdir = browser
|
||||
support-files =
|
||||
test_storage_adapter/**
|
||||
|
||||
# Test load modules first so syntax failures are caught early.
|
||||
[test_load_modules.js]
|
||||
|
||||
[test_kinto.js]
|
||||
tags = blocklist
|
||||
[test_storage_adapter.js]
|
||||
tags = remote-settings blocklist
|
||||
[test_storage_adapter_shutdown.js]
|
||||
tags = remote-settings blocklist
|
||||
|
||||
[test_utils_atob.js]
|
||||
[test_utils_convert_string.js]
|
||||
[test_utils_dateprefs.js]
|
||||
[test_utils_encodeBase32.js]
|
||||
[test_utils_encodeBase64URL.js]
|
||||
[test_utils_ensureMillisecondsTimestamp.js]
|
||||
[test_utils_makeURI.js]
|
||||
[test_utils_namedTimer.js]
|
||||
[test_utils_sets.js]
|
||||
[test_utils_utf8.js]
|
||||
[test_utils_uuid.js]
|
||||
|
||||
[test_async_chain.js]
|
||||
[test_async_foreach.js]
|
||||
|
||||
[test_hawkclient.js]
|
||||
skip-if = os == "android"
|
||||
[test_hawkrequest.js]
|
||||
skip-if = os == "android"
|
||||
|
||||
[test_logmanager.js]
|
||||
[test_observers.js]
|
||||
[test_restrequest.js]
|
||||
|
||||
[test_tokenauthenticatedrequest.js]
|
||||
|
||||
[test_tokenserverclient.js]
|
||||
skip-if = os == "android"
|
||||
|
||||
[test_uptake_telemetry.js]
|
||||
tags = remote-settings
|
63
services/common/tests/unit/xpcshell.toml
Normal file
63
services/common/tests/unit/xpcshell.toml
Normal file
@ -0,0 +1,63 @@
|
||||
[DEFAULT]
|
||||
head = "head_global.js head_helpers.js head_http.js"
|
||||
firefox-appdir = "browser"
|
||||
support-files = ["test_storage_adapter/**"]
|
||||
|
||||
# Test load modules first so syntax failures are caught early.
|
||||
|
||||
["test_async_chain.js"]
|
||||
|
||||
["test_async_foreach.js"]
|
||||
|
||||
["test_hawkclient.js"]
|
||||
skip-if = ["os == 'android'"]
|
||||
|
||||
["test_hawkrequest.js"]
|
||||
skip-if = ["os == 'android'"]
|
||||
|
||||
["test_kinto.js"]
|
||||
tags = "blocklist"
|
||||
|
||||
["test_load_modules.js"]
|
||||
|
||||
["test_logmanager.js"]
|
||||
|
||||
["test_observers.js"]
|
||||
|
||||
["test_restrequest.js"]
|
||||
|
||||
["test_storage_adapter.js"]
|
||||
tags = "remote-settings blocklist"
|
||||
|
||||
["test_storage_adapter_shutdown.js"]
|
||||
tags = "remote-settings blocklist"
|
||||
|
||||
["test_tokenauthenticatedrequest.js"]
|
||||
|
||||
["test_tokenserverclient.js"]
|
||||
skip-if = ["os == 'android'"]
|
||||
|
||||
["test_uptake_telemetry.js"]
|
||||
tags = "remote-settings"
|
||||
|
||||
["test_utils_atob.js"]
|
||||
|
||||
["test_utils_convert_string.js"]
|
||||
|
||||
["test_utils_dateprefs.js"]
|
||||
|
||||
["test_utils_encodeBase32.js"]
|
||||
|
||||
["test_utils_encodeBase64URL.js"]
|
||||
|
||||
["test_utils_ensureMillisecondsTimestamp.js"]
|
||||
|
||||
["test_utils_makeURI.js"]
|
||||
|
||||
["test_utils_namedTimer.js"]
|
||||
|
||||
["test_utils_sets.js"]
|
||||
|
||||
["test_utils_utf8.js"]
|
||||
|
||||
["test_utils_uuid.js"]
|
@ -7,7 +7,7 @@
|
||||
with Files("**"):
|
||||
BUG_COMPONENT = ("Firefox", "Sync")
|
||||
|
||||
XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.ini"]
|
||||
XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.toml"]
|
||||
|
||||
EXTRA_JS_MODULES["services-crypto"] += [
|
||||
"modules/jwcrypto.sys.mjs",
|
||||
|
@ -1,16 +0,0 @@
|
||||
[DEFAULT]
|
||||
head = head_helpers.js ../../../common/tests/unit/head_helpers.js
|
||||
firefox-appdir = browser
|
||||
support-files =
|
||||
!/services/common/tests/unit/head_helpers.js
|
||||
|
||||
[test_load_modules.js]
|
||||
|
||||
[test_crypto_crypt.js]
|
||||
[test_crypto_random.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
[test_jwcrypto.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
|
||||
[test_utils_hawk.js]
|
||||
[test_utils_httpmac.js]
|
18
services/crypto/tests/unit/xpcshell.toml
Normal file
18
services/crypto/tests/unit/xpcshell.toml
Normal file
@ -0,0 +1,18 @@
|
||||
[DEFAULT]
|
||||
head = "head_helpers.js ../../../common/tests/unit/head_helpers.js"
|
||||
firefox-appdir = "browser"
|
||||
support-files = ["!/services/common/tests/unit/head_helpers.js"]
|
||||
|
||||
["test_crypto_crypt.js"]
|
||||
|
||||
["test_crypto_random.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
|
||||
["test_jwcrypto.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
|
||||
["test_load_modules.js"]
|
||||
|
||||
["test_utils_hawk.js"]
|
||||
|
||||
["test_utils_httpmac.js"]
|
@ -11,7 +11,7 @@ MOCHITEST_CHROME_MANIFESTS += ["tests/mochitest/chrome.toml"]
|
||||
|
||||
BROWSER_CHROME_MANIFESTS += ["tests/browser/browser.toml"]
|
||||
|
||||
XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell/xpcshell.ini"]
|
||||
XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell/xpcshell.toml"]
|
||||
|
||||
EXTRA_JS_MODULES += [
|
||||
"Credentials.sys.mjs",
|
||||
|
@ -1,26 +0,0 @@
|
||||
[DEFAULT]
|
||||
head = head.js ../../../common/tests/unit/head_helpers.js ../../../common/tests/unit/head_http.js
|
||||
firefox-appdir = browser
|
||||
skip-if = (toolkit == 'android' || appname == 'thunderbird')
|
||||
support-files =
|
||||
!/services/common/tests/unit/head_helpers.js
|
||||
!/services/common/tests/unit/head_http.js
|
||||
|
||||
[test_accounts.js]
|
||||
[test_accounts_config.js]
|
||||
[test_accounts_device_registration.js]
|
||||
[test_client.js]
|
||||
[test_commands.js]
|
||||
[test_credentials.js]
|
||||
[test_device.js]
|
||||
[test_keys.js]
|
||||
[test_loginmgr_storage.js]
|
||||
[test_oauth_tokens.js]
|
||||
[test_oauth_token_storage.js]
|
||||
[test_pairing.js]
|
||||
[test_profile_client.js]
|
||||
[test_push_service.js]
|
||||
[test_telemetry.js]
|
||||
[test_web_channel.js]
|
||||
[test_profile.js]
|
||||
[test_storage_manager.js]
|
47
services/fxaccounts/tests/xpcshell/xpcshell.toml
Normal file
47
services/fxaccounts/tests/xpcshell/xpcshell.toml
Normal file
@ -0,0 +1,47 @@
|
||||
[DEFAULT]
|
||||
head = "head.js ../../../common/tests/unit/head_helpers.js ../../../common/tests/unit/head_http.js"
|
||||
firefox-appdir = "browser"
|
||||
skip-if = [
|
||||
"os == 'android'",
|
||||
"appname == 'thunderbird'",
|
||||
]
|
||||
support-files = [
|
||||
"!/services/common/tests/unit/head_helpers.js",
|
||||
"!/services/common/tests/unit/head_http.js",
|
||||
]
|
||||
|
||||
["test_accounts.js"]
|
||||
|
||||
["test_accounts_config.js"]
|
||||
|
||||
["test_accounts_device_registration.js"]
|
||||
|
||||
["test_client.js"]
|
||||
|
||||
["test_commands.js"]
|
||||
|
||||
["test_credentials.js"]
|
||||
|
||||
["test_device.js"]
|
||||
|
||||
["test_keys.js"]
|
||||
|
||||
["test_loginmgr_storage.js"]
|
||||
|
||||
["test_oauth_token_storage.js"]
|
||||
|
||||
["test_oauth_tokens.js"]
|
||||
|
||||
["test_pairing.js"]
|
||||
|
||||
["test_profile.js"]
|
||||
|
||||
["test_profile_client.js"]
|
||||
|
||||
["test_push_service.js"]
|
||||
|
||||
["test_storage_manager.js"]
|
||||
|
||||
["test_telemetry.js"]
|
||||
|
||||
["test_web_channel.js"]
|
@ -32,6 +32,6 @@ XPCOM_MANIFESTS += [
|
||||
"components.conf",
|
||||
]
|
||||
|
||||
XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.ini"]
|
||||
XPCSHELL_TESTS_MANIFESTS += ["test/unit/xpcshell.toml"]
|
||||
|
||||
SPHINX_TREES["/services/settings"] = "docs"
|
||||
|
@ -1,24 +0,0 @@
|
||||
[DEFAULT]
|
||||
head = ../../../common/tests/unit/head_global.js ../../../common/tests/unit/head_helpers.js
|
||||
firefox-appdir = browser
|
||||
tags = remote-settings
|
||||
support-files =
|
||||
test_remote_settings_signatures/**
|
||||
skip-if = appname == "thunderbird" # Bug 1662758 - these tests don't pass if default bucket isn't "main".
|
||||
|
||||
[test_attachments_downloader.js]
|
||||
support-files = test_attachments_downloader/**
|
||||
[test_remote_settings.js]
|
||||
[test_remote_settings_dump_lastmodified.js]
|
||||
[test_remote_settings_offline.js]
|
||||
[test_remote_settings_poll.js]
|
||||
[test_remote_settings_recover_broken.js]
|
||||
[test_remote_settings_worker.js]
|
||||
[test_remote_settings_jexl_filters.js]
|
||||
[test_remote_settings_release_prefs.js]
|
||||
[test_remote_settings_signatures.js]
|
||||
[test_remote_settings_sync_history.js]
|
||||
[test_remote_settings_utils.js]
|
||||
[test_remote_settings_utils_telemetry.js]
|
||||
skip-if = os == "android" # bug 1739463
|
||||
[test_shutdown_handling.js]
|
36
services/settings/test/unit/xpcshell.toml
Normal file
36
services/settings/test/unit/xpcshell.toml
Normal file
@ -0,0 +1,36 @@
|
||||
[DEFAULT]
|
||||
head = "../../../common/tests/unit/head_global.js ../../../common/tests/unit/head_helpers.js"
|
||||
firefox-appdir = "browser"
|
||||
tags = "remote-settings"
|
||||
support-files = ["test_remote_settings_signatures/**"]
|
||||
skip-if = ["appname == 'thunderbird'"] # Bug 1662758 - these tests don't pass if default bucket isn't "main".
|
||||
|
||||
["test_attachments_downloader.js"]
|
||||
support-files = ["test_attachments_downloader/**"]
|
||||
|
||||
["test_remote_settings.js"]
|
||||
|
||||
["test_remote_settings_dump_lastmodified.js"]
|
||||
|
||||
["test_remote_settings_jexl_filters.js"]
|
||||
|
||||
["test_remote_settings_offline.js"]
|
||||
|
||||
["test_remote_settings_poll.js"]
|
||||
|
||||
["test_remote_settings_recover_broken.js"]
|
||||
|
||||
["test_remote_settings_release_prefs.js"]
|
||||
|
||||
["test_remote_settings_signatures.js"]
|
||||
|
||||
["test_remote_settings_sync_history.js"]
|
||||
|
||||
["test_remote_settings_utils.js"]
|
||||
|
||||
["test_remote_settings_utils_telemetry.js"]
|
||||
skip-if = ["os == 'android'"] # bug 1739463
|
||||
|
||||
["test_remote_settings_worker.js"]
|
||||
|
||||
["test_shutdown_handling.js"]
|
@ -7,7 +7,7 @@
|
||||
with Files("**"):
|
||||
BUG_COMPONENT = ("Firefox", "Sync")
|
||||
|
||||
XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.ini"]
|
||||
XPCSHELL_TESTS_MANIFESTS += ["tests/unit/xpcshell.toml"]
|
||||
|
||||
EXTRA_COMPONENTS += [
|
||||
"SyncComponents.manifest",
|
||||
|
@ -1,212 +0,0 @@
|
||||
[DEFAULT]
|
||||
head = head_appinfo.js ../../../common/tests/unit/head_helpers.js head_helpers.js head_http_server.js head_errorhandler_common.js
|
||||
firefox-appdir = browser
|
||||
prefs =
|
||||
identity.fxaccounts.enabled=true
|
||||
support-files =
|
||||
addon1-search.json
|
||||
bootstrap1-search.json
|
||||
missing-sourceuri.json
|
||||
missing-xpi-search.json
|
||||
rewrite-search.json
|
||||
sync_ping_schema.json
|
||||
systemaddon-search.json
|
||||
!/services/common/tests/unit/head_helpers.js
|
||||
!/toolkit/components/extensions/test/xpcshell/head_sync.js
|
||||
|
||||
# The manifest is roughly ordered from low-level to high-level. When making
|
||||
# systemic sweeping changes, this makes it easier to identify errors closer to
|
||||
# the source.
|
||||
|
||||
# Ensure we can import everything.
|
||||
[test_load_modules.js]
|
||||
|
||||
# util contains a bunch of functionality used throughout.
|
||||
[test_utils_catch.js]
|
||||
[test_utils_deepEquals.js]
|
||||
[test_utils_deferGetSet.js]
|
||||
[test_utils_keyEncoding.js]
|
||||
[test_utils_json.js]
|
||||
[test_utils_lock.js]
|
||||
[test_utils_makeGUID.js]
|
||||
run-sequentially = Disproportionately slows down full test run, bug 1450316
|
||||
[test_utils_notify.js]
|
||||
[test_utils_passphrase.js]
|
||||
|
||||
# We have a number of other libraries that are pretty much standalone.
|
||||
[test_addon_utils.js]
|
||||
run-sequentially = Restarts server, can't change pref.
|
||||
tags = addons
|
||||
[test_httpd_sync_server.js]
|
||||
|
||||
# HTTP layers.
|
||||
[test_resource.js]
|
||||
[test_resource_header.js]
|
||||
[test_resource_ua.js]
|
||||
|
||||
# Generic Sync types.
|
||||
[test_collection_getBatched.js]
|
||||
[test_collections_recovery.js]
|
||||
[test_keys.js]
|
||||
[test_records_crypto.js]
|
||||
[test_records_wbo.js]
|
||||
[test_sync_auth_manager.js]
|
||||
|
||||
# Engine APIs.
|
||||
[test_engine.js]
|
||||
[test_engine_abort.js]
|
||||
[test_engine_changes_during_sync.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
[test_enginemanager.js]
|
||||
[test_syncengine.js]
|
||||
[test_syncengine_sync.js]
|
||||
run-sequentially = Frequent timeouts, bug 1395148
|
||||
[test_tracker_addChanged.js]
|
||||
|
||||
# Service semantics.
|
||||
[test_service_attributes.js]
|
||||
# Bug 752243: Profile cleanup frequently fails
|
||||
skip-if =
|
||||
os == "mac"
|
||||
os == "linux"
|
||||
[test_service_cluster.js]
|
||||
[test_service_detect_upgrade.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
[test_service_login.js]
|
||||
[test_service_startOver.js]
|
||||
[test_service_startup.js]
|
||||
[test_service_sync_401.js]
|
||||
[test_service_sync_locked.js]
|
||||
[test_service_sync_remoteSetup.js]
|
||||
run-sequentially = Frequent timeouts, bug 1395148
|
||||
[test_service_sync_specified.js]
|
||||
[test_service_sync_updateEnabledEngines.js]
|
||||
run-sequentially = Frequent timeouts, bug 1395148
|
||||
[test_service_verifyLogin.js]
|
||||
[test_service_wipeClient.js]
|
||||
[test_service_wipeServer.js]
|
||||
# Bug 752243: Profile cleanup frequently fails
|
||||
skip-if =
|
||||
os == "mac"
|
||||
os == "linux"
|
||||
|
||||
[test_corrupt_keys.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
[test_declined.js]
|
||||
[test_errorhandler_1.js]
|
||||
run-sequentially = Frequent timeouts, bug 1395148
|
||||
[test_errorhandler_2.js]
|
||||
run-sequentially = Frequent timeouts, bug 1395148
|
||||
[test_errorhandler_filelog.js]
|
||||
[test_errorhandler_sync_checkServerError.js]
|
||||
[test_hmac_error.js]
|
||||
[test_interval_triggers.js]
|
||||
[test_node_reassignment.js]
|
||||
run-sequentially = Frequent timeouts, bug 1395148
|
||||
[test_score_triggers.js]
|
||||
[test_status.js]
|
||||
[test_status_checkSetup.js]
|
||||
[test_syncscheduler.js]
|
||||
run-sequentially = Frequent timeouts, bug 1395148
|
||||
|
||||
# Firefox Accounts specific tests
|
||||
[test_fxa_service_cluster.js]
|
||||
[test_fxa_node_reassignment.js]
|
||||
run-sequentially = Frequent timeouts, bug 1395148
|
||||
|
||||
# Finally, we test each engine.
|
||||
[test_addons_engine.js]
|
||||
run-sequentially = Hardcoded port in static files.
|
||||
tags = addons
|
||||
[test_addons_reconciler.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
tags = addons
|
||||
[test_addons_store.js]
|
||||
run-sequentially = Hardcoded port in static files.
|
||||
tags = addons
|
||||
[test_addons_tracker.js]
|
||||
tags = addons
|
||||
[test_addons_validator.js]
|
||||
tags = addons
|
||||
[test_bookmark_batch_fail.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
[test_bookmark_engine.js]
|
||||
skip-if =
|
||||
appname == 'thunderbird'
|
||||
tsan # Runs unreasonably slow on TSan, bug 1612707
|
||||
[test_bookmark_order.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
[test_bookmark_places_query_rewriting.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
[test_bookmark_record.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
[test_bookmark_store.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
[test_bookmark_decline_undecline.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
[test_bookmark_tracker.js]
|
||||
skip-if =
|
||||
appname == 'thunderbird'
|
||||
tsan # Runs unreasonably slow on TSan, bug 1612707
|
||||
requesttimeoutfactor = 4
|
||||
[test_bridged_engine.js]
|
||||
[test_clients_engine.js]
|
||||
run-sequentially = Frequent timeouts, bug 1395148
|
||||
[test_clients_escape.js]
|
||||
[test_extension_storage_migration_telem.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
run-sequentially = extension-storage migration happens only once, and must be tested first.
|
||||
[test_extension_storage_engine.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
run-sequentially = extension-storage migration happens only once, and must be tested first.
|
||||
[test_extension_storage_engine_kinto.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
run-sequentially = extension-storage migration happens only once, and must be tested first.
|
||||
[test_extension_storage_tracker_kinto.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
[test_forms_store.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
[test_forms_tracker.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
[test_form_validator.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
[test_history_engine.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
[test_history_store.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
[test_history_tracker.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
[test_password_engine.js]
|
||||
[test_password_store.js]
|
||||
[test_password_validator.js]
|
||||
[test_password_tracker.js]
|
||||
[test_prefs_engine.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
[test_prefs_store.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
support-files = prefs_test_prefs_store.js
|
||||
[test_prefs_tracker.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
[test_tab_engine.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
[test_tab_quickwrite.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
[test_tab_provider.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
[test_tab_tracker.js]
|
||||
skip-if = appname == 'thunderbird'
|
||||
|
||||
[test_postqueue.js]
|
||||
|
||||
# Synced tabs.
|
||||
[test_syncedtabs.js]
|
||||
|
||||
[test_telemetry.js]
|
||||
skip-if =
|
||||
appname == 'thunderbird'
|
||||
tsan # Unreasonably slow, bug 1612707
|
||||
requesttimeoutfactor = 4
|
||||
|
||||
[test_uistate.js]
|
||||
[test_412.js]
|
||||
[test_disconnect_shutdown.js]
|
304
services/sync/tests/unit/xpcshell.toml
Normal file
304
services/sync/tests/unit/xpcshell.toml
Normal file
@ -0,0 +1,304 @@
|
||||
[DEFAULT]
|
||||
head = "head_appinfo.js ../../../common/tests/unit/head_helpers.js head_helpers.js head_http_server.js head_errorhandler_common.js"
|
||||
firefox-appdir = "browser"
|
||||
prefs = ["identity.fxaccounts.enabled=true"]
|
||||
support-files = [
|
||||
"addon1-search.json",
|
||||
"bootstrap1-search.json",
|
||||
"missing-sourceuri.json",
|
||||
"missing-xpi-search.json",
|
||||
"rewrite-search.json",
|
||||
"sync_ping_schema.json",
|
||||
"systemaddon-search.json",
|
||||
"!/services/common/tests/unit/head_helpers.js",
|
||||
"!/toolkit/components/extensions/test/xpcshell/head_sync.js",
|
||||
]
|
||||
|
||||
# The manifest is roughly ordered from low-level to high-level. When making
|
||||
# systemic sweeping changes, this makes it easier to identify errors closer to
|
||||
# the source.
|
||||
|
||||
# Ensure we can import everything.
|
||||
|
||||
["test_412.js"]
|
||||
|
||||
["test_addon_utils.js"]
|
||||
run-sequentially = "Restarts server, can't change pref."
|
||||
tags = "addons"
|
||||
|
||||
["test_addons_engine.js"]
|
||||
run-sequentially = "Frequent timeouts, bug 1395148"
|
||||
tags = "addons"
|
||||
|
||||
["test_addons_reconciler.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
tags = "addons"
|
||||
|
||||
["test_addons_store.js"]
|
||||
run-sequentially = "Frequent timeouts, bug 1395148"
|
||||
tags = "addons"
|
||||
|
||||
["test_addons_tracker.js"]
|
||||
tags = "addons"
|
||||
|
||||
["test_addons_validator.js"]
|
||||
tags = "addons"
|
||||
|
||||
["test_bookmark_batch_fail.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
|
||||
["test_bookmark_decline_undecline.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
|
||||
["test_bookmark_engine.js"]
|
||||
skip-if = [
|
||||
"appname == 'thunderbird'",
|
||||
"tsan", # Runs unreasonably slow on TSan, bug 1612707
|
||||
]
|
||||
|
||||
["test_bookmark_order.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
|
||||
["test_bookmark_places_query_rewriting.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
|
||||
["test_bookmark_record.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
|
||||
["test_bookmark_store.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
|
||||
["test_bookmark_tracker.js"]
|
||||
skip-if = [
|
||||
"appname == 'thunderbird'",
|
||||
"tsan", # Runs unreasonably slow on TSan, bug 1612707
|
||||
]
|
||||
requesttimeoutfactor = 4
|
||||
|
||||
["test_bridged_engine.js"]
|
||||
|
||||
["test_clients_engine.js"]
|
||||
run-sequentially = "Frequent timeouts, bug 1395148"
|
||||
|
||||
["test_clients_escape.js"]
|
||||
|
||||
["test_collection_getBatched.js"]
|
||||
|
||||
["test_collections_recovery.js"]
|
||||
|
||||
["test_corrupt_keys.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
|
||||
["test_declined.js"]
|
||||
|
||||
["test_disconnect_shutdown.js"]
|
||||
|
||||
["test_engine.js"]
|
||||
|
||||
["test_engine_abort.js"]
|
||||
|
||||
["test_engine_changes_during_sync.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
|
||||
["test_enginemanager.js"]
|
||||
|
||||
["test_errorhandler_1.js"]
|
||||
run-sequentially = "Frequent timeouts, bug 1395148"
|
||||
|
||||
["test_errorhandler_2.js"]
|
||||
run-sequentially = "Frequent timeouts, bug 1395148"
|
||||
|
||||
["test_errorhandler_filelog.js"]
|
||||
|
||||
["test_errorhandler_sync_checkServerError.js"]
|
||||
|
||||
["test_extension_storage_engine.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
run-sequentially = "extension-storage migration happens only once, and must be tested first."
|
||||
|
||||
["test_extension_storage_engine_kinto.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
run-sequentially = "extension-storage migration happens only once, and must be tested first."
|
||||
|
||||
["test_extension_storage_migration_telem.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
run-sequentially = "extension-storage migration happens only once, and must be tested first."
|
||||
|
||||
["test_extension_storage_tracker_kinto.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
|
||||
["test_form_validator.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
|
||||
["test_forms_store.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
|
||||
["test_forms_tracker.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
|
||||
["test_fxa_node_reassignment.js"]
|
||||
run-sequentially = "Frequent timeouts, bug 1395148"
|
||||
|
||||
["test_fxa_service_cluster.js"]
|
||||
# Finally, we test each engine.
|
||||
|
||||
["test_history_engine.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
|
||||
["test_history_store.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
|
||||
["test_history_tracker.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
|
||||
["test_hmac_error.js"]
|
||||
|
||||
["test_httpd_sync_server.js"]
|
||||
# HTTP layers.
|
||||
|
||||
["test_interval_triggers.js"]
|
||||
|
||||
["test_keys.js"]
|
||||
|
||||
["test_load_modules.js"]
|
||||
# util contains a bunch of functionality used throughout.
|
||||
|
||||
["test_node_reassignment.js"]
|
||||
run-sequentially = "Frequent timeouts, bug 1395148"
|
||||
|
||||
["test_password_engine.js"]
|
||||
|
||||
["test_password_store.js"]
|
||||
|
||||
["test_password_tracker.js"]
|
||||
|
||||
["test_password_validator.js"]
|
||||
|
||||
["test_postqueue.js"]
|
||||
# Synced tabs.
|
||||
|
||||
["test_prefs_engine.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
|
||||
["test_prefs_store.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
support-files = ["prefs_test_prefs_store.js"]
|
||||
|
||||
["test_prefs_tracker.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
|
||||
["test_records_crypto.js"]
|
||||
|
||||
["test_records_wbo.js"]
|
||||
|
||||
["test_resource.js"]
|
||||
|
||||
["test_resource_header.js"]
|
||||
|
||||
["test_resource_ua.js"]
|
||||
# Generic Sync types.
|
||||
|
||||
["test_score_triggers.js"]
|
||||
|
||||
["test_service_attributes.js"]
|
||||
# Bug 752243: Profile cleanup frequently fails
|
||||
skip-if = [
|
||||
"os == 'mac'",
|
||||
"os == 'linux'",
|
||||
]
|
||||
|
||||
["test_service_cluster.js"]
|
||||
|
||||
["test_service_detect_upgrade.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
|
||||
["test_service_login.js"]
|
||||
|
||||
["test_service_startOver.js"]
|
||||
|
||||
["test_service_startup.js"]
|
||||
|
||||
["test_service_sync_401.js"]
|
||||
|
||||
["test_service_sync_locked.js"]
|
||||
|
||||
["test_service_sync_remoteSetup.js"]
|
||||
run-sequentially = "Frequent timeouts, bug 1395148"
|
||||
|
||||
["test_service_sync_specified.js"]
|
||||
|
||||
["test_service_sync_updateEnabledEngines.js"]
|
||||
run-sequentially = "Frequent timeouts, bug 1395148"
|
||||
|
||||
["test_service_verifyLogin.js"]
|
||||
|
||||
["test_service_wipeClient.js"]
|
||||
|
||||
["test_service_wipeServer.js"]
|
||||
# Bug 752243: Profile cleanup frequently fails
|
||||
skip-if = [
|
||||
"os == 'mac'",
|
||||
"os == 'linux'",
|
||||
]
|
||||
|
||||
["test_status.js"]
|
||||
|
||||
["test_status_checkSetup.js"]
|
||||
|
||||
["test_sync_auth_manager.js"]
|
||||
# Engine APIs.
|
||||
|
||||
["test_syncedtabs.js"]
|
||||
|
||||
["test_syncengine.js"]
|
||||
|
||||
["test_syncengine_sync.js"]
|
||||
run-sequentially = "Frequent timeouts, bug 1395148"
|
||||
|
||||
["test_syncscheduler.js"]
|
||||
run-sequentially = "Frequent timeouts, bug 1395148"
|
||||
# Firefox Accounts specific tests
|
||||
|
||||
["test_tab_engine.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
|
||||
["test_tab_provider.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
|
||||
["test_tab_quickwrite.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
|
||||
["test_tab_tracker.js"]
|
||||
skip-if = ["appname == 'thunderbird'"]
|
||||
|
||||
["test_telemetry.js"]
|
||||
skip-if = [
|
||||
"appname == 'thunderbird'",
|
||||
"tsan", # Unreasonably slow, bug 1612707
|
||||
]
|
||||
requesttimeoutfactor = 4
|
||||
|
||||
["test_tracker_addChanged.js"]
|
||||
# Service semantics.
|
||||
|
||||
["test_uistate.js"]
|
||||
|
||||
["test_utils_catch.js"]
|
||||
|
||||
["test_utils_deepEquals.js"]
|
||||
|
||||
["test_utils_deferGetSet.js"]
|
||||
|
||||
["test_utils_json.js"]
|
||||
|
||||
["test_utils_keyEncoding.js"]
|
||||
|
||||
["test_utils_lock.js"]
|
||||
|
||||
["test_utils_makeGUID.js"]
|
||||
run-sequentially = "Disproportionately slows down full test run, bug 1450316"
|
||||
|
||||
["test_utils_notify.js"]
|
||||
|
||||
["test_utils_passphrase.js"]
|
||||
# We have a number of other libraries that are pretty much standalone.
|
@ -4,7 +4,7 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell.ini"]
|
||||
XPCSHELL_TESTS_MANIFESTS += ["unit/xpcshell.toml"]
|
||||
|
||||
TEST_DIRS += ["gtest"]
|
||||
|
||||
|
@ -1,56 +0,0 @@
|
||||
[DEFAULT]
|
||||
head = head_storage.js
|
||||
support-files =
|
||||
baddataDB.sqlite
|
||||
corruptDB.sqlite
|
||||
fakeDB.sqlite
|
||||
goodDB.sqlite
|
||||
locale_collation.txt
|
||||
VacuumParticipant.sys.mjs
|
||||
|
||||
[test_bug-365166.js]
|
||||
[test_bug-393952.js]
|
||||
[test_bug-429521.js]
|
||||
[test_bug-444233.js]
|
||||
[test_cache_size.js]
|
||||
[test_chunk_growth.js]
|
||||
# Bug 676981: test fails consistently on Android
|
||||
fail-if = os == "android"
|
||||
[test_connection_asyncClose.js]
|
||||
[test_connection_executeAsync.js]
|
||||
[test_connection_executeSimpleSQLAsync.js]
|
||||
[test_connection_failsafe_close.js]
|
||||
# The failsafe close mechanism asserts when performing SpinningSynchronousClose
|
||||
# on debug builds, so we can only test on non-debug builds.
|
||||
skip-if = debug
|
||||
[test_connection_interrupt.js]
|
||||
[test_default_journal_size_limit.js]
|
||||
[test_js_helpers.js]
|
||||
[test_levenshtein.js]
|
||||
[test_like.js]
|
||||
[test_like_escape.js]
|
||||
[test_locale_collation.js]
|
||||
[test_minimizeMemory.js]
|
||||
[test_page_size_is_32k.js]
|
||||
[test_persist_journal.js]
|
||||
[test_readonly-immutable-nolock_vfs.js]
|
||||
[test_retry_on_busy.js]
|
||||
[test_sqlite_secure_delete.js]
|
||||
[test_statement_executeAsync.js]
|
||||
[test_statement_wrapper_automatically.js]
|
||||
[test_storage_connection.js]
|
||||
# Bug 676981: test fails consistently on Android
|
||||
fail-if = os == "android"
|
||||
[test_storage_ext.js]
|
||||
[test_storage_ext_fts3.js]
|
||||
skip-if = appname != "thunderbird" && appname != "seamonkey"
|
||||
[test_storage_ext_fts5.js]
|
||||
[test_storage_function.js]
|
||||
[test_storage_progresshandler.js]
|
||||
[test_storage_service.js]
|
||||
[test_storage_service_special.js]
|
||||
[test_storage_service_unshared.js]
|
||||
[test_storage_statement.js]
|
||||
[test_storage_value_array.js]
|
||||
[test_unicode.js]
|
||||
[test_vacuum.js]
|
94
storage/test/unit/xpcshell.toml
Normal file
94
storage/test/unit/xpcshell.toml
Normal file
@ -0,0 +1,94 @@
|
||||
[DEFAULT]
|
||||
head = "head_storage.js"
|
||||
support-files = [
|
||||
"baddataDB.sqlite",
|
||||
"corruptDB.sqlite",
|
||||
"fakeDB.sqlite",
|
||||
"goodDB.sqlite",
|
||||
"locale_collation.txt",
|
||||
"VacuumParticipant.sys.mjs",
|
||||
]
|
||||
|
||||
["test_bug-365166.js"]
|
||||
|
||||
["test_bug-393952.js"]
|
||||
|
||||
["test_bug-429521.js"]
|
||||
|
||||
["test_bug-444233.js"]
|
||||
|
||||
["test_cache_size.js"]
|
||||
|
||||
["test_chunk_growth.js"]
|
||||
# Bug 676981: test fails consistently on Android
|
||||
fail-if = ["os == 'android'"]
|
||||
|
||||
["test_connection_asyncClose.js"]
|
||||
|
||||
["test_connection_executeAsync.js"]
|
||||
|
||||
["test_connection_executeSimpleSQLAsync.js"]
|
||||
|
||||
["test_connection_failsafe_close.js"]
|
||||
# The failsafe close mechanism asserts when performing SpinningSynchronousClose
|
||||
# on debug builds, so we can only test on non-debug builds.
|
||||
skip-if = ["debug"]
|
||||
|
||||
["test_connection_interrupt.js"]
|
||||
|
||||
["test_default_journal_size_limit.js"]
|
||||
|
||||
["test_js_helpers.js"]
|
||||
|
||||
["test_levenshtein.js"]
|
||||
|
||||
["test_like.js"]
|
||||
|
||||
["test_like_escape.js"]
|
||||
|
||||
["test_locale_collation.js"]
|
||||
|
||||
["test_minimizeMemory.js"]
|
||||
|
||||
["test_page_size_is_32k.js"]
|
||||
|
||||
["test_persist_journal.js"]
|
||||
|
||||
["test_readonly-immutable-nolock_vfs.js"]
|
||||
|
||||
["test_retry_on_busy.js"]
|
||||
|
||||
["test_sqlite_secure_delete.js"]
|
||||
|
||||
["test_statement_executeAsync.js"]
|
||||
|
||||
["test_statement_wrapper_automatically.js"]
|
||||
|
||||
["test_storage_connection.js"]
|
||||
# Bug 676981: test fails consistently on Android
|
||||
fail-if = ["os == 'android'"]
|
||||
|
||||
["test_storage_ext.js"]
|
||||
|
||||
["test_storage_ext_fts3.js"]
|
||||
skip-if = ["appname != 'thunderbird' && appname != 'seamonkey'"]
|
||||
|
||||
["test_storage_ext_fts5.js"]
|
||||
|
||||
["test_storage_function.js"]
|
||||
|
||||
["test_storage_progresshandler.js"]
|
||||
|
||||
["test_storage_service.js"]
|
||||
|
||||
["test_storage_service_special.js"]
|
||||
|
||||
["test_storage_service_unshared.js"]
|
||||
|
||||
["test_storage_statement.js"]
|
||||
|
||||
["test_storage_value_array.js"]
|
||||
|
||||
["test_unicode.js"]
|
||||
|
||||
["test_vacuum.js"]
|
@ -4,7 +4,7 @@
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell/xpcshell.ini"]
|
||||
XPCSHELL_TESTS_MANIFESTS += ["tests/xpcshell/xpcshell.toml"]
|
||||
BROWSER_CHROME_MANIFESTS += ["tests/browser/browser.toml"]
|
||||
|
||||
TESTING_JS_MODULES += [
|
||||
|
@ -1,6 +0,0 @@
|
||||
[DEFAULT]
|
||||
head =
|
||||
|
||||
[test_assert.js]
|
||||
[test_mockRegistrar.js]
|
||||
[test_structuredlog.js]
|
8
testing/modules/tests/xpcshell/xpcshell.toml
Normal file
8
testing/modules/tests/xpcshell/xpcshell.toml
Normal file
@ -0,0 +1,8 @@
|
||||
[DEFAULT]
|
||||
head = ""
|
||||
|
||||
["test_assert.js"]
|
||||
|
||||
["test_mockRegistrar.js"]
|
||||
|
||||
["test_structuredlog.js"]
|
@ -1 +1 @@
|
||||
XPCSHELL_TESTS_MANIFESTS += ["xpcshell.ini"]
|
||||
XPCSHELL_TESTS_MANIFESTS += ["xpcshell.toml"]
|
||||
|
@ -1,2 +0,0 @@
|
||||
[currant/test_xpcshell_A.js]
|
||||
[currant/test_xpcshell_B.js]
|
@ -0,0 +1,5 @@
|
||||
[DEFAULT]
|
||||
|
||||
["currant/test_xpcshell_A.js"]
|
||||
|
||||
["currant/test_xpcshell_B.js"]
|
@ -1 +1 @@
|
||||
XPCSHELL_TESTS_MANIFESTS += ["xpcshell-one.ini", "xpcshell-two.ini"]
|
||||
XPCSHELL_TESTS_MANIFESTS += ["xpcshell-one.toml", "xpcshell-two.toml"]
|
||||
|
@ -1,5 +0,0 @@
|
||||
[DEFAULT]
|
||||
head = head_one.js
|
||||
|
||||
[include:xpcshell-shared.ini]
|
||||
stick = one
|
@ -0,0 +1,5 @@
|
||||
[DEFAULT]
|
||||
head = "head_one.js"
|
||||
|
||||
["include:xpcshell-shared.toml"]
|
||||
stick = "one"
|
@ -1,4 +0,0 @@
|
||||
# This is not in moz.build, so it is not referenced on its own.
|
||||
# It is however included by xpcshell-one.ini and xpcshell-two.ini.
|
||||
|
||||
[test_included.js]
|
@ -0,0 +1,3 @@
|
||||
[DEFAULT]
|
||||
|
||||
["test_included.js"]
|
@ -1,5 +0,0 @@
|
||||
[DEFAULT]
|
||||
head = head_two.js
|
||||
|
||||
[include:xpcshell-shared.ini]
|
||||
stick = two
|
@ -0,0 +1,5 @@
|
||||
[DEFAULT]
|
||||
head = "head_two.js"
|
||||
|
||||
["include:xpcshell-shared.toml"]
|
||||
stick = "two"
|
@ -1,7 +0,0 @@
|
||||
[DEFAULT]
|
||||
support-files =
|
||||
data/**
|
||||
xpcshell_updater.ini
|
||||
|
||||
[test_xpcshell_C.js]
|
||||
head=head_updates.js head2.js
|
@ -0,0 +1,8 @@
|
||||
[DEFAULT]
|
||||
support-files = [
|
||||
"data/**",
|
||||
"xpcshell_updater.toml",
|
||||
]
|
||||
|
||||
["test_xpcshell_C.js"]
|
||||
head = "head_updates.js head2.js"
|
@ -1 +1 @@
|
||||
XPCSHELL_TESTS_MANIFESTS += ["xpcshell.ini"]
|
||||
XPCSHELL_TESTS_MANIFESTS += ["xpcshell.toml"]
|
||||
|
@ -1,4 +0,0 @@
|
||||
[include:elderberry/xpcshell_updater.ini]
|
||||
|
||||
[elderberry/test_xpcshell_C.js]
|
||||
head=head_update.js
|
@ -0,0 +1,6 @@
|
||||
[DEFAULT]
|
||||
|
||||
["elderberry/test_xpcshell_C.js"]
|
||||
head = "head_update.js"
|
||||
|
||||
["include:elderberry/xpcshell_updater.toml"]
|
@ -55,7 +55,7 @@ def create_tests(topsrcdir):
|
||||
"manifest",
|
||||
defaults.pop(
|
||||
"manifest",
|
||||
mozpath.join(mozpath.dirname(path), manifest_name + ".ini"),
|
||||
mozpath.join(mozpath.dirname(path), manifest_name + ".toml"),
|
||||
),
|
||||
)
|
||||
|
||||
@ -128,8 +128,8 @@ def all_tests(create_tests):
|
||||
(
|
||||
"carrot/test_included.js",
|
||||
{
|
||||
"ancestor_manifest": "carrot/xpcshell-one.ini",
|
||||
"manifest": "carrot/xpcshell-shared.ini",
|
||||
"ancestor_manifest": "carrot/xpcshell-one.toml",
|
||||
"manifest": "carrot/xpcshell-shared.toml",
|
||||
"flavor": "xpcshell",
|
||||
"stick": "one",
|
||||
},
|
||||
@ -137,8 +137,8 @@ def all_tests(create_tests):
|
||||
(
|
||||
"carrot/test_included.js",
|
||||
{
|
||||
"ancestor_manifest": "carrot/xpcshell-two.ini",
|
||||
"manifest": "carrot/xpcshell-shared.ini",
|
||||
"ancestor_manifest": "carrot/xpcshell-two.toml",
|
||||
"manifest": "carrot/xpcshell-shared.toml",
|
||||
"flavor": "xpcshell",
|
||||
"stick": "two",
|
||||
},
|
||||
@ -149,7 +149,7 @@ def all_tests(create_tests):
|
||||
"flavor": "xpcshell",
|
||||
"generated-files": "head_update.js",
|
||||
"head": "head_update.js",
|
||||
"manifest": "dragonfruit/xpcshell.ini",
|
||||
"manifest": "dragonfruit/xpcshell.toml",
|
||||
"reason": "busted",
|
||||
"run-sequentially": "Launches application.",
|
||||
"skip-if": "os == 'android'",
|
||||
@ -161,7 +161,7 @@ def all_tests(create_tests):
|
||||
"flavor": "xpcshell",
|
||||
"generated-files": "head_update.js",
|
||||
"head": "head_update.js head2.js",
|
||||
"manifest": "dragonfruit/elderberry/xpcshell_updater.ini",
|
||||
"manifest": "dragonfruit/elderberry/xpcshell_updater.toml",
|
||||
"reason": "don't work",
|
||||
"run-sequentially": "Launches application.",
|
||||
"skip-if": "os == 'android'",
|
||||
@ -171,7 +171,7 @@ def all_tests(create_tests):
|
||||
"fig/grape/src/TestInstrumentationA.java",
|
||||
{
|
||||
"flavor": "instrumentation",
|
||||
"manifest": "fig/grape/instrumentation.ini",
|
||||
"manifest": "fig/grape/instrumentation.toml",
|
||||
"subsuite": "background",
|
||||
},
|
||||
),
|
||||
@ -179,7 +179,7 @@ def all_tests(create_tests):
|
||||
"fig/huckleberry/src/TestInstrumentationB.java",
|
||||
{
|
||||
"flavor": "instrumentation",
|
||||
"manifest": "fig/huckleberry/instrumentation.ini",
|
||||
"manifest": "fig/huckleberry/instrumentation.toml",
|
||||
"subsuite": "browser",
|
||||
},
|
||||
),
|
||||
@ -187,7 +187,7 @@ def all_tests(create_tests):
|
||||
"juniper/browser_chrome.js",
|
||||
{
|
||||
"flavor": "browser-chrome",
|
||||
"manifest": "juniper/browser.ini",
|
||||
"manifest": "juniper/browser.toml",
|
||||
"skip-if": "e10s # broken",
|
||||
},
|
||||
),
|
||||
@ -195,7 +195,7 @@ def all_tests(create_tests):
|
||||
"kiwi/browser_devtools.js",
|
||||
{
|
||||
"flavor": "browser-chrome",
|
||||
"manifest": "kiwi/browser.ini",
|
||||
"manifest": "kiwi/browser.toml",
|
||||
"subsuite": "devtools",
|
||||
"tags": "devtools",
|
||||
},
|
||||
@ -212,18 +212,18 @@ def defaults(topsrcdir):
|
||||
return os.path.normpath(os.path.join(topsrcdir, relpath))
|
||||
|
||||
return {
|
||||
(to_abspath("dragonfruit/elderberry/xpcshell_updater.ini")): {
|
||||
"support-files": "\ndata/**\nxpcshell_updater.ini"
|
||||
(to_abspath("dragonfruit/elderberry/xpcshell_updater.toml")): {
|
||||
"support-files": "data/**\nxpcshell_updater.toml"
|
||||
},
|
||||
(
|
||||
to_abspath("carrot/xpcshell-one.ini"),
|
||||
to_abspath("carrot/xpcshell-shared.ini"),
|
||||
to_abspath("carrot/xpcshell-one.toml"),
|
||||
to_abspath("carrot/xpcshell-shared.toml"),
|
||||
): {
|
||||
"head": "head_one.js",
|
||||
},
|
||||
(
|
||||
to_abspath("carrot/xpcshell-two.ini"),
|
||||
to_abspath("carrot/xpcshell-shared.ini"),
|
||||
to_abspath("carrot/xpcshell-two.toml"),
|
||||
to_abspath("carrot/xpcshell-shared.toml"),
|
||||
): {
|
||||
"head": "head_two.js",
|
||||
},
|
||||
@ -340,12 +340,12 @@ def test_resolve_multiple_paths(resolver):
|
||||
|
||||
|
||||
def test_resolve_support_files(resolver):
|
||||
expected_support_files = "\ndata/**\nxpcshell_updater.ini"
|
||||
expected_support_files = "data/**\nxpcshell_updater.toml"
|
||||
tests = list(resolver.resolve_tests(paths=["dragonfruit"]))
|
||||
assert len(tests) == 2
|
||||
|
||||
for test in tests:
|
||||
if test["manifest"].endswith("xpcshell_updater.ini"):
|
||||
if test["manifest"].endswith("xpcshell_updater.toml"):
|
||||
assert test["support-files"] == expected_support_files
|
||||
else:
|
||||
assert "support-files" not in test
|
||||
@ -454,18 +454,18 @@ def test_ancestor_manifest_defaults(resolver, topsrcdir, defaults):
|
||||
tests = list(resolver._resolve(paths=["carrot/test_included.js"]))
|
||||
assert len(tests) == 2
|
||||
|
||||
if tests[0]["ancestor_manifest"] == os.path.join("carrot", "xpcshell-one.ini"):
|
||||
if tests[0]["ancestor_manifest"] == os.path.join("carrot", "xpcshell-one.toml"):
|
||||
[testOne, testTwo] = tests
|
||||
else:
|
||||
[testTwo, testOne] = tests
|
||||
|
||||
assert testOne["ancestor_manifest"] == os.path.join("carrot", "xpcshell-one.ini")
|
||||
assert testOne["manifest_relpath"] == os.path.join("carrot", "xpcshell-shared.ini")
|
||||
assert testOne["ancestor_manifest"] == os.path.join("carrot", "xpcshell-one.toml")
|
||||
assert testOne["manifest_relpath"] == os.path.join("carrot", "xpcshell-shared.toml")
|
||||
assert testOne["head"] == "head_one.js"
|
||||
assert testOne["stick"] == "one"
|
||||
|
||||
assert testTwo["ancestor_manifest"] == os.path.join("carrot", "xpcshell-two.ini")
|
||||
assert testTwo["manifest_relpath"] == os.path.join("carrot", "xpcshell-shared.ini")
|
||||
assert testTwo["ancestor_manifest"] == os.path.join("carrot", "xpcshell-two.toml")
|
||||
assert testTwo["manifest_relpath"] == os.path.join("carrot", "xpcshell-shared.toml")
|
||||
assert testTwo["head"] == "head_two.js"
|
||||
assert testTwo["stick"] == "two"
|
||||
|
||||
|
@ -7,6 +7,6 @@
|
||||
# This is a list of directories containing tests to run, separated by spaces.
|
||||
# Most likely, tho, you won't use more than one directory here.
|
||||
XPCSHELL_TESTS_MANIFESTS += [
|
||||
"unit/xpcshell-with-prefs.ini",
|
||||
"unit/xpcshell.ini",
|
||||
"unit/xpcshell-with-prefs.toml",
|
||||
"unit/xpcshell.toml",
|
||||
]
|
||||
|
@ -1,5 +0,0 @@
|
||||
# This file is included by xpcshell-with-prefs.ini
|
||||
[DEFAULT]
|
||||
prefs = dummy.pref.from.test.ancestor=ReplacedParent
|
||||
|
||||
[test_prefs_defaults_included.js]
|
@ -0,0 +1,4 @@
|
||||
[DEFAULT]
|
||||
prefs = ["dummy.pref.from.test.ancestor='ReplacedParent'"]
|
||||
|
||||
["test_prefs_defaults_included.js"]
|
@ -1,16 +0,0 @@
|
||||
[DEFAULT]
|
||||
head =
|
||||
support-files = prefs_test_common.js
|
||||
prefs =
|
||||
dummy.pref.from.test.ancestor=Ancestor
|
||||
dummy.pref.from.test.manifest=1
|
||||
|
||||
[test_prefs_defaults.js]
|
||||
[test_prefs_defaults_and_file.js]
|
||||
prefs = # Multiple prefs, for additional test coverage over xpcshell.ini
|
||||
dummy.pref.from.test.file=2
|
||||
dummy.pref.from.test.duplicate=first
|
||||
dummy.pref.from.test.duplicate=final
|
||||
dummy.pref.from.test.manifest=1337 # overrides manifest
|
||||
|
||||
[include:xpcshell-included-with-prefs.ini]
|
19
testing/xpcshell/example/unit/xpcshell-with-prefs.toml
Normal file
19
testing/xpcshell/example/unit/xpcshell-with-prefs.toml
Normal file
@ -0,0 +1,19 @@
|
||||
[DEFAULT]
|
||||
head = ""
|
||||
support-files = ["prefs_test_common.js"]
|
||||
prefs = [
|
||||
"dummy.pref.from.test.ancestor='Ancestor'",
|
||||
"dummy.pref.from.test.manifest=1",
|
||||
]
|
||||
|
||||
["include:xpcshell-included-with-prefs.toml"]
|
||||
|
||||
["test_prefs_defaults.js"]
|
||||
|
||||
["test_prefs_defaults_and_file.js"]
|
||||
prefs = [
|
||||
"dummy.pref.from.test.file=2",
|
||||
"dummy.pref.from.test.manifest=1337", # overrides manifest
|
||||
"dummy.pref.from.test.duplicate='first'", # Multiple prefs, for additional test coverage over xpcshell.toml
|
||||
"dummy.pref.from.test.duplicate='final'",
|
||||
]
|
@ -1,60 +0,0 @@
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
[DEFAULT]
|
||||
head =
|
||||
support-files =
|
||||
subdir/file.txt
|
||||
file.txt
|
||||
import_module.sys.mjs
|
||||
load_subscript.js
|
||||
location_load.js
|
||||
check_profile.js
|
||||
prefs_test_common.js
|
||||
# NOTE: Do NOT set prefs here. If you do, move test_prefs_no_defaults.js and
|
||||
# test_prefs_no_defaults_with_file.js to a new file without a pref definitions.
|
||||
|
||||
[test_add_setup.js]
|
||||
[test_check_nsIException.js]
|
||||
skip-if = os == 'win' && debug
|
||||
[test_check_nsIException_failing.js]
|
||||
fail-if = true
|
||||
skip-if = os == 'win' && debug
|
||||
|
||||
[test_do_get_tempdir.js]
|
||||
[test_execute_soon.js]
|
||||
[test_get_file.js]
|
||||
[test_get_idle.js]
|
||||
[test_import_module.js]
|
||||
[test_load.js]
|
||||
[test_load_httpd_js.js]
|
||||
[test_location.js]
|
||||
[test_multiple_setups.js]
|
||||
[test_multiple_tasks.js]
|
||||
[test_prefs_no_defaults.js]
|
||||
[test_prefs_no_defaults_with_file.js]
|
||||
prefs = dummy.pref.from.test.file=1
|
||||
[test_profile.js]
|
||||
[test_profile_afterChange.js]
|
||||
[test_sample.js]
|
||||
|
||||
[test_fail.js]
|
||||
fail-if = true
|
||||
|
||||
[test_skip.js]
|
||||
skip-if = true
|
||||
|
||||
[test_do_check_null.js]
|
||||
skip-if = os == 'win' && debug
|
||||
|
||||
[test_do_check_null_failing.js]
|
||||
fail-if = true
|
||||
skip-if = os == 'win' && debug
|
||||
|
||||
[test_do_check_matches.js]
|
||||
[test_do_check_matches_failing.js]
|
||||
fail-if = true
|
||||
|
||||
[test_tasks_skip.js]
|
||||
[test_tasks_skipall.js]
|
75
testing/xpcshell/example/unit/xpcshell.toml
Normal file
75
testing/xpcshell/example/unit/xpcshell.toml
Normal file
@ -0,0 +1,75 @@
|
||||
[DEFAULT]
|
||||
head = ""
|
||||
support-files = [
|
||||
"subdir/file.txt",
|
||||
"file.txt",
|
||||
"import_module.sys.mjs",
|
||||
"load_subscript.js",
|
||||
"location_load.js",
|
||||
"check_profile.js",
|
||||
"prefs_test_common.js",
|
||||
]
|
||||
# NOTE: Do NOT set prefs here. If you do, move test_prefs_no_defaults.js and
|
||||
# test_prefs_no_defaults_with_file.js to a new file without a pref definitions.
|
||||
|
||||
["test_add_setup.js"]
|
||||
|
||||
["test_check_nsIException.js"]
|
||||
skip-if = ["os == 'win' && debug"]
|
||||
|
||||
["test_check_nsIException_failing.js"]
|
||||
fail-if = ["true"]
|
||||
skip-if = ["os == 'win' && debug"]
|
||||
|
||||
["test_do_check_matches.js"]
|
||||
|
||||
["test_do_check_matches_failing.js"]
|
||||
fail-if = ["true"]
|
||||
|
||||
["test_do_check_null.js"]
|
||||
skip-if = ["os == 'win' && debug"]
|
||||
|
||||
["test_do_check_null_failing.js"]
|
||||
fail-if = ["true"]
|
||||
skip-if = ["os == 'win' && debug"]
|
||||
|
||||
["test_do_get_tempdir.js"]
|
||||
|
||||
["test_execute_soon.js"]
|
||||
|
||||
["test_fail.js"]
|
||||
fail-if = ["true"]
|
||||
|
||||
["test_get_file.js"]
|
||||
|
||||
["test_get_idle.js"]
|
||||
|
||||
["test_import_module.js"]
|
||||
|
||||
["test_load.js"]
|
||||
|
||||
["test_load_httpd_js.js"]
|
||||
|
||||
["test_location.js"]
|
||||
|
||||
["test_multiple_setups.js"]
|
||||
|
||||
["test_multiple_tasks.js"]
|
||||
|
||||
["test_prefs_no_defaults.js"]
|
||||
|
||||
["test_prefs_no_defaults_with_file.js"]
|
||||
prefs = ["dummy.pref.from.test.file=1"]
|
||||
|
||||
["test_profile.js"]
|
||||
|
||||
["test_profile_afterChange.js"]
|
||||
|
||||
["test_sample.js"]
|
||||
|
||||
["test_skip.js"]
|
||||
skip-if = ["true"]
|
||||
|
||||
["test_tasks_skip.js"]
|
||||
|
||||
["test_tasks_skipall.js"]
|
Loading…
Reference in New Issue
Block a user