-
-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move library package to com.adevinta (#423)
- Loading branch information
Showing
200 changed files
with
619 additions
and
616 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
* SchibstedSpain/barista-maintainers | ||
* AdevintaSpain/barista-maintainers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...sta/internal/util/BitmapComparatorTest.kt → ...sta/internal/util/BitmapComparatorTest.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
...in/barista/assertion/BaristaAssertions.kt → ...id/barista/assertion/BaristaAssertions.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...sertion/BaristaAssistiveTextAssertions.kt → ...sertion/BaristaAssistiveTextAssertions.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 6 additions & 6 deletions
12
.../assertion/BaristaBackgroundAssertions.kt → .../assertion/BaristaBackgroundAssertions.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...sta/assertion/BaristaCheckedAssertions.kt → ...sta/assertion/BaristaCheckedAssertions.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...arista/assertion/BaristaChipAssertions.kt → ...arista/assertion/BaristaChipAssertions.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 29 additions & 29 deletions
58
...a/assertion/BaristaClickableAssertions.kt → ...a/assertion/BaristaClickableAssertions.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
package com.schibsted.spain.barista.assertion | ||
|
||
import androidx.test.espresso.matcher.ViewMatchers.isClickable | ||
import androidx.test.espresso.matcher.ViewMatchers.withText | ||
import com.schibsted.spain.barista.internal.assertAny | ||
import com.schibsted.spain.barista.internal.util.resourceMatcher | ||
import org.hamcrest.Matchers.not | ||
|
||
object BaristaClickableAssertions { | ||
|
||
@JvmStatic | ||
fun assertClickable(resId: Int) { | ||
resId.resourceMatcher().assertAny(isClickable()) | ||
} | ||
|
||
@JvmStatic | ||
fun assertClickable(text: String) { | ||
withText(text).assertAny(isClickable()) | ||
} | ||
|
||
@JvmStatic | ||
fun assertNotClickable(resId: Int) { | ||
resId.resourceMatcher().assertAny(not(isClickable())) | ||
} | ||
|
||
@JvmStatic | ||
fun assertNotClickable(text: String) { | ||
withText(text).assertAny(not(isClickable())) | ||
} | ||
package com.adevinta.android.barista.assertion | ||
|
||
import androidx.test.espresso.matcher.ViewMatchers.isClickable | ||
import androidx.test.espresso.matcher.ViewMatchers.withText | ||
import com.adevinta.android.barista.internal.assertAny | ||
import com.adevinta.android.barista.internal.util.resourceMatcher | ||
import org.hamcrest.Matchers.not | ||
|
||
object BaristaClickableAssertions { | ||
|
||
@JvmStatic | ||
fun assertClickable(resId: Int) { | ||
resId.resourceMatcher().assertAny(isClickable()) | ||
} | ||
|
||
@JvmStatic | ||
fun assertClickable(text: String) { | ||
withText(text).assertAny(isClickable()) | ||
} | ||
|
||
@JvmStatic | ||
fun assertNotClickable(resId: Int) { | ||
resId.resourceMatcher().assertAny(not(isClickable())) | ||
} | ||
|
||
@JvmStatic | ||
fun assertNotClickable(text: String) { | ||
withText(text).assertAny(not(isClickable())) | ||
} | ||
} |
4 changes: 2 additions & 2 deletions
4
...on/BaristaContentDescriptionAssertions.kt → ...on/BaristaContentDescriptionAssertions.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ista/assertion/BaristaDrawerAssertions.kt → ...ista/assertion/BaristaDrawerAssertions.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...sta/assertion/BaristaEnabledAssertions.kt → ...sta/assertion/BaristaEnabledAssertions.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...sta/assertion/BaristaFocusedAssertions.kt → ...sta/assertion/BaristaFocusedAssertions.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
...a/assertion/BaristaImageViewAssertions.kt → ...a/assertion/BaristaImageViewAssertions.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
...assertion/BaristaProgressBarAssertions.kt → ...assertion/BaristaProgressBarAssertions.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...ssertion/BaristaRecyclerViewAssertions.kt → ...ssertion/BaristaRecyclerViewAssertions.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.