#![recursion_limit = "512"]
mod integration;
use integration::tests::*;
#[tokio::test]
async fn test_mail_activity_api() {
let mut test = MailActivityApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_mail_activity_type_api() {
let mut test = MailActivityTypeApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_mail_activity_plan_api() {
let mut test = MailActivityPlanApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_mail_activity_plan_template_api() {
let mut test = MailActivityPlanTemplateApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_mail_alias_domain_api() {
let mut test = MailAliasDomainApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_mail_alias_api() {
let mut test = MailAliasApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_mail_attachment_api() {
let mut test = MailAttachmentApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_mail_message_attachment_api() {
let mut test = MailMessageAttachmentApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_mail_message_star_api() {
let mut test = MailMessageStarApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_mail_message_api() {
let mut test = MailMessageApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_mail_api() {
let mut test = MailApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_mail_notification_api() {
let mut test = MailNotificationApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_mail_message_subtype_api() {
let mut test = MailMessageSubtypeApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_mail_message_reaction_api() {
let mut test = MailMessageReactionApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_mail_followers_api() {
let mut test = MailFollowersApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_mail_presence_api() {
let mut test = MailPresenceApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_mail_blacklist_api() {
let mut test = MailBlacklistApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_mail_tracking_value_api() {
let mut test = MailTrackingValueApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_discuss_channel_api() {
let mut test = DiscussChannelApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_discuss_channel_member_api() {
let mut test = DiscussChannelMemberApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_mail_guest_api() {
let mut test = MailGuestApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_mail_server_api() {
let mut test = MailServerApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_fetchmail_server_api() {
let mut test = FetchmailServerApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_mail_gateway_allowed_api() {
let mut test = MailGatewayAllowedApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_phone_blacklist_api() {
let mut test = PhoneBlacklistApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_mail_message_schedule_api() {
let mut test = MailMessageScheduleApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_mail_scheduled_message_api() {
let mut test = MailScheduledMessageApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_sms_api() {
let mut test = SmsApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_sms_template_api() {
let mut test = SmsTemplateApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}
#[tokio::test]
async fn test_sms_tracker_api() {
let mut test = SmsTrackerApiTest::new();
let results = test.run_all().await;
let failed: Vec<_> = results.iter().filter(|r| !r.success).collect();
if !failed.is_empty() {
for f in &failed {
eprintln!("FAILED: {} - {}", f.test_name, f.details);
}
panic!("{} tests failed", failed.len());
}
}