Skip to content

Commit

Permalink
Removed redundant configuration in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Vishwajith-Shettigar committed Jul 27, 2024
1 parent a68fa98 commit c35937b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ class ResumeLessonFragmentTest {
)
}

@Test @Config(qualifiers = "w360dp-h640dp-xxhdpi")
@Test
@RunOn(TestPlatform.ROBOLECTRIC)
fun testResumeLessonFragment_extraLargeTextSize_hasCorrectDimension() {
launch<ResumeLessonActivity>(createResumeLessonActivityIntent()).use {
Expand All @@ -313,7 +313,7 @@ class ResumeLessonFragmentTest {
}
}

@Test @Config(qualifiers = "w360dp-h640dp-xxhdpi")
@Test
@RunOn(TestPlatform.ROBOLECTRIC)
fun testResumeLessonFragment_largeTextSize_hasCorrectDimension() {
launch<ResumeLessonActivity>(createResumeLessonActivityIntent()).use {
Expand All @@ -327,7 +327,7 @@ class ResumeLessonFragmentTest {
}
}

@Test @Config(qualifiers = "w360dp-h640dp-xxhdpi")
@Test
@RunOn(TestPlatform.ROBOLECTRIC)
fun testResumeLessonFragment_mediumTextSize_hasCorrectDimension() {
launch<ResumeLessonActivity>(createResumeLessonActivityIntent()).use {
Expand All @@ -341,7 +341,7 @@ class ResumeLessonFragmentTest {
}
}

@Test @Config(qualifiers = "w360dp-h640dp-xxhdpi")
@Test
@RunOn(TestPlatform.ROBOLECTRIC)
fun testResumeLessonFragment_smallTextSize_hasCorrectDimension() {
launch<ResumeLessonActivity>(createResumeLessonActivityIntent()).use {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ class RevisionCardFragmentTest {
}
}

@Test @Config(qualifiers = "w360dp-h640dp-xxhdpi")
@Test
@RunOn(TestPlatform.ROBOLECTRIC)
fun testRevisionCard_extraLargeTextSize_hasCorrectDimension() {
launch<RevisionCardActivity>(
Expand All @@ -253,7 +253,7 @@ class RevisionCardFragmentTest {
}
}

@Test @Config(qualifiers = "w360dp-h640dp-xxhdpi")
@Test
@RunOn(TestPlatform.ROBOLECTRIC)
fun testRevisionCard_largeTextSize_hasCorrectDimension() {
launch<RevisionCardActivity>(
Expand All @@ -275,7 +275,7 @@ class RevisionCardFragmentTest {
}
}

@Test @Config(qualifiers = "w360dp-h640dp-xxhdpi")
@Test
@RunOn(TestPlatform.ROBOLECTRIC)
fun testRevisionCard_mediumTextSize_hasCorrectDimension() {
launch<RevisionCardActivity>(
Expand All @@ -299,7 +299,7 @@ class RevisionCardFragmentTest {
}
}

@Test @Config(qualifiers = "w360dp-h640dp-xxhdpi")
@Test
@RunOn(TestPlatform.ROBOLECTRIC)
fun testRevisionCard_smallTextSize_hasCorrectDimension() {
launch<RevisionCardActivity>(
Expand Down

0 comments on commit c35937b

Please sign in to comment.