summaryrefslogtreecommitdiffstats
path: root/dom/quota/test/moz.build
blob: 4f7fdc88c8ccd6e626cb3a93fd68508362acfa5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# vim: set filetype=python:
# 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_DIRS += ["gtest"]

BROWSER_CHROME_MANIFESTS += ["browser/browser.toml"]

MARIONETTE_MANIFESTS += ["marionette/manifest.toml"]

MOCHITEST_MANIFESTS += ["mochitest/mochitest.toml"]

XPCSHELL_TESTS_MANIFESTS += [
    "xpcshell/caching/xpcshell.toml",
    "xpcshell/telemetry/xpcshell.toml",
    "xpcshell/upgrades/xpcshell.toml",
    "xpcshell/xpcshell.toml",
]

TEST_HARNESS_FILES.testing.mochitest.browser.dom.quota.test.common += [
    "common/browser.js",
    "common/content.js",
    "common/file.js",
    "common/global.js",
    "common/nestedtest.js",
    "common/system.js",
]

TEST_HARNESS_FILES.testing.mochitest.tests.dom.quota.test.common += [
    "common/content.js",
    "common/file.js",
    "common/global.js",
    "common/mochitest.js",
    "common/test_simpledb.js",
    "common/test_storage_manager_persist_allow.js",
    "common/test_storage_manager_persist_deny.js",
    "common/test_storage_manager_persisted.js",
]

TEST_HARNESS_FILES.testing.mochitest.tests.dom.quota.test.modules += [
    "modules/content/Assert.mjs",
    "modules/content/ModuleLoader.mjs",
    "modules/content/StorageUtils.mjs",
    "modules/content/Utils.mjs",
    "modules/content/UtilsParent.mjs",
    "modules/content/WorkerDriver.mjs",
]

TEST_HARNESS_FILES.testing.mochitest.tests.dom.quota.test.modules.worker += [
    "modules/content/worker/Assert.js",
    "modules/content/worker/head.js",
    "modules/content/worker/ModuleLoader.js",
    "modules/content/worker/Utils.js",
    "modules/content/worker/UtilsChild.mjs",
]

TEST_HARNESS_FILES.xpcshell.dom.quota.test.common += [
    "common/file.js",
    "common/global.js",
    "common/system.js",
    "common/test_simpledb.js",
    "common/xpcshell.js",
]

TEST_HARNESS_FILES.xpcshell.dom.quota.test.xpcshell.common += [
    "xpcshell/common/head.js",
    "xpcshell/common/utils.js",
]

TESTING_JS_MODULES.dom.quota.test.modules += [
    "modules/system/ModuleLoader.sys.mjs",
    "modules/system/StorageUtils.sys.mjs",
    "modules/system/Utils.sys.mjs",
    "modules/system/UtilsParent.sys.mjs",
    "modules/system/WorkerDriver.sys.mjs",
]

TESTING_JS_MODULES.dom.quota.test.modules.worker += [
    "modules/system/worker/Assert.js",
    "modules/system/worker/head.js",
    "modules/system/worker/ModuleLoader.js",
    "modules/system/worker/Utils.js",
    "modules/system/worker/UtilsChild.mjs",
]