summaryrefslogtreecommitdiff
path: root/app/testing/src/main/java/com/fsck/k9/RobolectricTest.kt
blob: 8dde7f563f4cfc7d60c1e3c514a3e88f70999428 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.fsck.k9

import android.app.Application
import org.junit.runner.RunWith
import org.robolectric.RobolectricTestRunner
import org.robolectric.annotation.Config

/**
 * A Robolectric test that does not create an instance of our [Application] class [K9].
 *
 * See also [K9RobolectricTest].
 */
@RunWith(RobolectricTestRunner::class)
@Config(application = EmptyApplication::class)
abstract class RobolectricTest

class EmptyApplication : Application()