This file contains hidden or 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
private fun getInitialPrescriptionList(): List<HomeUiModel> { | |
return listOf( | |
HomeUiModel.HeaderUiModel(HeaderType.PHARMACY), | |
HomeUiModel.SubHeader(SubHeaderType.LOADING), | |
HomeUiModel.ShimmerUiModel(loadingType = LoadingType.PHARMACY), | |
HomeUiModel.ViewDetailUiModel(ViewMoreType.PHARMACY), | |
) | |
} |
This file contains hidden or 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
val firstName = getFullName( | |
relationshipID = deploymentDescriptor, | |
kpSessionManager.user, | |
proxyList = kpSessionManager.userSession.activeProxyListWithoutSelf | |
) |
This file contains hidden or 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
@Test | |
fun sendMessage_MultipleMessagesFromSameUser() { | |
val newChatMessage1 = "I have a slightly swollen lip" | |
val newChatMessage2 = "And a headache" | |
val newChatMessageEntry = chatFragment.view!!.findViewById(R.id.et_new_chat_message) as EditText | |
newChatMessageEntry.setText(newChatMessage1) | |
val chatSendButton = chatFragment.view!!.findViewById(R.id.iv_chat_send_button) as ImageView | |
chatSendButton.callOnClick() |
NewerOlder