Overview
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2019-12-03 UTC.
[null,null,["Last updated 2019-12-03 UTC."],[],[],null,["test \n\n[test](/docs/reference/functions/test/test)\n\n\n[test.cleanup()](/docs/reference/functions/test/test#.cleanup) \n\n[test.makeChange(before, after)](/docs/reference/functions/test/test#.makeChange)\n\n\n[test.mockConfig(config)](/docs/reference/functions/test/test#.mockConfig) \n\n[test.wrap(cloudFunction)](/docs/reference/functions/test/test#.wrap)\n\n\n[test.WrappedFunction(data, options)](/docs/reference/functions/test/test#.WrappedFunction)\n\ntest.EventContextOptions \n\n[test.EventContextOptions](/docs/reference/functions/test/test.EventContextOptions)\n\n\n[test.EventContextOptions#auth](/docs/reference/functions/test/test.EventContextOptions#auth) \n\n[test.EventContextOptions#authType](/docs/reference/functions/test/test.EventContextOptions#authType)\n\n\n[test.EventContextOptions#eventId](/docs/reference/functions/test/test.EventContextOptions#eventId) \n\n[test.EventContextOptions#params](/docs/reference/functions/test/test.EventContextOptions#params)\n\n\n[test.EventContextOptions#timestamp](/docs/reference/functions/test/test.EventContextOptions#timestamp)\n\ntest.analytics \n\n[test.analytics](/docs/reference/functions/test/test.analytics) \n\n[test.analytics.exampleAnalyticsEvent()](/docs/reference/functions/test/test.analytics#.exampleAnalyticsEvent) \n\n[test.analytics.makeAnalyticsEvent(fields)](/docs/reference/functions/test/test.analytics#.makeAnalyticsEvent)\n\ntest.auth \n\n[test.auth](/docs/reference/functions/test/test.auth) \n\n[test.auth.exampleUserRecord()](/docs/reference/functions/test/test.auth#.exampleUserRecord) \n\n[test.auth.makeUserRecord(fields)](/docs/reference/functions/test/test.auth#.makeUserRecord)\n\ntest.crashlytics \n\n[test.crashlytics](/docs/reference/functions/test/test.crashlytics) \n\n[test.crashlytics.exampleIssue()](/docs/reference/functions/test/test.crashlytics#.exampleIssue) \n\n[test.crashlytics.makeIssue(fields)](/docs/reference/functions/test/test.crashlytics#.makeIssue)\n\ntest.database \n\n[test.database](/docs/reference/functions/test/test.database)\n\n\n[test.database.exampleDataSnapshot()](/docs/reference/functions/test/test.database#.exampleDataSnapshot) \n\n[test.database.exampleDataSnapshotChange()](/docs/reference/functions/test/test.database#.exampleDataSnapshotChange)\n\n\n[test.database.makeDataSnapshot(val, refPath, app)](/docs/reference/functions/test/test.database#.makeDataSnapshot) \n\ntest.firestore \n\n[test.firestore](/docs/reference/functions/test/test.firestore)\n\n\n[test.firestore.exampleDocumentSnapshot()](/docs/reference/functions/test/test.firestore#.exampleDocumentSnapshot) \n\n[test.firestore.exampleDocumentSnapshotChange()](/docs/reference/functions/test/test.firestore#.exampleDocumentSnapshotChange)\n\n\n[test.firestore.makeDocumentSnapshot(data, refPath, options)](/docs/reference/functions/test/test.firestore#.makeDocumentSnapshot) \n\ntest.firestore.DocumentSnapshotOptions \n\n[test.firestore.DocumentSnapshotOptions](/docs/reference/functions/test/test.firestore.DocumentSnapshotOptions)\n\n\n[test.firestore.DocumentSnapshotOptions#createTime](/docs/reference/functions/test/test.firestore.DocumentSnapshotOptions#createTime) \n\n[test.firestore.DocumentSnapshotOptions#firebaseApp](/docs/reference/functions/test/test.firestore.DocumentSnapshotOptions#firebaseApp)\n\n\n[test.firestore.DocumentSnapshotOptions#readTime](/docs/reference/functions/test/test.firestore.DocumentSnapshotOptions#readTime) \n\n[test.firestore.DocumentSnapshotOptions#updateTime](/docs/reference/functions/test/test.firestore.DocumentSnapshotOptions#updateTime)\n\ntest.pubsub \n\n[test.pubsub](/docs/reference/functions/test/test.pubsub) \n\n[test.pubsub.exampleMessage()](/docs/reference/functions/test/test.pubsub#.exampleMessage) \n\n[test.pubsub.makeMessage(encodedString, attributes)](/docs/reference/functions/test/test.pubsub#.makeMessage)\n\ntest.storage \n\n[test.storage](/docs/reference/functions/test/test.storage) \n\n[test.storage.exampleObjectMetadata()](/docs/reference/functions/test/test.storage#.exampleObjectMetadata) \n\n[test.storage.makeObjectMetaData(fields)](/docs/reference/functions/test/test.storage#.makeObjectMetaData)"]]