You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
630 B
Kotlin
21 lines
630 B
Kotlin
5 years ago
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||
5 years ago
|
* 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/. */
|
||
5 years ago
|
|
||
4 years ago
|
package org.mozilla.fenix.helpers
|
||
5 years ago
|
|
||
4 years ago
|
import org.mozilla.fenix.FenixApplication
|
||
5 years ago
|
import org.mozilla.fenix.components.TestComponents
|
||
|
|
||
4 years ago
|
/**
|
||
|
* An override of our application for use in Robolectric-based unit tests.
|
||
|
*/
|
||
|
class FenixRobolectricTestApplication : FenixApplication() {
|
||
5 years ago
|
|
||
5 years ago
|
override val components = TestComponents(this)
|
||
5 years ago
|
|
||
5 years ago
|
override fun setupInAllProcesses() = Unit
|
||
|
|
||
|
override fun setupInMainProcessOnly() = Unit
|
||
5 years ago
|
}
|