Skip to content

Commit

Permalink
Prepare version 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vanniktech committed Aug 20, 2017
1 parent 8dbf0cf commit 3a7a360
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 12 deletions.
25 changes: 23 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,28 @@
# Change Log

Version 0.2.0 *(In development)*
--------------------------------
Version 0.2.0 *(2017-08-20)*
----------------------------

- Don't clean build again when deploying SNAPSHOTS. [\#21](https://github.com/vanniktech/espresso-utils/pull/21) ([vanniktech](https://github.com/vanniktech))
- Add tests for TextViewDrawableMatcher. [\#20](https://github.com/vanniktech/espresso-utils/pull/20) ([vanniktech](https://github.com/vanniktech))
- Consistent return types. [\#19](https://github.com/vanniktech/espresso-utils/pull/19) ([vanniktech](https://github.com/vanniktech))
- Add tests for AttributeMatcher. [\#18](https://github.com/vanniktech/espresso-utils/pull/18) ([vanniktech](https://github.com/vanniktech))
- Add tests for DrawableMatcher. [\#17](https://github.com/vanniktech/espresso-utils/pull/17) ([vanniktech](https://github.com/vanniktech))
- Clean up a few things. [\#16](https://github.com/vanniktech/espresso-utils/pull/16) ([vanniktech](https://github.com/vanniktech))
- Add tests for HintTextColorMatcher. [\#15](https://github.com/vanniktech/espresso-utils/pull/15) ([vanniktech](https://github.com/vanniktech))
- Add tests for CurrentItemMatcher. [\#14](https://github.com/vanniktech/espresso-utils/pull/14) ([vanniktech](https://github.com/vanniktech))
- Add tests for AppendTextAction. [\#13](https://github.com/vanniktech/espresso-utils/pull/13) ([vanniktech](https://github.com/vanniktech))
- Add tests for ProgressMatcher. [\#12](https://github.com/vanniktech/espresso-utils/pull/12) ([vanniktech](https://github.com/vanniktech))
- Add tests for TextColorMatcher. [\#11](https://github.com/vanniktech/espresso-utils/pull/11) ([vanniktech](https://github.com/vanniktech))
- Update Support Library to 26.0.1 [\#10](https://github.com/vanniktech/espresso-utils/pull/10) ([vanniktech](https://github.com/vanniktech))
- Update Jacoco Gradle Plugin to 0.8.0 & Code Quality Plugin to 0.8.0 [\#9](https://github.com/vanniktech/espresso-utils/pull/9) ([vanniktech](https://github.com/vanniktech))
- Update to Espresso 3.0.0 & Test Runner rules 1.0.0 [\#8](https://github.com/vanniktech/espresso-utils/pull/8) ([vanniktech](https://github.com/vanniktech))
- Update Gradle to 4.1 [\#7](https://github.com/vanniktech/espresso-utils/pull/7) ([vanniktech](https://github.com/vanniktech))
- Update Code Quality Tools to 0.7.0 [\#6](https://github.com/vanniktech/espresso-utils/pull/6) ([vanniktech](https://github.com/vanniktech))
- Let Gradle install all of the Android dependencies. [\#5](https://github.com/vanniktech/espresso-utils/pull/5) ([vanniktech](https://github.com/vanniktech))
- Add TextViewDrawableMatcher. [\#4](https://github.com/vanniktech/espresso-utils/pull/4) ([vanniktech](https://github.com/vanniktech))
- Update Code Quality Tools Plugin to 0.5.0 [\#3](https://github.com/vanniktech/espresso-utils/pull/3) ([vanniktech](https://github.com/vanniktech))
- Update Error Prone to 2.0.20 [\#2](https://github.com/vanniktech/espresso-utils/pull/2) ([vanniktech](https://github.com/vanniktech))

Version 0.1.0 *(2017-07-01)*
----------------------------
Expand Down
32 changes: 24 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,32 +11,48 @@ Provides helper methods for asserting a few things that Espresso does not suppor
# Espresso Core Utils

```groovy
compile 'com.vanniktech:espresso-core-utils:0.1.0'
compile 'com.vanniktech:espresso-core-utils:0.2.0'
compile 'com.vanniktech:espresso-core-utils:0.2.0-SNAPSHOT'
```

Examples:

```java
withAttrRes(@AttrRes int attr, @ColorRes int colorRes)
withAttr(@AttrRes int attr, @ColorInt int color)
withAttr(@AttrRes int attr, String color)
withColorAccentRes(@ColorRes int colorRes)
withColorAccent(@ColorInt int color)
withColorAccent(String color)
withColorButtonNormalRes(@ColorRes int colorRes)
withColorButtonNormal(@ColorInt int color)
withColorButtonNormal(String color)
withCurrentItem(int currentItem)
withDrawable(@DrawableRes int resourceId)
withNoDrawable()
withHintTextColorRes(@ColorRes int colorRes)
withHintTextColor(@ColorInt int color)
withHintTextColor(String color)
withProgress(int progress)
withTextColorRes(@ColorRes int colorRes)
withTextColor(@ColorInt int color)
withTextColor(String color)
withAttrRes(@Attr int attr, @ColorRes int colorRes)
withAttr(@Attr int attr, @ColorInt int color)
withAttr(@Attr int attr, String color)
withDrawable(@DrawableRes int drawable)
withNoDrawable()
withProgress(int progress)
withCurrentItem(int currentItem)
withTextViewDrawableLeft(@DrawableRes int resourceId)
withNoTextViewDrawableLeft()
withTextViewDrawableRelativeLeft(@DrawableRes int resourceId)
withNoTextViewDrawableRelativeLeft()
withTextViewDrawableTop(@DrawableRes int resourceId)
withNoTextViewDrawableTop()
withTextViewDrawableRelativeTop(@DrawableRes int resourceId)
withNoTextViewDrawableRelativeTop()
withTextViewDrawableRight(@DrawableRes int resourceId)
withNoTextViewDrawableRight()
withTextViewDrawableRelativeRight(@DrawableRes int resourceId)
withNoTextViewDrawableRelativeRight()
withTextViewDrawableBottom(@DrawableRes int resourceId)
withNoTextViewDrawableBottom()
withTextViewDrawableRelativeBottom(@DrawableRes int resourceId)
withNoTextViewDrawableRelativeBottom()
```

# License
Expand Down
1 change: 1 addition & 0 deletions get-espresso-core-utils-methods.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ack -h -o --java "with[\w\d\()\s@,]+ {" espresso-core-utils/src/main | xargs -L 1 | sed 's/final //g' | sed 's/ {//g'
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION_NAME=0.2.0-SNAPSHOT
VERSION_CODE=1
VERSION_NAME=0.2.0
VERSION_CODE=2
GROUP=com.vanniktech

POM_DESCRIPTION=Helper methods for asserting a few things that Espresso does not support out of the box
Expand Down

0 comments on commit 3a7a360

Please sign in to comment.