Commit Graph
81 Commits
Author SHA1 Message Date
Aleph RetamalandSteven Deutsch 6f04569369 Move test to Quick/Nimble (#924)
Moved **testMessageCollectionView_hasMessageCollectionFlowLayoutAfterViewDidLoad** to MessagesViewControlerSpec.swift and removed a duplication of this test
2018-11-01 22:35:38 -05:00
Nathan Tannar 9a2affcd6f Update to Swift 4.2 2018-09-29 11:45:50 -07:00
Nathan TannarandSteven Deutsch 230e067009 Integrate MessageInputBar as a dependency (#732)
* Remove MessageInputBar files and change build settings

* Conditional imports to allow for builds without MessageInputBar

* Update Cardfile

* Specify Version in Cartfile for MessageInputBar

* Remove conditional imports in favor of Carthage for local development

* Additional `import MessageInputBar`

* Remove `MessageInputBar` from Cartfile.private

* Bump MessageInputBar version

* Add Cartfile

* Tweak build settings

* Specify import of MessageInputBar for Carthage
2018-09-17 12:22:21 -05:00
Polina Petrenko 3bfeccd080 Fix a typo in scrollsToBottomOnKeybordBeginsEditing 2018-09-11 23:10:20 +03:00
Wu ZhongandGitHub 528ed1aae6 Fixed MessageContentCell's subviews frame when size equal to .zero (#716)
* Fixed MessageContentCell's subviews frame when size equal to .zero

* Remove .zero check

* Fix test failure
2018-06-07 11:45:32 +08:00
Steven Deutsch 9bfccfba2e Fix failing tests 2018-04-26 02:51:49 -05:00
zhongwuzw 39986f0458 Renamed MessageData to MessageKind 2018-04-16 11:57:50 +08:00
Steven Deutsch bb1ea1d67e Remove failing tests 2018-04-03 13:45:52 -05:00
Steven DeutschandWu Zhong 07c0e58597 Remove the limitation of 1 cell to 1 section (#601)
* Add numberOfSections delegate method

* Remove numberOfMessages(in) and add other two substitution methods

* Fix tests failure
2018-03-29 13:16:32 +08:00
Steven Deutsch a79149e6cd Fix failing unit tests 2018-03-28 06:18:57 -05:00
Steven Deutsch caefdbc22b Fix tests 2018-03-24 03:52:35 -05:00
Steven Deutsch 5707a3441f Add MediaItem protocol 2018-03-24 03:52:35 -05:00
Steven Deutsch c3a2bef1c9 Merge branch 'master' of https://github.com/MessageKit/MessageKit into development 2018-03-18 16:51:09 -05:00
Yishai c5c4bd4c86 TransitInformation - Updated tests and example project 2018-02-15 09:53:43 +00:00
Nick Donaldson 4a1fc40714 Test bubble image equality after cache clears
Change MessageStyle.bubbleImageCache access level to internal
and extend unit test to clear cache and check for inequality
after an image is requested again
2018-02-12 09:37:12 -08:00
Nick Donaldson 1e81ae617d Add test for outline image caching
Assert images returned for the same outline style are identical.
2018-02-12 09:23:09 -08:00
Steven Deutsch 4e123c35db Gardening + fix failing tests 2018-01-28 14:28:47 -06:00
Wu ZhongandGitHub 2e9ff264a8 Merge pull request #459 from MessageKit/refactor/clean-up
Split MessagesViewController functionality & add MessageKitError
2018-01-14 16:54:13 +08:00
zhongwuzw 71e644cf62 Fix tests error 2018-01-14 16:33:41 +08:00
Steven Deutsch 148d138787 Merge branch 'master' into development 2018-01-11 23:35:20 -06:00
Alessio Arsuffi faa4f92d1d LocationMessageSnapshotOptions public
Added public init and public accessors for
LocationMessageSnapshotOptions;
added test also;
2018-01-10 12:01:59 +01:00
Rich Gabrielli 1782b0b2a1 Change Copyright to "Copyright (c) 2017-2018 MessageKit" 2018-01-02 22:16:05 -05:00
zhongwuzw a7121192af Fix tests failure when last week is the last year 2018-01-02 23:12:19 +08:00
Wu ZhongandSteven Deutsch b4aeea146c Add configureImageForAvatarView(::::) protocol to expose avatarView &… (#416)
* Add configureImageForAvatarView(::::) protocol to expose avatarView &&  remove avatar(:::)

* Refactor AvatarView && change configureImageForAvatarView's name to configureAvatarView

* Optimize code && fix tests

* Add CHANGELOG entry

* Revert "Add CHANGELOG entry"

This reverts commit 0124ab920b.
2017-12-21 16:52:04 -06:00
Steven Deutsch 435b053c8a Revert change that attempts to sync MessageLabel properties 2017-12-16 21:07:15 -06:00
Steven DeutschandGitHub 769dc7477a Merge pull request #395 from zhongwuzw/fix-scroll-to-bottm
Fix scrollToBottom && remove scrollsToBottomOnFirstLayout
2017-12-12 02:49:59 -06:00
Steven DeutschandGitHub 0af6454ad9 Merge pull request #391 from MessageKit/enhancement/remove-cells
Removing cell generic constraints
2017-12-11 13:38:03 -06:00
zhongwuzw c7a9ad6ec3 update tests code to remove scrollsToBottomOnFirstLayout check 2017-12-11 22:27:37 +08:00
Steven Deutsch 982695c673 Clean up tests 2017-12-10 14:32:16 -06:00
Steven DeutschandGitHub 034a9c1c7c Merge branch 'development' into testing/message-label 2017-12-10 14:27:53 -06:00
Steven Deutsch b24d8bcff2 Fix failing tests 2017-12-10 14:22:48 -06:00
Steven Deutsch 26ed8ea708 Refactor Avatar, Sender, & DetectorType tests 2017-12-07 21:42:55 -06:00
Steven Deutsch 62e1c1c72f Add MessagesViewControllerTests stubs and convert some tests 2017-12-07 21:07:04 -06:00
Steven Deutsch 96db36e02c Add test stubs for MessageLabelSpec 2017-12-07 14:58:21 -06:00
Steven Deutsch a5de50a401 Add MessageLabel tests around detector attributes 2017-12-07 01:57:01 -06:00
zhongwuzw c29cf4cb14 Remove hack code in tests 2017-12-04 09:50:54 +08:00
Steven Deutsch 9b8cad1e53 Fix failing test 2017-12-02 00:56:58 -06:00
Steven Deutsch 5ac13b937f Refactor MessagesViewControllerTests to use Quick/Nimble 2017-12-02 00:25:13 -06:00
Steven Deutsch 1f13555158 Fix failing unit tests from #363 2017-12-01 23:00:09 -06:00
Steven DeutschandGitHub 86a94a6a17 Merge branch 'development' into enhancement/message-label-2 2017-11-27 19:53:32 -06:00
Steven Deutsch f6970f7d0c Fix failing tests 2017-11-27 19:33:29 -06:00
Steven Deutsch 12d177a2bc Fix failing tests 2017-11-27 19:20:01 -06:00
Nathan Tannar 85d57ca32c Update Tests 2017-11-02 21:58:52 -07:00
Sid McLaughlinandSteven Deutsch a86bc8e6b1 Refactor initals to initials. (#315)
* Refactor `initals` to `initials`.

* Update changelog.

* Be more specific with changes.

* Update CHANGELOG.md
2017-11-02 00:06:20 -05:00
Aleksandr Prianichnikov c050264063 Resolve error with testing on iOS 10.3.1 2017-10-23 17:49:52 +03:00
Aleksandr Prianichnikov 59572ff591 Replace implementation of several MessageInputBarTests with simplier ones 2017-10-23 14:26:46 +03:00
Aleksandr Prianichnikov 5f61858127 Rename tests 2017-10-23 14:21:11 +03:00
Aleksandr Prianichnikov 672347e752 Resolve errors after merge & improve tests
- Improve tests for MessageInputBar
- Remove useless tests
2017-10-23 14:17:53 +03:00
Aleksandr Prianichnikov 4de7ea2c62 Rename methods and remove useless code 2017-10-11 12:52:26 +03:00
Aleksandr Prianichnikov 98f2028d7b Add tests for MessagesDisplayDelegate 2017-10-11 12:17:23 +03:00