Find
C
ase-sensitive
R
egexp search
Path
comm-central
/
mailnews
/
db
/
gloda
/
test
/
unit
/
resources
Navigation
Enable keyboard shortcuts
Name
Description
Size
GlodaQueryHelper.sys.mjs
This file provides gloda query helpers for the test infrastructure.
13050
GlodaTestHelper.sys.mjs
This file provides gloda testing infrastructure. A few words about how tests should expect to interact with indexing: By default, we enable only event-driven indexing with an infinite work queue length. This means that all messages will be queued for indexing as they are added or modified. You should await to |waitForGlodaIndexer| to wait until the indexer completes. If you want to assert that certain messages will have been indexed during that pass, you can pass them as arguments to |assertExpectedMessagesIndexed|. There is no need to tell us to expect the messages to be indexed prior to the waiting as long as nothing spins the event loop after you perform the action that triggers indexing. None of our existing xpcshell tests do this, but it is part of the mozmill idiom for its waiting mechanism, so be sure to not perform a mozmill wait without first telling us to expect the messages.
29226
GlodaTestHelperFunctions.sys.mjs
This file provides gloda testing infrastructure functions which are not coupled with the IndexMessageState from GlodaTestHelper.sys.mjs
10454