Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bitrise test #1

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .idea/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/compiler.xml

This file was deleted.

19 changes: 0 additions & 19 deletions .idea/gradle.xml

This file was deleted.

30 changes: 0 additions & 30 deletions .idea/jarRepositories.xml

This file was deleted.

9 changes: 0 additions & 9 deletions .idea/misc.xml

This file was deleted.

10 changes: 0 additions & 10 deletions .idea/runConfigurations.xml

This file was deleted.

6 changes: 3 additions & 3 deletions app/src/androidTest/java/com/example/app/MainTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ class MainTest : TestCase() {
MainActivityScreen {
employeeRecycler.childAt<AddressItemView>(3) {
homeNumber.hasText("Home Number:123455453")
city.hasText("City:Asdadd")
street.hasText("Street:Asdasdadad")
city.hasText("City:asdadd")
street.hasText("Street:asdasdadad")
}
}
}
Expand Down Expand Up @@ -226,7 +226,7 @@ class MainTest : TestCase() {
step("check if first employee updated") {
MainActivityScreen.employeeRecycler.childAt<EmployeeItemView>(1) {
employeeName.hasText("Name:Tytus")
lastName.hasText("Last Name:Name")
lastName.hasText("Last Name:name")
age.hasText("Age:121312312323")
}
}
Expand Down
5 changes: 5 additions & 0 deletions app/src/main/java/com/example/app/ui/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ import kotlinx.coroutines.flow.launchIn
import kotlinx.coroutines.flow.onEach
import org.koin.androidx.viewmodel.ext.android.viewModel

/**
* test check
*/

class MainActivity : AppCompatActivity() {

private val viewModel: EmployeeViewModel by viewModel()
Expand All @@ -35,6 +39,7 @@ class MainActivity : AppCompatActivity() {
},
addEmployee = {
openAddEmployeeDialog { employee ->

viewModel.saveEmployee(employee)
}
},
Expand Down
6 changes: 0 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,11 @@ buildscript {
}
}

plugins {
id "io.gitlab.arturbosch.detekt" version "1.16.0"
}

allprojects {
apply from: "$rootDir/ktlint.gradle"
apply from: "$rootDir/detekt.gradle"
repositories {
google()
mavenCentral()
jcenter() // Warning: this repository is going to shut down soon
}
}

Expand Down
8 changes: 0 additions & 8 deletions detekt.gradle

This file was deleted.

Empty file modified gradlew
100644 → 100755
Empty file.