Add test for MessageComposerPresenter
This commit is contained in:
parent
21084c26b2
commit
f736b48a92
7 changed files with 205 additions and 7 deletions
|
|
@ -24,6 +24,8 @@ class StableCharSequence(val charSequence: CharSequence) {
|
|||
|
||||
override fun hashCode() = hash
|
||||
override fun equals(other: Any?) = other is StableCharSequence && other.hash == hash
|
||||
|
||||
override fun toString(): String = "StableCharSequence(\"$charSequence\")"
|
||||
}
|
||||
|
||||
fun CharSequence.toStableCharSequence() = StableCharSequence(this)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue