File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ Running tests
20
20
-------------
21
21
22
22
The Firefox build process will build GTest on supported platforms as
23
- long as you don't disable test in your mozconfig. However xul-gtest will
23
+ long as you don't disable tests in your mozconfig. However xul-gtest will
24
24
only be built when tests are required to save an expensive second
25
25
linking process.
26
26
@@ -161,7 +161,7 @@ is a recommended read.
161
161
tear down any dependencies you have in your test fixtures. Avoid
162
162
writing integration tests and focus on testing individual units.
163
163
164
- See https://hg.mozilla.org/mozilla-central/rev/351462147f91 for an
164
+ See https://hg.mozilla.org/mozilla-central/rev/ed612eec41a44867a for an
165
165
example of how to add a simple test.
166
166
167
167
If you're converting an existing C++ unit test to a GTest, `this
@@ -225,8 +225,9 @@ subdirectory in:
225
225
226
226
.. code-block :: python
227
227
228
- if CONFIG [' ENABLE_TESTS' ]:
229
- DIRS += [' tests/gtest' ]
228
+ TEST_DIRS += [
229
+ " gtest" ,
230
+ ]
230
231
231
232
When adding tests to an existing moz.build file (it has FINAL_LIBRARY =
232
233
'xul-gtest'), add the following. That's it--there is no test manifest
You can’t perform that action at this time.
0 commit comments