зеркало из https://github.com/mozilla/glean.git
Fixup the docs
This commit is contained in:
Родитель
7f276c7146
Коммит
a3b7cf3a5c
|
@ -103,7 +103,8 @@ import org.mockito.Mockito.`when`
|
|||
|
||||
@RunWith(AndroidJUnit4::class)
|
||||
class MyCustomPingSchedulerTest {
|
||||
// Apply the GleanTestRule
|
||||
// Apply the GleanTestRule to set up a disposable Glean instance.
|
||||
// Please note that this clears the Glean data across tests.
|
||||
@get:Rule
|
||||
val gleanRule = GleanTestRule(ApplicationProvider.getApplicationContext())
|
||||
|
||||
|
|
|
@ -11,7 +11,8 @@ In order to prevent issues with async calls when unit testing Glean, it is impor
|
|||
```kotlin
|
||||
@RunWith(AndroidJUnit4::class)
|
||||
class ActivityCollectingDataTest {
|
||||
// Apply the GleanTestRule
|
||||
// Apply the GleanTestRule to set up a disposable Glean instance.
|
||||
// Please note that this clears the Glean data across tests.
|
||||
@get:Rule
|
||||
val gleanRule = GleanTestRule(ApplicationProvider.getApplicationContext())
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче