Skip to content

Commit

Permalink
Tests name correction
Browse files Browse the repository at this point in the history
  • Loading branch information
subhajitxyz committed Sep 3, 2024
1 parent b1e49a3 commit a1359a9
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ class MarkChaptersCompletedFragmentTest {
}

@Test
fun testMarkChaptersCompletedFragment_arguments_workingProperly() {
fun testFragment_fragmentLoaded_verifyCorrectArgumentsPassed() {
launchMarkChaptersCompletedFragmentTestActivity(
internalProfileId, showConfirmationNotice = true
).use { scenario ->
Expand All @@ -932,7 +932,7 @@ class MarkChaptersCompletedFragmentTest {
}

@Test
fun testMarkChaptersCompletedFragment_saveInstanceState_restoresCorrectly() {
fun testFragment_saveInstanceState_verifyCorrectStateRestored() {
launchMarkChaptersCompletedFragmentTestActivity(
internalProfileId, showConfirmationNotice = true
).use { scenario ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ class MarkStoriesCompletedFragmentTest {
}

@Test
fun testMarkStoriesCompletedFragment_arguments_workingProperly() {
fun testFragment_fragmentLoaded_verifyCorrectArgumentsPassed() {
launch<MarkStoriesCompletedTestActivity>(
createMarkStoriesCompletedTestActivityIntent(internalProfileId)
).use { scenario ->
Expand All @@ -495,7 +495,7 @@ class MarkStoriesCompletedFragmentTest {
}

@Test
fun testMarkStoriesCompletedFragment_saveInstanceState_restoresCorrectly() {
fun testFragment_saveInstanceState_verifyCorrectStateRestored() {
launch<MarkStoriesCompletedTestActivity>(
createMarkStoriesCompletedTestActivityIntent(internalProfileId)
).use { scenario ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ class MarkTopicsCompletedFragmentTest {
}

@Test
fun testMarkTopicsCompletedFragment_arguments_workingProperly() {
fun testFragment_fragmentLoaded_verifyCorrectArgumentsPassed() {
launch<MarkTopicsCompletedTestActivity>(
createMarkTopicsCompletedTestActivityIntent(internalProfileId)
).use { scenario ->
Expand All @@ -474,7 +474,7 @@ class MarkTopicsCompletedFragmentTest {
}

@Test
fun testMarkTopicsCompletedFragment_saveInstanceState_restoresCorrectly() {
fun testFragment_saveInstanceState_verifyCorrectStateRestored() {
launch<MarkTopicsCompletedTestActivity>(
createMarkTopicsCompletedTestActivityIntent(internalProfileId)
).use { scenario ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1379,7 +1379,7 @@ class HelpFragmentTest {
}

@Test
fun testHelpFragment_arguments_workingProperly() {
fun testFragment_fragmentLoaded_verifyCorrectArgumentsPassed() {
launch<HelpActivity>(
createHelpActivityIntent(
internalProfileId = 0,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ class AppLanguageFragmentTest {
}

@Test
fun testAppLanguageFragment_arguments_workingProperly() {
fun testFragment_fragmentLoaded_verifyCorrectArgumentsPassed() {
launch<AppLanguageActivity>(createAppLanguageActivityIntent(OppiaLanguage.ENGLISH))
.use { scenario ->
testCoroutineDispatchers.runCurrent()
Expand All @@ -237,7 +237,7 @@ class AppLanguageFragmentTest {
}

@Test
fun testAppLanguageFragment_saveInstanceState_restoresCorrectly() {
fun testFragment_saveInstanceState_verifyCorrectStateRestored() {
launch<AppLanguageActivity>(createAppLanguageActivityIntent(OppiaLanguage.ENGLISH))
.use { scenario ->
testCoroutineDispatchers.runCurrent()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ class AudioLanguageFragmentTest {
}

@Test
fun testAudioLanguageFragment_arguments_workingProperly() {
fun testFragment_fragmentLoaded_verifyCorrectArgumentsPassed() {
initializeTestApplicationComponent(enableOnboardingFlowV2 = true)
launch<AudioLanguageActivity>(
createDefaultAudioActivityIntent(ENGLISH_AUDIO_LANGUAGE)
Expand All @@ -376,7 +376,7 @@ class AudioLanguageFragmentTest {
}

@Test
fun testAudioLanguageFragment_saveInstanceState_restoresCorrectly() {
fun testFragment_saveInstanceState_verifyCorrectStateRestored() {
initializeTestApplicationComponent(enableOnboardingFlowV2 = true)
launch<AudioLanguageActivity>(
createDefaultAudioActivityIntent(ENGLISH_AUDIO_LANGUAGE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ class AudioFragmentTest {
}

@Test
fun testAudioFragment_arguments_workingProperly() {
fun testFragment_fragmentLoaded_verifyCorrectArgumentsPassed() {
addMediaInfo()
launch<AudioFragmentTestActivity>(
createAudioFragmentTestIntent(internalProfileId)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ class ProfileEditFragmentTest {
}

@Test
fun testProfileEditFragment_arguments_workingProperly() {
fun testFragment_fragmentLoaded_verifyCorrectArgumentsPassed() {
launchFragmentTestActivity(internalProfileId = 1).use { scenario ->
scenario.onActivity { activity ->

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ class LicenseListFragmentTest {
}

@Test
fun testLicenseListFragment_arguments_workingProperly() {
fun testFragment_fragmentLoaded_verifyCorrectArgumentsPassed() {
launch<LicenseListActivity>(createLicenseListActivity(2)).use { scenario ->

testCoroutineDispatchers.runCurrent()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ class ConceptCardFragmentTest {
}

@Test
fun testConceptCardFragment_arguments_workingProperly() {
fun testFragment_fragmentLoaded_verifyCorrectArgumentsPassed() {
launchTestActivity().use { scenario ->
scenario.onActivity { activity ->

Expand Down

0 comments on commit a1359a9

Please sign in to comment.