Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

Commit

Permalink
Merge pull request #76 from Alviere/release-1.2.1
Browse files Browse the repository at this point in the history
Kakao 1.2.1 release
  • Loading branch information
Unlimity authored Jan 30, 2018
2 parents a400aa0 + 04ebc93 commit 9d6588e
Show file tree
Hide file tree
Showing 195 changed files with 2,751 additions and 48 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Kakao
[![Github tag version](https://img.shields.io/github/tag/agoda-com/kakao.svg?label=version)](https://bintray.com/agoda/maven/kakao)
[![CircleCI](https://circleci.com/gh/agoda-com/Kakao/tree/master.svg?style=shield&circle-token=0d0ed659625be4efe54fe706c16894cd54213690)](https://circleci.com/gh/agoda-com/Kakao/tree/master)
[![Kotlin version badge](https://img.shields.io/badge/kotlin-1.2.10-blue.svg)](http://kotlinlang.org/)
[![Kotlin version badge](https://img.shields.io/badge/kotlin-1.2.21-blue.svg)](http://kotlinlang.org/)
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Kakao-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/6314)

Nice and simple DSL for Espresso in Kotlin
Expand Down
6 changes: 3 additions & 3 deletions buildsystem/dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ext.versions = [
kotlin : '1.2.10',
kotlin : '1.2.21',
dokka : '0.9.15',
android_gradle : '3.0.1',
bintray : '1.7.3',
Expand Down Expand Up @@ -44,8 +44,8 @@ ext.kakao = [
artifact : 'kakao',
name : 'kakao',
description : 'Kotlin based DSL for fluent AT with Espresso',
version : "1.2.0$alias",
version_desc : "Kakao 1.2.0$alias",
version : "1.2.1$alias",
version_desc : "Kakao 1.2.1$alias",
site : 'https://github.com/agoda-com/Kakao',
github : 'https://github.com/agoda-com/Kakao.git'
]
39 changes: 39 additions & 0 deletions docs/kakao/alltypes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@

| Name | Summary |
|---|---|
| [com.agoda.kakao.ActivityResultBuilder](../com.agoda.kakao/-activity-result-builder/index.md) | Class for building ActivityResult |
| [com.agoda.kakao.AnyTextMatcher](../com.agoda.kakao/-any-text-matcher/index.md) | Matches TextView views which contains any text |
| [com.agoda.kakao.BackgroundColorMatcher](../com.agoda.kakao/-background-color-matcher/index.md) | Matches given background color with the current one |
| [com.agoda.kakao.BaseActions](../com.agoda.kakao/-base-actions/index.md) | Base interface for performing actions on view |
| [com.agoda.kakao.BaseAssertions](../com.agoda.kakao/-base-assertions/index.md) | Base interface for asserting views |
| [com.agoda.kakao.BottomNavigationViewActions](../com.agoda.kakao/-bottom-navigation-view-actions/index.md) | Provides actions for BottomNavigationView |
| [com.agoda.kakao.BottomNavigationViewAssertions](../com.agoda.kakao/-bottom-navigation-view-assertions/index.md) | Provides assertion for BottomNavigationview |
| [com.agoda.kakao.BundleBuilder](../com.agoda.kakao/-bundle-builder/index.md) | Class for building Bundle matchers |
| [com.agoda.kakao.CheckableActions](../com.agoda.kakao/-checkable-actions/index.md) | Provides action for checking views |
| [com.agoda.kakao.CheckableAssertions](../com.agoda.kakao/-checkable-assertions/index.md) | Provides checkable based assertions for views |
| [com.agoda.kakao.ComponentNameBuilder](../com.agoda.kakao/-component-name-builder/index.md) | Class for building ComponentName matchers |
| [com.agoda.kakao.DataBuilder](../com.agoda.kakao/-data-builder/index.md) | Class for building data matchers |
| [com.agoda.kakao.DrawableMatcher](../com.agoda.kakao/-drawable-matcher/index.md) | Matches given drawable with current one |
| [com.agoda.kakao.DrawerActions](../com.agoda.kakao/-drawer-actions/index.md) | Provides actions for navigation drawer |
Expand All @@ -17,38 +23,71 @@
| [com.agoda.kakao.FirstViewMatcher](../com.agoda.kakao/-first-view-matcher/index.md) | Matches first view |
| [com.agoda.kakao.ImageViewAssertions](../com.agoda.kakao/-image-view-assertions/index.md) | Provides assertion for image views |
| [com.agoda.kakao.IndexMatcher](../com.agoda.kakao/-index-matcher/index.md) | Matches index'th view that matches given matcher |
| [com.agoda.kakao.IntentBuilder](../com.agoda.kakao/-intent-builder/index.md) | Class for building Intent matchers |
| [com.agoda.kakao.ItemMatcher](../com.agoda.kakao/-item-matcher/index.md) | Matches first RecyclerView descendant which matches specific matcher |
| [com.agoda.kakao.KAdapterItem](../com.agoda.kakao/-k-adapter-item/index.md) | Base class for KRecyclerView adapter items |
| [com.agoda.kakao.KAdapterItemType](../com.agoda.kakao/-k-adapter-item-type/index.md) | For internal use. Don't use manually. |
| [com.agoda.kakao.KAdapterItemTypeBuilder](../com.agoda.kakao/-k-adapter-item-type-builder/index.md) | Class that maps types to providing functions |
| [com.agoda.kakao.KBaseView](../com.agoda.kakao/-k-base-view/index.md) | Base class for all Kakao views |
| [com.agoda.kakao.KBottomNavigationView](../com.agoda.kakao/-k-bottom-navigation-view/index.md) | View for acting and asserting on BottomNavigationView |
| [com.agoda.kakao.KButton](../com.agoda.kakao/-k-button/index.md) | View with BaseActions and TextViewAssertions |
| [com.agoda.kakao.KCheckBox](../com.agoda.kakao/-k-check-box/index.md) | View with CheckableActions, CheckableAssertions and TextViewAssertions |
| [com.agoda.kakao.KDrawerView](../com.agoda.kakao/-k-drawer-view/index.md) | View with DrawerActions and BaseAssertions |
| [com.agoda.kakao.KEditText](../com.agoda.kakao/-k-edit-text/index.md) | View with EditableActions and EditableAssertions |
| [com.agoda.kakao.KEmptyAdapterItem](../com.agoda.kakao/-k-empty-adapter-item/index.md) | Empty implementation of KAdapterItem |
| [com.agoda.kakao.KEmptyRecyclerItem](../com.agoda.kakao/-k-empty-recycler-item/index.md) | Empty implementation of KRecyclerItem |
| [com.agoda.kakao.KImageView](../com.agoda.kakao/-k-image-view/index.md) | View with BaseActions and ImageViewAssertions |
| [com.agoda.kakao.KIntent](../com.agoda.kakao/-k-intent/index.md) | This class is intended to be used when you need to check if some intent has been sent or to mock specific intent with result |
| [com.agoda.kakao.KListView](../com.agoda.kakao/-k-list-view/index.md) | View with ScrollViewActions and BaseAssertions. Gives access to it's children |
| [com.agoda.kakao.KNavigationView](../com.agoda.kakao/-k-navigation-view/index.md) | View with NavigationViewActions and NavigationViewAssertions |
| [com.agoda.kakao.KProgressBar](../com.agoda.kakao/-k-progress-bar/index.md) | View with ProgressBarActions and ProgressBarAssertions |
| [com.agoda.kakao.KRatingBar](../com.agoda.kakao/-k-rating-bar/index.md) | View with RatingBarActions and RatingBarAssertions |
| [com.agoda.kakao.KRecyclerItem](../com.agoda.kakao/-k-recycler-item/index.md) | Base class for KRecyclerView adapter items |
| [com.agoda.kakao.KRecyclerItemType](../com.agoda.kakao/-k-recycler-item-type/index.md) | For internal use. Don't use manually. |
| [com.agoda.kakao.KRecyclerItemTypeBuilder](../com.agoda.kakao/-k-recycler-item-type-builder/index.md) | Class that maps types to providing functions |
| [com.agoda.kakao.KRecyclerView](../com.agoda.kakao/-k-recycler-view/index.md) | View with RecyclerActions and BaseAssertions. Gives access to it's children |
| [com.agoda.kakao.KSeekBar](../com.agoda.kakao/-k-seek-bar/index.md) | View with SeekBarActions and ProgressBarAssertions |
| [com.agoda.kakao.KSnackbar](../com.agoda.kakao/-k-snackbar/index.md) | View with internal TextView and a Button |
| [com.agoda.kakao.KSwipeRefreshLayout](../com.agoda.kakao/-k-swipe-refresh-layout/index.md) | View with SwipeRefreshLayoutActions and SwipeRefreshLayoutAssertions |
| [com.agoda.kakao.KSwipeView](../com.agoda.kakao/-k-swipe-view/index.md) | View with SwipeableActions and BaseAssertions |
| [com.agoda.kakao.KTabLayout](../com.agoda.kakao/-k-tab-layout/index.md) | View with TabLayoutActions and TabLayoutAssertions |
| [com.agoda.kakao.KTextInputLayout](../com.agoda.kakao/-k-text-input-layout/index.md) | View with TextInputLayoutAssertions |
| [com.agoda.kakao.KTextView](../com.agoda.kakao/-k-text-view/index.md) | View with BaseActions and TextViewAssertions |
| [com.agoda.kakao.KView](../com.agoda.kakao/-k-view/index.md) | Simple view with BaseActions and BaseAssertions |
| [com.agoda.kakao.KViewPager](../com.agoda.kakao/-k-view-pager/index.md) | View with SwipeableActions and ViewPagerAssertions |
| [com.agoda.kakao.KWebView](../com.agoda.kakao/-k-web-view/index.md) | Class for interacting with WebViews |
| [com.agoda.kakao.NavigationItemMatcher](../com.agoda.kakao/-navigation-item-matcher/index.md) | Matches NavigationView with given item id checked |
| [com.agoda.kakao.NavigationViewActions](../com.agoda.kakao/-navigation-view-actions/index.md) | Provides actions for navigation view |
| [com.agoda.kakao.NavigationViewAssertions](../com.agoda.kakao/-navigation-view-assertions/index.md) | Provides assertions for NavigationView |
| [com.agoda.kakao.PageMatcher](../com.agoda.kakao/-page-matcher/index.md) | Matches ViewPager which page index equals given |
| [com.agoda.kakao.PositionMatcher](../com.agoda.kakao/-position-matcher/index.md) | Matches RecyclerView descendant at given position in adapter |
| [com.agoda.kakao.PreciseSwipe](../com.agoda.kakao/-precise-swipe/index.md) | |
| [com.agoda.kakao.ProgressBarActions](../com.agoda.kakao/-progress-bar-actions/index.md) | Provides action for ProgressBar |
| [com.agoda.kakao.ProgressBarAssertions](../com.agoda.kakao/-progress-bar-assertions/index.md) | Provides assertions for progress bar |
| [com.agoda.kakao.ProgressMatcher](../com.agoda.kakao/-progress-matcher/index.md) | Matcher of value progress of given matcher |
| [com.agoda.kakao.RatingBarActions](../com.agoda.kakao/-rating-bar-actions/index.md) | Provides action for RatingBar |
| [com.agoda.kakao.RatingBarAssertions](../com.agoda.kakao/-rating-bar-assertions/index.md) | Provides assertions for RatingBar |
| [com.agoda.kakao.RatingBarMatcher](../com.agoda.kakao/-rating-bar-matcher/index.md) | Matcher of value rating of given matcher |
| [com.agoda.kakao.RecyclerActions](../com.agoda.kakao/-recycler-actions/index.md) | Provides ScrollableActions implementation for RecyclerView |
| [com.agoda.kakao.RootBuilder](../com.agoda.kakao/-root-builder/index.md) | Class for building root matchers |
| [com.agoda.kakao.Screen](../com.agoda.kakao/-screen/index.md) | Container class for UI elements. |
| [com.agoda.kakao.ScreenActions](../com.agoda.kakao/-screen-actions/index.md) | Interface with common actions for all screens |
| [com.agoda.kakao.ScrollViewActions](../com.agoda.kakao/-scroll-view-actions/index.md) | Provides ScrollableActions implementation for ScrollView |
| [com.agoda.kakao.ScrollableActions](../com.agoda.kakao/-scrollable-actions/index.md) | Provides scrolling actions for view |
| [com.agoda.kakao.SeekBarActions](../com.agoda.kakao/-seek-bar-actions/index.md) | Provides action for SeekBar |
| [com.agoda.kakao.SwipeRefreshLayoutActions](../com.agoda.kakao/-swipe-refresh-layout-actions/index.md) | Provides actions for SwipeRefreshLayout |
| [com.agoda.kakao.SwipeRefreshLayoutAssertions](../com.agoda.kakao/-swipe-refresh-layout-assertions/index.md) | Provides assertion for SwipeRefreshLayout |
| [com.agoda.kakao.SwipeRefreshLayoutMatcher](../com.agoda.kakao/-swipe-refresh-layout-matcher/index.md) | |
| [com.agoda.kakao.SwipeableActions](../com.agoda.kakao/-swipeable-actions/index.md) | Provides swipe actions for views |
| [com.agoda.kakao.TabLayoutActions](../com.agoda.kakao/-tab-layout-actions/index.md) | Provides action for TabLayout |
| [com.agoda.kakao.TabLayoutAssertions](../com.agoda.kakao/-tab-layout-assertions/index.md) | Provides assertions for TabLayout |
| [com.agoda.kakao.TextInputLayoutAssertions](../com.agoda.kakao/-text-input-layout-assertions/index.md) | Provides assertions for TextInputLayout |
| [com.agoda.kakao.TextInputLayoutCounterEnabledMatcher](../com.agoda.kakao/-text-input-layout-counter-enabled-matcher/index.md) | |
| [com.agoda.kakao.TextInputLayoutErrorEnabledMatcher](../com.agoda.kakao/-text-input-layout-error-enabled-matcher/index.md) | |
| [com.agoda.kakao.TextInputLayoutHintEnabledMatcher](../com.agoda.kakao/-text-input-layout-hint-enabled-matcher/index.md) | |
| [com.agoda.kakao.TextViewActions](../com.agoda.kakao/-text-view-actions/index.md) | Provides actions for TextViews |
| [com.agoda.kakao.TextViewAssertions](../com.agoda.kakao/-text-view-assertions/index.md) | Provides text based assertions for views |
| [com.agoda.kakao.UriBuilder](../com.agoda.kakao/-uri-builder/index.md) | Class for building Uri matchers |
| [com.agoda.kakao.ViewBuilder](../com.agoda.kakao/-view-builder/index.md) | Class for building view matchers and interactions |
| [com.agoda.kakao.ViewPagerAssertions](../com.agoda.kakao/-view-pager-assertions/index.md) | Provides assertions for view pagers |
| [com.agoda.kakao.WebActions](../com.agoda.kakao/-web-actions/index.md) | Provides action for interacting with WebViews |
Expand Down
8 changes: 8 additions & 0 deletions docs/kakao/com.agoda.kakao/-activity-result-builder/-init-.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[kakao](../../index.md) / [com.agoda.kakao](../index.md) / [ActivityResultBuilder](index.md) / [<init>](.)

# <init>

`ActivityResultBuilder()`

Class for building ActivityResult

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[kakao](../../index.md) / [com.agoda.kakao](../index.md) / [ActivityResultBuilder](index.md) / [getResult](.)

# getResult

`fun getResult(): `[`ActivityResult`](https://developer.android.com/reference/android/app/Instrumentation/ActivityResult.html)
21 changes: 21 additions & 0 deletions docs/kakao/com.agoda.kakao/-activity-result-builder/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[kakao](../../index.md) / [com.agoda.kakao](../index.md) / [ActivityResultBuilder](.)

# ActivityResultBuilder

`class ActivityResultBuilder`

Class for building ActivityResult

### Constructors

| Name | Summary |
|---|---|
| [&lt;init&gt;](-init-.md) | `ActivityResultBuilder()`<br>Class for building ActivityResult |

### Functions

| Name | Summary |
|---|---|
| [getResult](get-result.md) | `fun getResult(): `[`ActivityResult`](https://developer.android.com/reference/android/app/Instrumentation/ActivityResult.html) |
| [withCode](with-code.md) | `fun withCode(code: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)<br>Sets given result code |
| [withData](with-data.md) | `fun withData(data: `[`Intent`](https://developer.android.com/reference/android/content/Intent.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)<br>Sets given result data |
11 changes: 11 additions & 0 deletions docs/kakao/com.agoda.kakao/-activity-result-builder/with-code.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[kakao](../../index.md) / [com.agoda.kakao](../index.md) / [ActivityResultBuilder](index.md) / [withCode](.)

# withCode

`fun withCode(code: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)

Sets given result code

### Parameters

`code` - Result code to be saved
11 changes: 11 additions & 0 deletions docs/kakao/com.agoda.kakao/-activity-result-builder/with-data.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[kakao](../../index.md) / [com.agoda.kakao](../index.md) / [ActivityResultBuilder](index.md) / [withData](.)

# withData

`fun withData(data: `[`Intent`](https://developer.android.com/reference/android/content/Intent.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)

Sets given result data

### Parameters

`data` - Result data to be saved
13 changes: 13 additions & 0 deletions docs/kakao/com.agoda.kakao/-background-color-matcher/-init-.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[kakao](../../index.md) / [com.agoda.kakao](../index.md) / [BackgroundColorMatcher](index.md) / [&lt;init&gt;](.)

# &lt;init&gt;

`BackgroundColorMatcher(@ColorRes resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` = -1, colorCode: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null)`

Matches given background color with the current one

### Parameters

`resId` - Background color resource to be matched (default is -1)

`colorCode` - Background color string code to be matched (default is null)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[kakao](../../index.md) / [com.agoda.kakao](../index.md) / [BackgroundColorMatcher](index.md) / [describeTo](.)

# describeTo

`fun describeTo(description: Description): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
26 changes: 26 additions & 0 deletions docs/kakao/com.agoda.kakao/-background-color-matcher/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[kakao](../../index.md) / [com.agoda.kakao](../index.md) / [BackgroundColorMatcher](.)

# BackgroundColorMatcher

`class BackgroundColorMatcher : TypeSafeMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`>`

Matches given background color with the current one

### Parameters

`resId` - Background color resource to be matched (default is -1)

`colorCode` - Background color string code to be matched (default is null)

### Constructors

| Name | Summary |
|---|---|
| [&lt;init&gt;](-init-.md) | `BackgroundColorMatcher(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` = -1, colorCode: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`? = null)`<br>Matches given background color with the current one |

### Functions

| Name | Summary |
|---|---|
| [describeTo](describe-to.md) | `fun describeTo(description: Description): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) |
| [matchesSafely](matches-safely.md) | `fun matchesSafely(item: `[`View`](https://developer.android.com/reference/android/view/View.html)`?): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) |
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[kakao](../../index.md) / [com.agoda.kakao](../index.md) / [BackgroundColorMatcher](index.md) / [matchesSafely](.)

# matchesSafely

`protected fun matchesSafely(item: `[`View`](https://developer.android.com/reference/android/view/View.html)`?): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
Loading

0 comments on commit 9d6588e

Please sign in to comment.