aboutsummaryrefslogtreecommitdiff
path: root/tests/behavior.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-01-04 12:09:16 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-01-04 12:09:16 +0100
commit7ae9966675c85b34f1a99d81062b44b74385a15b (patch)
tree9f52832b90685913beda8f1bf19a22b2ec7bc6c6 /tests/behavior.rs
parent3f5d7fa766c268923c0c2c6e1dd50f4693f51a44 (diff)
downloadaerogramme-7ae9966675c85b34f1a99d81062b44b74385a15b.tar.gz
aerogramme-7ae9966675c85b34f1a99d81062b44b74385a15b.zip
test enable
Diffstat (limited to 'tests/behavior.rs')
-rw-r--r--tests/behavior.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/behavior.rs b/tests/behavior.rs
index e62832b..82fdc53 100644
--- a/tests/behavior.rs
+++ b/tests/behavior.rs
@@ -8,6 +8,7 @@ fn main() {
rfc3691_imapext_unselect();
rfc5161_imapext_enable();
rfc6851_imapext_move();
+ rfc7888_imapext_literal();
}
fn rfc3501_imap4rev1_base() {
@@ -105,3 +106,15 @@ fn rfc6851_imapext_move() {
})
.expect("test fully run");
}
+
+fn rfc7888_imapext_literal() {
+ println!("rfc7888_imapext_literal");
+ common::aerogramme_provider_daemon_dev(|imap_socket, _lmtp_socket| {
+ connect(imap_socket).context("server says hello")?;
+
+ capability(imap_socket, Extension::LiteralPlus).context("check server capabilities")?;
+ login_with_literal(imap_socket, Account::Alice).context("use literal to connect Alice")?;
+
+ Ok(())
+ }).expect("test fully run");
+}