Skip to content

Commit

Permalink
Remove common package from paths following Kotlin Code Conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
illarionov committed May 18, 2024
1 parent ea5fb25 commit d011dd8
Show file tree
Hide file tree
Showing 736 changed files with 149 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import androidx.compose.ui.test.hasTestTag
import androidx.compose.ui.test.junit4.AndroidComposeTestRule
import androidx.compose.ui.test.onChildren
import androidx.compose.ui.test.onFirst
import ru.pixnews.foundation.ui.design.test.constants.card.PixnewsGameCardTestTags
import card.PixnewsGameCardTestTags

public class GameCardHeadlineElement(
private val parent: (matcher: SemanticsMatcher) -> SemanticsNodeInteraction,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import androidx.compose.ui.test.hasTestTag
import androidx.compose.ui.test.junit4.AndroidComposeTestRule
import androidx.compose.ui.test.onChild
import androidx.compose.ui.test.onChildren
import card.PixnewsGameCardTestTags
import ru.pixnews.domain.model.id.GameId
import ru.pixnews.foundation.ui.design.GameIdKey
import ru.pixnews.foundation.ui.design.test.constants.card.PixnewsGameCardTestTags

class PixnewsGameCardElement(
private val parent: (matcher: SemanticsMatcher) -> SemanticsNodeInteraction,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import androidx.compose.ui.test.hasTestTag
import androidx.compose.ui.test.hasText
import androidx.compose.ui.test.junit4.AndroidComposeTestRule
import androidx.compose.ui.test.onChildren
import card.PixnewsGameCardGridSmallTestTags
import ru.pixnews.domain.model.id.GameId
import ru.pixnews.foundation.ui.design.GameIdKey
import ru.pixnews.foundation.ui.design.test.constants.card.PixnewsGameCardGridSmallTestTags

class PixnewsGameCardGridSmallElement(
private val parent: (matcher: SemanticsMatcher) -> SemanticsNodeInteraction,
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
*/

package ru.pixnews.feature.calendar.domain.upcoming
package ru.pixnews.feature.calendar.data.subdomain.upcoming

import androidx.paging.ExperimentalPagingApi
import androidx.paging.Pager
Expand Down Expand Up @@ -32,6 +32,7 @@ import ru.pixnews.feature.calendar.data.sync.SyncService
import ru.pixnews.foundation.di.base.scopes.AppScope
import javax.inject.Inject

// TODO: move to domain?
@ContributesBinding(
boundType = ObserveUpcomingReleasesByDateUseCase::class,
scope = AppScope::class,
Expand Down
9 changes: 9 additions & 0 deletions feature/calendar/data/src/test/kotlin/Dummy.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*
* Copyright (c) 2024, the Pixnews project authors and contributors. Please see the AUTHORS file for details.
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
*/

@file:Suppress("FILE_CONTAINS_ONLY_COMMENTS", "FILE_NO_BLANK_LINE_BETWEEN_BLOCKS")

// Workaround for https://youtrack.jetbrains.com/issue/KTIJ-27842
package ru.pixnews.feature.calendar.data
9 changes: 9 additions & 0 deletions feature/calendar/datasource-igdb/src/test/kotlin/Dummy.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*
* Copyright (c) 2024, the Pixnews project authors and contributors. Please see the AUTHORS file for details.
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
*/

@file:Suppress("FILE_CONTAINS_ONLY_COMMENTS", "FILE_NO_BLANK_LINE_BETWEEN_BLOCKS")

// Workaround for https://youtrack.jetbrains.com/issue/KTIJ-27842
package ru.pixnews.feature.calendar.datasource.igdb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import org.junit.jupiter.api.extension.RegisterExtension
import ru.pixnews.domain.model.game.GameField
import ru.pixnews.feature.calendar.data.domain.upcoming.ObserveUpcomingReleasesByDateUseCase
import ru.pixnews.feature.calendar.data.domain.upcoming.ObserveUpcomingReleasesByDateUseCase.UpcomingRelease
import ru.pixnews.feature.calendar.domain.upcoming.DefaultObserveUpcomingReleasesByDateUseCase
import ru.pixnews.feature.calendar.data.subdomain.upcoming.DefaultObserveUpcomingReleasesByDateUseCase
import ru.pixnews.feature.calendar.model.InitialLoad
import ru.pixnews.foundation.featuretoggles.ExperimentKey
import ru.pixnews.foundation.featuretoggles.FeatureManager
Expand Down
9 changes: 9 additions & 0 deletions feature/calendar/test/src/main/kotlin/Dummy.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/*
* Copyright (c) 2024, the Pixnews project authors and contributors. Please see the AUTHORS file for details.
* Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
*/

@file:Suppress("FILE_CONTAINS_ONLY_COMMENTS", "FILE_NO_BLANK_LINE_BETWEEN_BLOCKS")

// Workaround for https://youtrack.jetbrains.com/issue/KTIJ-27842
package ru.pixnews.feature.calendar.test
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit d011dd8

Please sign in to comment.