Skip to content

Commit

Permalink
test fixed, version changed
Browse files Browse the repository at this point in the history
  • Loading branch information
GrzegorzBobryk committed Feb 14, 2023
1 parent 172f869 commit 901e161
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ and the dependency itself

```gradle
dependencies {
implementation 'com.github.GrzegorzBobryk:ViewBindingDelegate:1.0.2'
implementation 'com.github.GrzegorzBobryk:ViewBindingDelegate:1.0.3'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,10 @@ class MainActivityTest {
fun mainActivityTest() {
val resources = InstrumentationRegistry.getInstrumentation().targetContext.resources

val textView = onView(
allOf(
withId(R.id.hello_world), withText(resources.getString(R.string.example_1)),
withParent(withParent(withId(R.id.nav_host_fragment))),
isDisplayed()
)
allOf(
childAtPosition(hasDescendant(withText(resources.getString(R.string.example_1))), 0),
isDisplayed()
)
textView.check(matches(withText(resources.getString(R.string.example_1))))


val materialButton = onView(
allOf(
Expand Down
2 changes: 1 addition & 1 deletion view-binder/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ afterEvaluate {

groupId = 'com.github.grzegorzbobryk'
artifactId = 'view-binder'
version = '1.0.2'
version = '1.0.3'
}
}
}
Expand Down

0 comments on commit 901e161

Please sign in to comment.