@@ -116,7 +116,7 @@ class CreationViewModelTest {
116116 }
117117
118118 @Test
119- fun selectedPromptOptionChanged_updatesUiState () = runTest {
119+ fun onSelectedPromptOptionChanged_updatesUiState () = runTest {
120120 viewModel.onSelectedPromptOptionChanged(PromptType .TEXT )
121121
122122 assertEquals(PromptType .TEXT , viewModel.uiState.value.selectedPromptOption)
@@ -130,7 +130,7 @@ class CreationViewModelTest {
130130 }
131131
132132 @Test
133- fun startClicked_GenerateBotFromPhoto () = runTest {
133+ fun onStartClicked_GenerateBotFromPhoto () = runTest {
134134 val screenStateValues = mutableListOf<ScreenState >()
135135 backgroundScope.launch(UnconfinedTestDispatcher ()) {
136136 viewModel.uiState.collect {
@@ -146,7 +146,7 @@ class CreationViewModelTest {
146146 }
147147
148148 @Test
149- fun startClicked_GenerateBotFromPhoto_NoPhotoSelected () = runTest {
149+ fun onStartClicked_GenerateBotFromPhoto_NoPhotoSelected () = runTest {
150150 val values = mutableListOf<SnackbarHostState >()
151151
152152 backgroundScope.launch(UnconfinedTestDispatcher ()) {
@@ -165,7 +165,7 @@ class CreationViewModelTest {
165165 }
166166
167167 @Test
168- fun startClicked_GenerateBotFromPrompt_TextEmpty () = runTest {
168+ fun onStartClicked_GenerateBotFromPrompt_TextEmpty () = runTest {
169169 val values = mutableListOf<SnackbarHostState >()
170170
171171 backgroundScope.launch(UnconfinedTestDispatcher ()) {
@@ -193,7 +193,7 @@ class CreationViewModelTest {
193193 }
194194
195195 @Test
196- fun startClicked_GenerateBotFromPrompt () = runTest {
196+ fun onStartClicked_GenerateBotFromPrompt () = runTest {
197197 val screenStateValues = mutableListOf<ScreenState >()
198198 backgroundScope.launch(UnconfinedTestDispatcher ()) {
199199 viewModel.uiState.collect {
@@ -210,7 +210,7 @@ class CreationViewModelTest {
210210 }
211211
212212 @Test
213- fun startClicked_NoInternet_DisplaysError () = runTest {
213+ fun onStartClicked_NoInternet_DisplaysError () = runTest {
214214 val values = mutableListOf<SnackbarHostState >()
215215 backgroundScope.launch(UnconfinedTestDispatcher ()) {
216216 viewModel.snackbarHostState.collect {
0 commit comments