From 21f0506e650efd30e2fe9b211521d51878f93d79 Mon Sep 17 00:00:00 2001 From: Vsevolod Fedorov Date: Wed, 22 Nov 2023 11:15:33 +0300 Subject: [PATCH] Add tests for 'email' reporter Change-Id: Idf5b24e41cfd458824abb9bc634582827c3f2575 --- tests/reporters/fixtures/email-full.xml | 11 +++++++++++ tests/reporters/fixtures/email-full.yaml | 7 +++++++ tests/reporters/fixtures/email-minimal.xml | 11 +++++++++++ tests/reporters/fixtures/email-minimal.yaml | 4 ++++ 4 files changed, 33 insertions(+) create mode 100644 tests/reporters/fixtures/email-full.xml create mode 100644 tests/reporters/fixtures/email-full.yaml create mode 100644 tests/reporters/fixtures/email-minimal.xml create mode 100644 tests/reporters/fixtures/email-minimal.yaml diff --git a/tests/reporters/fixtures/email-full.xml b/tests/reporters/fixtures/email-full.xml new file mode 100644 index 000000000..1cd561158 --- /dev/null +++ b/tests/reporters/fixtures/email-full.xml @@ -0,0 +1,11 @@ + + + + + breakage@example.com + true + true + false + + + diff --git a/tests/reporters/fixtures/email-full.yaml b/tests/reporters/fixtures/email-full.yaml new file mode 100644 index 000000000..c972d7a92 --- /dev/null +++ b/tests/reporters/fixtures/email-full.yaml @@ -0,0 +1,7 @@ +project-type: maven +reporters: +- email: + recipients: breakage@example.com + notify-every-unstable-build: false + send-to-individuals: true + notify-for-each-module: false diff --git a/tests/reporters/fixtures/email-minimal.xml b/tests/reporters/fixtures/email-minimal.xml new file mode 100644 index 000000000..8c663436a --- /dev/null +++ b/tests/reporters/fixtures/email-minimal.xml @@ -0,0 +1,11 @@ + + + + + breakage@example.com + false + false + true + + + diff --git a/tests/reporters/fixtures/email-minimal.yaml b/tests/reporters/fixtures/email-minimal.yaml new file mode 100644 index 000000000..b7292b35e --- /dev/null +++ b/tests/reporters/fixtures/email-minimal.yaml @@ -0,0 +1,4 @@ +project-type: maven +reporters: +- email: + recipients: breakage@example.com