summaryrefslogtreecommitdiffstats
path: root/toolkit/components/places/tests/moz.build
blob: a93b86a134a999bcede3f0fdae6ac41b49bf26ff (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
# -*- 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"]

TESTING_JS_MODULES += [
    "PlacesTestUtils.sys.mjs",
]

XPCSHELL_TESTS_MANIFESTS += [
    "bookmarks/xpcshell.toml",
    "expiration/xpcshell.toml",
    "favicons/xpcshell.toml",
    "history/xpcshell.toml",
    "legacy/xpcshell.toml",
    "maintenance/xpcshell.toml",
    "migration/xpcshell.toml",
    "queries/xpcshell.toml",
    "sync/xpcshell.toml",
    "unit/xpcshell.toml",
]

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

MOCHITEST_CHROME_MANIFESTS += [
    "chrome/chrome.toml",
]

TEST_HARNESS_FILES.xpcshell.toolkit.components.places.tests += [
    "head_common.js",
]

TEST_HARNESS_FILES.testing.mochitest.tests.toolkit.components.places.tests.browser += [
    "browser/1601563-1.html",
    "browser/1601563-2.html",
    "browser/399606-history.go-0.html",
    "browser/399606-httprefresh.html",
    "browser/399606-location.reload.html",
    "browser/399606-location.replace.html",
    "browser/399606-window.location.href.html",
    "browser/399606-window.location.html",
    "browser/461710_link_page-2.html",
    "browser/461710_link_page-3.html",
    "browser/461710_link_page.html",
    "browser/461710_visited_page.html",
    "browser/begin.html",
    "browser/favicon-normal16.png",
    "browser/favicon-normal32.png",
    "browser/favicon.html",
    "browser/final.html",
    "browser/history_post.html",
    "browser/history_post.sjs",
    "browser/redirect-target.html",
    "browser/redirect.sjs",
    "browser/redirect_once.sjs",
    "browser/redirect_self.sjs",
    "browser/redirect_thrice.sjs",
    "browser/redirect_twice.sjs",
    "browser/redirect_twice_perma.sjs",
    "browser/title1.html",
    "browser/title2.html",
    "browser/userpass.html",
]

TEST_HARNESS_FILES.testing.mochitest.tests.toolkit.components.places.tests.chrome += [
    "chrome/bad_links.atom",
    "chrome/link-less-items-no-site-uri.rss",
    "chrome/link-less-items.rss",
    "chrome/rss_as_html.rss",
    "chrome/rss_as_html.rss^headers^",
    "chrome/sample_feed.atom",
]