Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jainv4156 committed Feb 26, 2025
1 parent 0748765 commit fe1fedc
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class ExplorationFragmentPresenter @Inject constructor(
ExplorationFragmentBinding.inflate(inflater, container, /* attachToRoot= */ false).root
val stateFragment =
StateFragment.newInstance(
profileId,args.topicId, args.storyId, args.explorationId
profileId, args.topicId, args.storyId, args.explorationId
)
logPracticeFragmentEvent(args.classroomId, args.topicId, args.storyId, args.explorationId)
if (getStateFragment() == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ class StateFragmentTestActivityPresenter @Inject constructor(
) {
stateFragmentTestViewModel.hasExplorationStarted.set(true)

val stateFragment = StateFragment.newInstance(profileId,topicId, storyId, explorationId)
val stateFragment = StateFragment.newInstance(profileId, topicId, storyId, explorationId)
activity.supportFragmentManager.beginTransaction().add(
R.id.state_fragment_placeholder,
stateFragment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ class ExplorationActivityTest {
@Test
fun testExploration_toolbarTitle_isDisplayedSuccessfully() {
launch<ExplorationActivity>(
createExplorationActivityIntent(
createExplorationActivityIntent(
TEST_CLASSROOM_ID_0,
TEST_TOPIC_ID_0,
TEST_STORY_ID_0,
Expand Down Expand Up @@ -595,7 +595,7 @@ class ExplorationActivityTest {
}

launch<ExplorationActivity>(
createExplorationActivityIntent(
createExplorationActivityIntent(
TEST_CLASSROOM_ID_1,
FRACTIONS_TOPIC_ID,
FRACTIONS_STORY_ID_0,
Expand Down Expand Up @@ -623,7 +623,7 @@ class ExplorationActivityTest {
setUpAudioForFractionLesson()
markSpotlightSeen(Spotlight.FeatureCase.LESSONS_BACK_BUTTON)
launch<ExplorationActivity>(
createExplorationActivityIntent(
createExplorationActivityIntent(
TEST_CLASSROOM_ID_1,
FRACTIONS_TOPIC_ID,
FRACTIONS_STORY_ID_0,
Expand Down Expand Up @@ -651,7 +651,7 @@ class ExplorationActivityTest {
setUpAudioForFractionLesson()
markSpotlightSeen(Spotlight.FeatureCase.LESSONS_BACK_BUTTON)
launch<ExplorationActivity>(
createExplorationActivityIntent(
createExplorationActivityIntent(
TEST_CLASSROOM_ID_1,
FRACTIONS_TOPIC_ID,
FRACTIONS_STORY_ID_0,
Expand All @@ -671,7 +671,7 @@ class ExplorationActivityTest {
}

launch<ExplorationActivity>(
createExplorationActivityIntent(
createExplorationActivityIntent(
TEST_CLASSROOM_ID_1,
FRACTIONS_TOPIC_ID,
FRACTIONS_STORY_ID_0,
Expand All @@ -698,7 +698,7 @@ class ExplorationActivityTest {
markSpotlightSeen(Spotlight.FeatureCase.LESSONS_BACK_BUTTON)
setUpAudioForFractionLesson()
launch<ExplorationActivity>(
createExplorationActivityIntent(
createExplorationActivityIntent(
TEST_CLASSROOM_ID_1,
FRACTIONS_TOPIC_ID,
FRACTIONS_STORY_ID_0,
Expand All @@ -725,7 +725,7 @@ class ExplorationActivityTest {
markAllSpotlightsSeen()
setUpAudioForFractionLesson()
launch<ExplorationActivity>(
createExplorationActivityIntent(
createExplorationActivityIntent(
TEST_CLASSROOM_ID_1,
FRACTIONS_TOPIC_ID,
FRACTIONS_STORY_ID_0,
Expand Down Expand Up @@ -753,7 +753,7 @@ class ExplorationActivityTest {
fun testExploration_clickAudioIconTwice_contentDescription_changesToDefault() {
setUpAudioForFractionLesson()
launch<ExplorationActivity>(
createExplorationActivityIntent(
createExplorationActivityIntent(
TEST_CLASSROOM_ID_1,
FRACTIONS_TOPIC_ID,
FRACTIONS_STORY_ID_0,
Expand Down Expand Up @@ -781,7 +781,7 @@ class ExplorationActivityTest {
@Test
fun testAudioWithNoVoiceover_openPrototypeExploration_checkAudioButtonIsHidden() {
launch<ExplorationActivity>(
createExplorationActivityIntent(
createExplorationActivityIntent(
TEST_CLASSROOM_ID_0,
TEST_TOPIC_ID_0,
TEST_STORY_ID_0,
Expand All @@ -804,7 +804,7 @@ class ExplorationActivityTest {
@Test
fun testAudioWithNoVoiceover_prototypeExploration_configChange_checkAudioButtonIsHidden() {
launch<ExplorationActivity>(
createExplorationActivityIntent(
createExplorationActivityIntent(
TEST_CLASSROOM_ID_0,
TEST_TOPIC_ID_0,
TEST_STORY_ID_0,
Expand All @@ -830,7 +830,7 @@ class ExplorationActivityTest {
markAllSpotlightsSeen()
setUpAudio()
launch<ExplorationActivity>(
createExplorationActivityIntent(
createExplorationActivityIntent(
TEST_CLASSROOM_ID_1,
RATIOS_TOPIC_ID,
RATIOS_STORY_ID_0,
Expand Down Expand Up @@ -860,7 +860,7 @@ class ExplorationActivityTest {
markAllSpotlightsSeen()
setUpAudio()
launch<ExplorationActivity>(
createExplorationActivityIntent(
createExplorationActivityIntent(
TEST_CLASSROOM_ID_1,
RATIOS_TOPIC_ID,
RATIOS_STORY_ID_0,
Expand Down Expand Up @@ -890,7 +890,7 @@ class ExplorationActivityTest {
markAllSpotlightsSeen()
setUpAudio()
launch<ExplorationActivity>(
createExplorationActivityIntent(
createExplorationActivityIntent(
TEST_CLASSROOM_ID_1,
RATIOS_TOPIC_ID,
RATIOS_STORY_ID_0,
Expand Down Expand Up @@ -921,7 +921,7 @@ class ExplorationActivityTest {
markAllSpotlightsSeen()
setUpAudio()
launch<ExplorationActivity>(
createExplorationActivityIntent(
createExplorationActivityIntent(
TEST_CLASSROOM_ID_1,
RATIOS_TOPIC_ID,
RATIOS_STORY_ID_0,
Expand Down Expand Up @@ -961,7 +961,7 @@ class ExplorationActivityTest {
markAllSpotlightsSeen()
setUpAudio()
launch<ExplorationActivity>(
createExplorationActivityIntent(
createExplorationActivityIntent(
TEST_CLASSROOM_ID_1,
RATIOS_TOPIC_ID,
RATIOS_STORY_ID_0,
Expand Down

0 comments on commit fe1fedc

Please sign in to comment.