Skip to content

Commit

Permalink
Experimenting-- removing device config from robolectric test passes o…
Browse files Browse the repository at this point in the history
…r not with hard coded values
  • Loading branch information
Vishwajith-Shettigar committed Jul 26, 2024
1 parent 285e602 commit 2718a61
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,6 @@ class QuestionPlayerActivityTest {
}

@Test
@Config(qualifiers = "w360dp-h640dp-xxhdpi")
@RunOn(TestPlatform.ROBOLECTRIC)
fun testQuestionPlayer_extraLargeTextSize_hasCorrectDimension() {
launchForSkillList(SKILL_ID_LIST).use {
Expand All @@ -573,7 +572,6 @@ class QuestionPlayerActivityTest {
}

@Test
@Config(qualifiers = "w360dp-h640dp-xxhdpi")
@RunOn(TestPlatform.ROBOLECTRIC)
fun testQuestionPlayer_largeTextSize_hasCorrectDimension() {
launchForSkillList(SKILL_ID_LIST).use {
Expand All @@ -586,7 +584,7 @@ class QuestionPlayerActivityTest {
}
}

@Test @Config(qualifiers = "w360dp-h640dp-xxhdpi")
@Test
@RunOn(TestPlatform.ROBOLECTRIC)
fun testQuestionPlayer_mediumTextSize_hasCorrectDimension() {
launchForSkillList(SKILL_ID_LIST).use {
Expand All @@ -599,7 +597,7 @@ class QuestionPlayerActivityTest {
}
}

@Test @Config(qualifiers = "w360dp-h640dp-xxhdpi")
@Test
@RunOn(TestPlatform.ROBOLECTRIC)
fun testQuestionPlayer_smallTextSize_hasCorrectDimension() {
launchForSkillList(SKILL_ID_LIST).use {
Expand Down

0 comments on commit 2718a61

Please sign in to comment.