Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- testGetMLSOne2OneLocalV5 :: HasCallStack => App ()
- testGetMLSOne2OneRemoteV5 :: HasCallStack => App ()
- testGetMLSOne2One :: HasCallStack => Domain -> App ()
- testMLSOne2OneOtherMember :: HasCallStack => One2OneScenario -> App ()
- testMLSOne2OneRemoveClientLocalV5 :: App ()
- testGetMLSOne2OneUnconnected :: HasCallStack => Domain -> App ()
- testMLSOne2OneBlocked :: HasCallStack => Domain -> App ()
- testMLSOne2OneBlockedAfterConnected :: HasCallStack => One2OneScenario -> App ()
- testMLSOne2OneUnblocked :: HasCallStack => One2OneScenario -> App ()
- testGetMLSOne2OneSameTeam :: App ()
- data One2OneScenario
- one2OneScenarioUserDomain :: One2OneScenario -> Domain
- one2OneScenarioConvDomain :: One2OneScenario -> Domain
- testMLSOne2One :: HasCallStack => Ciphersuite -> One2OneScenario -> App ()
- testMLSGhostOne2OneConv :: App ()
- testMLSFederationV1ConvOnOldBackend :: App ()
- testMLSFederationV1ConvOnNewBackend :: App ()
Documentation
testGetMLSOne2OneLocalV5 :: HasCallStack => App () Source #
testGetMLSOne2OneRemoteV5 :: HasCallStack => App () Source #
testGetMLSOne2One :: HasCallStack => Domain -> App () Source #
testMLSOne2OneOtherMember :: HasCallStack => One2OneScenario -> App () Source #
testGetMLSOne2OneUnconnected :: HasCallStack => Domain -> App () Source #
testMLSOne2OneBlocked :: HasCallStack => Domain -> App () Source #
testMLSOne2OneBlockedAfterConnected :: HasCallStack => One2OneScenario -> App () Source #
Alice and Bob are initially connected, but then Alice blocks Bob.
testMLSOne2OneUnblocked :: HasCallStack => One2OneScenario -> App () Source #
Alice and Bob are initially connected, then Alice blocks Bob, and finally Alice unblocks Bob.
testGetMLSOne2OneSameTeam :: App () Source #
data One2OneScenario Source #
One2OneScenarioLocal | Both users are local |
One2OneScenarioLocalConv | One user is remote, conversation is local |
One2OneScenarioRemoteConv | One user is remote, conversation is remote |
Instances
TestCases One2OneScenario Source # | |
Defined in Test.MLS.One2One |
testMLSOne2One :: HasCallStack => Ciphersuite -> One2OneScenario -> App () Source #
testMLSGhostOne2OneConv :: App () Source #
This test verifies that one-to-one conversations are created inside the commit lock. There used to be an issue where a conversation could be partially created at the time of setting its ciphersuite, resulting in an incomplete database entry that would prevent further uses of the conversation.
testMLSFederationV1ConvOnOldBackend :: App () Source #
See Note: [Federated 1:1 MLS Conversations]
To run locally this test requires federation-v1 docker containers to be up and running.
See `deploydockerephemeralrun.sh` and comment on StaticFedDomain
in `Testlib/VersionedFed.hs` for more details.
testMLSFederationV1ConvOnNewBackend :: App () Source #
See Note: Federated 1:1 MLS Conversations
To run locally this test requires federation-v1 docker containers to be up and running.
See `deploydockerephemeralrun.sh` and comment on StaticFedDomain
in `Testlib/VersionedFed.hs` for more details.