Skip to content

Commit

Permalink
move files around (#41)
Browse files Browse the repository at this point in the history
* move files around

* fix wrong imports

* move test to another pkg
  • Loading branch information
shalva97 authored May 8, 2022
1 parent e335e72 commit 518a30c
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 17 deletions.
7 changes: 2 additions & 5 deletions testomania/src/main/java/com/earth/testomania/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,12 @@ import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.padding
import androidx.compose.material.Scaffold
import androidx.compose.runtime.Composable
import androidx.compose.ui.tooling.preview.Preview
import androidx.hilt.navigation.compose.hiltViewModel
import com.earth.testomania.technical.presentation.QuizViewModel
import com.earth.testomania.ui.theme.TestomaniaTheme
import androidx.compose.ui.Modifier
import androidx.hilt.navigation.compose.hiltViewModel
import androidx.navigation.NavHostController
import androidx.navigation.compose.rememberNavController
import com.earth.testomania.presentation.NavGraphs
import com.earth.testomania.presentation.TopBar
import com.earth.testomania.technical.presentation.QuizViewModel
import com.earth.testomania.ui.theme.TestomaniaTheme
import com.ramcosta.composedestinations.DestinationsNavHost
import com.ramcosta.composedestinations.rememberNavHostEngine
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import androidx.compose.material.Button
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import com.earth.testomania.R
import com.earth.testomania.presentation.destinations.SkillzTestScreenDestination
import com.earth.testomania.destinations.SkillzTestScreenDestination
import com.ramcosta.composedestinations.annotation.Destination
import com.ramcosta.composedestinations.navigation.DestinationsNavigator

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.earth.testomania.skills
package com.earth.testomania.skills.data

import android.content.Context
import com.earth.testomania.R
import com.earth.testomania.skills.dto.GeneralTestItemDTO
import com.earth.testomania.skills.data.dto.GeneralTestItemDTO
import com.squareup.moshi.JsonAdapter
import com.squareup.moshi.Moshi
import com.squareup.moshi.adapter
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.earth.testomania.skills.dto
package com.earth.testomania.skills.data.dto

import com.squareup.moshi.JsonClass

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.earth.testomania.skills.dto
package com.earth.testomania.skills.data.dto

import com.squareup.moshi.JsonClass

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package com.earth.testomania.domain
package com.earth.testomania.skills.domain

import com.earth.testomania.domain.models.GeneralMathematicalSkillsTest
import com.earth.testomania.domain.models.PossibleAnswer
import com.earth.testomania.skills.GeneralSkillsMathematicalRepo
import com.earth.testomania.skills.data.GeneralSkillsMathematicalRepo
import javax.inject.Inject

class GetAllSkillsTestsUseCase @Inject constructor(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.earth.testomania.presentation.skillz
package com.earth.testomania.skills.presentation.skillz

import androidx.compose.animation.ExperimentalAnimationApi
import androidx.compose.foundation.layout.Column
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.earth.testomania.presentation.skillz
package com.earth.testomania.skills.presentation.skillz

import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.earth.testomania.domain.GetAllSkillsTestsUseCase
import com.earth.testomania.domain.models.GeneralMathematicalSkillsTest
import com.earth.testomania.skills.domain.GetAllSkillsTestsUseCase
import dagger.hilt.android.lifecycle.HiltViewModel
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.flow.MutableStateFlow
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.earth.testomania.skills
package com.earth.testomania.skills.data

import com.google.common.truth.Truth
import dagger.hilt.android.testing.HiltAndroidRule
Expand Down

0 comments on commit 518a30c

Please sign in to comment.