integration-0.1.0
Safe HaskellSafe-Inferred
LanguageGHC2021

Test.MLS.One2One

Synopsis

Documentation

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.

data One2OneScenario Source #

Constructors

One2OneScenarioLocal

Both users are local

One2OneScenarioLocalConv

One user is remote, conversation is local

One2OneScenarioRemoteConv

One user is remote, conversation is remote

Instances

Instances details
TestCases One2OneScenario Source # 
Instance details

Defined in Test.MLS.One2One

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.