| 1 |
# SPDX-License-Identifier: BSD-3-Clause-CMU |
| 2 |
# See COPYING file at the root of the distribution for more details. |
| 3 |
|
| 4 |
package Cassandane::Cyrus::MIME; |
| 5 |
use strict; |
| 6 |
use warnings; |
| 7 |
use Data::Dumper; |
| 8 |
|
| 9 |
use base qw(Cassandane::Cyrus::TestCase); |
| 10 |
use Cassandane::Util::Log; |
| 11 |
|
| 12 |
sub new |
| 13 |
{ |
| 14 |
my ($class, @args) = @_; |
| 15 |
|
| 16 |
my $config = Cassandane::Config->default()->clone(); |
| 17 |
|
| 18 |
my $self = $class->SUPER::new({ |
| 19 |
config => $config, |
| 20 |
services => [ 'imap' ] |
| 21 |
}, @args); |
| 22 |
|
| 23 |
return $self; |
| 24 |
} |
| 25 |
|
| 26 |
sub set_up |
| 27 |
{ |
| 28 |
my ($self) = @_; |
| 29 |
$self->SUPER::set_up(); |
| 30 |
} |
| 31 |
|
| 32 |
sub tear_down |
| 33 |
{ |
| 34 |
my ($self) = @_; |
| 35 |
$self->SUPER::tear_down(); |
| 36 |
} |
| 37 |
|
| 38 |
use Cassandane::Tiny::Loader 'tiny-tests/MIME'; |
| 39 |
|
| 40 |
1; |