mirror of
https://github.com/hmalik144/Candy_Space_tech_test.git
synced 2026-01-31 02:41:44 +00:00
MVVM repository, api, room and unit test classes added
This commit is contained in:
3
.idea/dictionaries/h_mal.xml
generated
Normal file
3
.idea/dictionaries/h_mal.xml
generated
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<component name="ProjectDictionaryState">
|
||||||
|
<dictionary name="h_mal" />
|
||||||
|
</component>
|
||||||
3
.idea/misc.xml
generated
3
.idea/misc.xml
generated
@@ -8,9 +8,6 @@
|
|||||||
<component name="Kotlin2JsCompilerArguments">
|
<component name="Kotlin2JsCompilerArguments">
|
||||||
<option name="sourceMapEmbedSources" />
|
<option name="sourceMapEmbedSources" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ProjectDictionaryState">
|
|
||||||
<dictionary name="h_mal" />
|
|
||||||
</component>
|
|
||||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" project-jdk-name="1.8" project-jdk-type="JavaSDK">
|
||||||
<output url="file://$PROJECT_DIR$/build/classes" />
|
<output url="file://$PROJECT_DIR$/build/classes" />
|
||||||
</component>
|
</component>
|
||||||
|
|||||||
12
.idea/runConfigurations.xml
generated
Normal file
12
.idea/runConfigurations.xml
generated
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="RunConfigurationProducerService">
|
||||||
|
<option name="ignoredProducers">
|
||||||
|
<set>
|
||||||
|
<option value="org.jetbrains.plugins.gradle.execution.test.runner.AllInPackageGradleConfigurationProducer" />
|
||||||
|
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestClassGradleConfigurationProducer" />
|
||||||
|
<option value="org.jetbrains.plugins.gradle.execution.test.runner.TestMethodGradleConfigurationProducer" />
|
||||||
|
</set>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
6
.idea/vcs.xml
generated
Normal file
6
.idea/vcs.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
package com.example.h_mal.candyspace.data.api
|
||||||
|
|
||||||
|
interface ApiClass {
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
package com.example.h_mal.candyspace.data.repositories
|
||||||
|
|
||||||
|
class Repository {
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
package com.example.h_mal.candyspace.data.room
|
||||||
|
|
||||||
|
interface RoomDatabase {
|
||||||
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
package com.example.h_mal.candyspace.data.repositories
|
||||||
|
|
||||||
|
import org.junit.Before
|
||||||
|
|
||||||
|
import org.junit.Assert.*
|
||||||
|
|
||||||
|
class RepositoryTest {
|
||||||
|
|
||||||
|
@Before
|
||||||
|
fun setUp() {
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
package com.example.h_mal.candyspace.ui.main
|
||||||
|
|
||||||
|
import org.junit.Before
|
||||||
|
|
||||||
|
import org.junit.Assert.*
|
||||||
|
|
||||||
|
class MainViewModelTest {
|
||||||
|
|
||||||
|
@Before
|
||||||
|
fun setUp() {
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user