|
|
@ -17,6 +17,8 @@
|
|
|
|
package com.google.samples.apps.nowinandroid.feature.search
|
|
|
|
package com.google.samples.apps.nowinandroid.feature.search
|
|
|
|
|
|
|
|
|
|
|
|
import androidx.lifecycle.SavedStateHandle
|
|
|
|
import androidx.lifecycle.SavedStateHandle
|
|
|
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.analytics.AnalyticsHelper
|
|
|
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.analytics.NoOpAnalyticsHelper
|
|
|
|
import com.google.samples.apps.nowinandroid.core.domain.GetRecentSearchQueriesUseCase
|
|
|
|
import com.google.samples.apps.nowinandroid.core.domain.GetRecentSearchQueriesUseCase
|
|
|
|
import com.google.samples.apps.nowinandroid.core.domain.GetSearchContentsCountUseCase
|
|
|
|
import com.google.samples.apps.nowinandroid.core.domain.GetSearchContentsCountUseCase
|
|
|
|
import com.google.samples.apps.nowinandroid.core.domain.GetSearchContentsUseCase
|
|
|
|
import com.google.samples.apps.nowinandroid.core.domain.GetSearchContentsUseCase
|
|
|
@ -68,6 +70,7 @@ class SearchViewModelTest {
|
|
|
|
recentSearchQueriesUseCase = getRecentQueryUseCase,
|
|
|
|
recentSearchQueriesUseCase = getRecentQueryUseCase,
|
|
|
|
savedStateHandle = SavedStateHandle(),
|
|
|
|
savedStateHandle = SavedStateHandle(),
|
|
|
|
recentSearchRepository = recentSearchRepository,
|
|
|
|
recentSearchRepository = recentSearchRepository,
|
|
|
|
|
|
|
|
analyticsHelper = NoOpAnalyticsHelper(),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|