|
|
|
@ -14,8 +14,23 @@
|
|
|
|
|
* limitations under the License.
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
package com.google.samples.apps.nowinandroid.core.domain.repository
|
|
|
|
|
|
|
|
|
|
package com.google.samples.apps.nowinandroid.core.data.repository
|
|
|
|
|
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.data.Synchronizer
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.data.model.asEntity
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.data.model.authorCrossReferences
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.data.model.authorEntityShells
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.data.model.episodeEntityShell
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.data.model.topicCrossReferences
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.data.model.topicEntityShells
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.data.testdoubles.CollectionType
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.data.testdoubles.TestAuthorDao
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.data.testdoubles.TestEpisodeDao
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.data.testdoubles.TestNewsResourceDao
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.data.testdoubles.TestNiaNetwork
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.data.testdoubles.TestTopicDao
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.data.testdoubles.filteredInterestsIds
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.data.testdoubles.nonPresentInterestsIds
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.database.model.AuthorEntity
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.database.model.EpisodeEntity
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.database.model.NewsResourceEntity
|
|
|
|
@ -25,21 +40,6 @@ import com.google.samples.apps.nowinandroid.core.database.model.TopicEntity
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.database.model.asExternalModel
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.datastore.NiaPreferences
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.datastore.test.testUserPreferencesDataStore
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.domain.Synchronizer
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.domain.model.asEntity
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.domain.model.authorCrossReferences
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.domain.model.authorEntityShells
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.domain.model.episodeEntityShell
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.domain.model.topicCrossReferences
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.domain.model.topicEntityShells
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.domain.testdoubles.CollectionType
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.domain.testdoubles.TestAuthorDao
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.domain.testdoubles.TestEpisodeDao
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.domain.testdoubles.TestNewsResourceDao
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.domain.testdoubles.TestNiaNetwork
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.domain.testdoubles.TestTopicDao
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.domain.testdoubles.filteredInterestsIds
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.domain.testdoubles.nonPresentInterestsIds
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.model.data.NewsResource
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.network.model.NetworkChangeList
|
|
|
|
|
import com.google.samples.apps.nowinandroid.core.network.model.NetworkNewsResource
|