@ -16,7 +16,6 @@ import mozilla.components.support.test.robolectric.testContext
import org.junit.Assert.assertEquals
import org.junit.Assert.assertEquals
import org.junit.Assert.assertTrue
import org.junit.Assert.assertTrue
import org.junit.Before
import org.junit.Before
import org.junit.Ignore
import org.junit.Rule
import org.junit.Rule
import org.junit.Test
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.runner.RunWith
@ -42,7 +41,6 @@ class StorageStatsMetricsTest {
}
}
@Test
@Test
@Ignore ( " These metrics have expired. " )
fun `WHEN reporting THEN the values from the storageStats are accumulated` ( ) {
fun `WHEN reporting THEN the values from the storageStats are accumulated` ( ) {
every { storageStats . appBytes } returns 100
every { storageStats . appBytes } returns 100
every { storageStats . cacheBytes } returns 200
every { storageStats . cacheBytes } returns 200
@ -56,7 +54,6 @@ class StorageStatsMetricsTest {
}
}
@Test
@Test
@Ignore ( " These metrics have expired. " )
fun `WHEN reporting THEN the query duration is measured` ( ) {
fun `WHEN reporting THEN the query duration is measured` ( ) {
StorageStatsMetrics . reportSync ( mockContext )
StorageStatsMetrics . reportSync ( mockContext )
assertTrue ( Metrics . queryStatsDuration . testHasValue ( ) )
assertTrue ( Metrics . queryStatsDuration . testHasValue ( ) )