/*
 * SPDX-FileCopyrightText: 2020 Stalwart Labs LLC <hello@stalw.art>
 *
 * SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-SEL
 */

pub const EXPECTED: &[(&str, &str)] = &[
    ("binary/blob-copy-cross-account", "SKIP"),
    ("binary/blob-copy-not-found", "SKIP"),
    ("binary/blob-copy-response-structure", "SKIP"),
    ("binary/blob-copy-same-account-error", "PASS"),
    ("binary/download-email-blob", "PASS"),
    ("binary/download-nonexistent-blob", "PASS"),
    ("binary/download-respects-type-param", "PASS"),
    ("binary/download-uploaded-blob", "PASS"),
    ("binary/upload-basic", "PASS"),
    ("binary/upload-binary-content", "PASS"),
    ("binary/upload-large-data", "PASS"),
    ("binary/upload-preserves-content-type", "PASS"),
    ("binary/upload-returns-valid-blob-id", "PASS"),
    ("core/echo-basic", "PASS"),
    ("core/echo-empty", "PASS"),
    ("core/echo-nested", "PASS"),
    ("core/error-account-not-found", "FAIL"),
    ("core/error-empty-using", "FAIL"),
    ("core/error-invalid-arguments-bad-type", "PASS"),
    ("core/error-invalid-arguments-missing-account", "FAIL"),
    ("core/error-method-calls-not-array", "PASS"),
    ("core/error-method-level-has-type", "PASS"),
    ("core/error-multiple-method-responses", "PASS"),
    ("core/error-not-json", "PASS"),
    ("core/error-not-request", "FAIL"),
    ("core/error-response-has-session-state", "PASS"),
    ("core/error-state-mismatch", "PASS"),
    ("core/error-unknown-capability", "PASS"),
    ("core/error-unknown-method", "PASS"),
    ("core/error-wrong-content-type", "FAIL"),
    ("core/result-ref-call-id-preserved", "PASS"),
    ("core/result-ref-chained", "PASS"),
    ("core/result-ref-invalid-result-of", "PASS"),
    ("core/result-ref-path-single-value", "PASS"),
    ("core/result-ref-simple", "PASS"),
    ("core/result-ref-wrong-method-name", "PASS"),
    ("core/session-account-capabilities-mail", "PASS"),
    ("core/session-account-properties", "PASS"),
    ("core/session-accounts-present", "PASS"),
    ("core/session-api-url", "PASS"),
    ("core/session-core-capability-properties", "PASS"),
    ("core/session-download-url-template", "PASS"),
    ("core/session-event-source-url", "PASS"),
    ("core/session-has-capabilities", "PASS"),
    ("core/session-has-core-capability", "PASS"),
    ("core/session-has-mail-capability", "PASS"),
    ("core/session-mail-capability-properties", "PASS"),
    ("core/session-primary-accounts", "PASS"),
    ("core/session-state", "PASS"),
    ("core/session-upload-url", "PASS"),
    ("core/session-username", "PASS"),
    ("email/body-attachment-blob-id", "PASS"),
    ("email/body-attachments", "PASS"),
    ("email/body-html-body", "PASS"),
    ("email/body-inline-attachment-cid", "PASS"),
    ("email/body-invalid-ascii-handling", "PASS"),
    ("email/body-max-body-value-bytes", "PASS"),
    ("email/body-multipart-alternative-text-and-html", "PASS"),
    ("email/body-non-utf8-charset", "PASS"),
    ("email/body-properties-filter", "PASS"),
    ("email/body-structure", "PASS"),
    ("email/body-text-body", "PASS"),
    ("email/body-values-all", "PASS"),
    ("email/body-values-html", "PASS"),
    ("email/body-values-text", "PASS"),
    ("email/changes-after-create-and-destroy", "PASS"),
    ("email/changes-after-keyword-change", "PASS"),
    ("email/changes-no-changes", "PASS"),
    ("email/changes-response-structure", "PASS"),
    ("email/collapse-threads-basic", "FAIL"),
    ("email/collapse-threads-calculate-total", "FAIL"),
    ("email/collapse-threads-one-per-thread", "PASS"),
    ("email/collapse-threads-sort-determines-representative", "PASS"),
    ("email/collapse-threads-with-filter", "PASS"),
    ("email/copy-cross-account", "SKIP"),
    ("email/copy-not-found", "SKIP"),
    ("email/copy-same-account-error", "PASS"),
    ("email/filter-after", "PASS"),
    ("email/filter-before", "PASS"),
    ("email/filter-before-and-after", "PASS"),
    ("email/filter-body", "PASS"),
    ("email/filter-cc", "PASS"),
    ("email/filter-custom-keyword", "PASS"),
    ("email/filter-empty-matches-all", "PASS"),
    ("email/filter-from", "PASS"),
    ("email/filter-from-display-name", "PASS"),
    ("email/filter-has-attachment-false", "FAIL"),
    ("email/filter-has-attachment-true", "FAIL"),
    ("email/filter-has-keyword", "PASS"),
    ("email/filter-header-name-only", "FAIL"),
    ("email/filter-header-name-value", "FAIL"),
    ("email/filter-in-child-mailbox", "PASS"),
    ("email/filter-in-mailbox", "PASS"),
    ("email/filter-in-mailbox-other-than", "PASS"),
    ("email/filter-max-size", "PASS"),
    ("email/filter-min-size", "PASS"),
    ("email/filter-multiple-conditions-on-one-filter", "PASS"),
    ("email/filter-nested-operators", "PASS"),
    ("email/filter-none-in-thread-have-keyword", "PASS"),
    ("email/filter-not-keyword", "PASS"),
    ("email/filter-null-accepted", "FAIL"),
    ("email/filter-operator-and", "PASS"),
    ("email/filter-operator-not", "PASS"),
    ("email/filter-operator-or", "PASS"),
    ("email/filter-some-in-thread-have-keyword", "PASS"),
    ("email/filter-subject", "PASS"),
    ("email/filter-text-search-body", "PASS"),
    ("email/filter-text-search-headers", "PASS"),
    ("email/filter-to", "PASS"),
    ("email/get-by-id", "PASS"),
    ("email/get-has-attachment-false", "PASS"),
    ("email/get-has-attachment-true", "PASS"),
    ("email/get-keywords", "PASS"),
    ("email/get-mailbox-ids", "PASS"),
    ("email/get-metadata-properties", "PASS"),
    ("email/get-multiple-emails", "PASS"),
    ("email/get-not-found", "FAIL"),
    ("email/get-preview-is-text", "PASS"),
    ("email/get-properties-filter", "PASS"),
    ("email/get-received-at-is-utc-date", "PASS"),
    ("email/get-state-returned", "PASS"),
    ("email/get-thread-id-consistent", "PASS"),
    ("email/header-as-addresses", "PASS"),
    ("email/header-as-date", "PASS"),
    ("email/header-as-grouped-addresses", "PASS"),
    ("email/header-as-message-ids", "PASS"),
    ("email/header-as-urls", "PASS"),
    ("email/header-bcc", "PASS"),
    ("email/header-case-insensitive", "PASS"),
    ("email/header-cc", "PASS"),
    ("email/header-custom-header", "PASS"),
    ("email/header-from", "PASS"),
    ("email/header-in-reply-to", "PASS"),
    ("email/header-intl-from-decoded", "PASS"),
    ("email/header-message-id", "PASS"),
    ("email/header-raw-access", "PASS"),
    ("email/header-raw-form", "PASS"),
    ("email/header-references", "PASS"),
    ("email/header-sent-at", "PASS"),
    ("email/header-subject", "PASS"),
    ("email/header-subject-empty", "PASS"),
    ("email/header-to", "PASS"),
    ("email/import-invalid-blob", "FAIL"),
    ("email/import-multiple", "PASS"),
    ("email/import-not-found-blob", "PASS"),
    ("email/import-sets-keywords", "PASS"),
    ("email/import-sets-mailbox", "PASS"),
    ("email/import-sets-received-at", "PASS"),
    ("email/import-state-changes", "PASS"),
    ("email/import-valid-message", "PASS"),
    ("email/paging-anchor", "FAIL"),
    ("email/paging-anchor-not-found", "FAIL"),
    ("email/paging-anchor-offset", "FAIL"),
    ("email/paging-calculate-total", "PASS"),
    ("email/paging-limit", "PASS"),
    ("email/paging-negative-position", "PASS"),
    ("email/paging-position-beyond-total", "PASS"),
    ("email/paging-position-zero", "PASS"),
    ("email/paging-positive-position", "PASS"),
    ("email/paging-response-position", "PASS"),
    ("email/parse-body-values", "PASS"),
    ("email/parse-not-found", "FAIL"),
    ("email/parse-not-parsable", "FAIL"),
    ("email/parse-null-metadata", "PASS"),
    ("email/parse-response-structure", "PASS"),
    ("email/parse-valid-message", "PASS"),
    ("email/query-changes-after-add", "PASS"),
    ("email/query-changes-after-remove", "PASS"),
    ("email/query-changes-filter-null-accepted", "FAIL"),
    ("email/query-changes-no-changes", "PASS"),
    ("email/query-changes-response-structure", "PASS"),
    ("email/set-create-creation-id-reference", "PASS"),
    ("email/set-create-html", "PASS"),
    ("email/set-create-multipart-alternative", "PASS"),
    ("email/set-create-plain-text", "PASS"),
    ("email/set-create-server-set-properties", "PASS"),
    ("email/set-create-state-changes", "PASS"),
    ("email/set-create-with-attachment", "PASS"),
    ("email/set-create-with-keywords", "PASS"),
    ("email/set-destroy-multiple", "PASS"),
    ("email/set-destroy-not-found", "FAIL"),
    ("email/set-destroy-removes-from-all-mailboxes", "PASS"),
    ("email/set-destroy-single", "PASS"),
    ("email/set-update-add-keyword", "PASS"),
    ("email/set-update-add-mailbox", "PASS"),
    ("email/set-update-if-in-state", "PASS"),
    ("email/set-update-move-mailbox", "PASS"),
    ("email/set-update-not-found", "FAIL"),
    ("email/set-update-remove-keyword", "PASS"),
    ("email/set-update-remove-mailbox", "PASS"),
    ("email/set-update-replace-keywords", "PASS"),
    ("email/sort-default-no-sort", "PASS"),
    ("email/sort-from", "PASS"),
    ("email/sort-has-keyword", "FAIL"),
    ("email/sort-multi-property", "PASS"),
    ("email/sort-received-at-asc", "PASS"),
    ("email/sort-received-at-desc", "PASS"),
    ("email/sort-sent-at", "PASS"),
    ("email/sort-size", "PASS"),
    ("email/sort-subject", "PASS"),
    ("email/sort-to", "PASS"),
    ("identity/changes-after-update", "PASS"),
    ("identity/changes-no-changes", "PASS"),
    ("identity/changes-response-structure", "PASS"),
    ("identity/get-all-identities", "PASS"),
    ("identity/get-identity-by-id", "PASS"),
    ("identity/get-identity-email-matches", "PASS"),
    ("identity/get-identity-not-found", "FAIL"),
    ("identity/get-identity-properties", "PASS"),
    ("identity/set-not-found", "FAIL"),
    ("identity/set-update-html-signature", "PASS"),
    ("identity/set-update-name", "PASS"),
    ("identity/set-update-reply-to", "PASS"),
    ("identity/set-update-text-signature", "PASS"),
    ("mailbox/changes-after-create", "PASS"),
    ("mailbox/changes-after-rename", "PASS"),
    ("mailbox/changes-has-more-changes", "PASS"),
    ("mailbox/changes-no-changes", "PASS"),
    ("mailbox/changes-response-structure", "PASS"),
    ("mailbox/get-account-id-returned", "PASS"),
    ("mailbox/get-all", "PASS"),
    ("mailbox/get-by-ids", "PASS"),
    ("mailbox/get-inbox-exists", "PASS"),
    ("mailbox/get-mailbox-properties", "PASS"),
    ("mailbox/get-not-found", "FAIL"),
    ("mailbox/get-parent-id-correct", "PASS"),
    ("mailbox/get-properties-filter", "PASS"),
    ("mailbox/get-state-returned", "PASS"),
    ("mailbox/get-total-emails-accurate", "PASS"),
    ("mailbox/query-all", "PASS"),
    ("mailbox/query-changes-after-create", "PASS"),
    ("mailbox/query-changes-filter-null-accepted", "FAIL"),
    ("mailbox/query-changes-no-changes", "PASS"),
    ("mailbox/query-changes-response-structure", "PASS"),
    ("mailbox/query-filter-by-name", "PASS"),
    ("mailbox/query-filter-by-parent-id", "PASS"),
    ("mailbox/query-filter-by-parent-id-null", "PASS"),
    ("mailbox/query-filter-by-role", "PASS"),
    ("mailbox/query-filter-has-any-role", "PASS"),
    ("mailbox/query-filter-has-any-role-false", "PASS"),
    ("mailbox/query-filter-null-accepted", "FAIL"),
    ("mailbox/query-limit", "PASS"),
    ("mailbox/query-position", "PASS"),
    ("mailbox/query-response-structure", "PASS"),
    ("mailbox/query-sort-by-name", "PASS"),
    ("mailbox/query-sort-by-sort-order", "PASS"),
    ("mailbox/set-cannot-destroy-with-children", "PASS"),
    ("mailbox/set-change-sort-order", "PASS"),
    ("mailbox/set-create-child", "PASS"),
    ("mailbox/set-create-returns-server-set-props", "PASS"),
    ("mailbox/set-create-top-level", "PASS"),
    ("mailbox/set-destroy-empty", "PASS"),
    ("mailbox/set-destroy-not-found", "FAIL"),
    ("mailbox/set-duplicate-name-same-parent", "FAIL"),
    ("mailbox/set-move-parent", "PASS"),
    ("mailbox/set-on-destroy-remove-emails", "PASS"),
    ("mailbox/set-on-destroy-remove-emails-with-children", "PASS"),
    ("mailbox/set-rename", "PASS"),
    ("mailbox/set-state-changes", "PASS"),
    ("push-eventsource/eventsource-closeafter", "PASS"),
    ("push-eventsource/eventsource-connect", "PASS"),
    ("push-eventsource/eventsource-receives-state-change", "PASS"),
    ("push-eventsource/eventsource-types-filter", "PASS"),
    ("push-subscription/push-subscription-create", "PASS"),
    ("push-subscription/push-subscription-destroy", "PASS"),
    ("push-subscription/push-subscription-get", "PASS"),
    ("push-subscription/push-subscription-receives-notification", "PASS"),
    ("push-subscription/push-subscription-reject-non-https", "PASS"),
    ("push-subscription/push-subscription-types-filter", "PASS"),
    ("push-subscription/push-subscription-verification", "PASS"),
    ("search-snippet/snippet-body-match", "PASS"),
    ("search-snippet/snippet-mark-tags", "PASS"),
    ("search-snippet/snippet-not-found", "FAIL"),
    ("search-snippet/snippet-null-when-no-match", "FAIL"),
    ("search-snippet/snippet-response-structure", "FAIL"),
    ("search-snippet/snippet-subject-match", "PASS"),
    ("submission/changes-no-changes", "PASS"),
    ("submission/changes-response-structure", "PASS"),
    ("submission/get-empty", "PASS"),
    ("submission/get-not-found", "FAIL"),
    ("submission/get-response-structure", "PASS"),
    ("submission/query-all", "PASS"),
    ("submission/query-filter-null-accepted", "FAIL"),
    ("submission/query-filter-undo-status", "PASS"),
    ("submission/query-response-structure", "PASS"),
    ("submission/set-create-submission", "FAIL"),
    ("submission/set-create-with-envelope", "PASS"),
    ("submission/set-no-recipients-error", "PASS"),
    ("submission/set-on-success-update-email", "PASS"),
    ("submission/set-submission-properties", "PASS"),
    ("thread/changes-after-email-destroy", "FAIL"),
    ("thread/changes-after-new-email", "PASS"),
    ("thread/changes-no-changes", "PASS"),
    ("thread/changes-response-structure", "PASS"),
    ("thread/get-single-email-thread", "PASS"),
    ("thread/get-thread-by-id", "PASS"),
    ("thread/get-thread-email-ids-order", "PASS"),
    ("thread/get-thread-not-found", "FAIL"),
    ("thread/get-thread-response-structure", "PASS"),
    ("vacation/get-not-found-invalid-id", "FAIL"),
    ("vacation/get-singleton", "FAIL"),
    ("vacation/get-singleton-null-ids", "FAIL"),
    ("vacation/get-singleton-properties", "FAIL"),
    ("vacation/set-cannot-create", "FAIL"),
    ("vacation/set-cannot-destroy", "FAIL"),
    ("vacation/set-dates", "PASS"),
    ("vacation/set-disable-vacation", "PASS"),
    ("vacation/set-enable-vacation", "FAIL"),
    ("vacation/set-html-body", "PASS"),
];
