Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions testing/src/androidMain/kotlin/com/mparticle/AccessUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,6 @@ object AccessUtils {
MParticle.reset(context!!, deleteDatabase, switchingWorkspaces)
}

/**
* This is a way less than ideal implementation, but I think the insight is very important.
*
* This method returns an ordered list of the pending Messages in the UploadHandler queue. This
* gives us the ability to test the UploadHandler's true "state" when looking closely at how
* our Upload loop is performing
* @return
*/
@get:RequiresApi(api = Build.VERSION_CODES.M)
val uploadHandlerMessageQueue: Set<Message>
get() = messageManager.mUploadHandler.messageQueue
val messageManager: MessageManager
get() = MParticle.getInstance()!!.mMessageManager

Expand Down