Commit | Line | Data |
1a3dd976 |
1 | use strict; |
2 | use warnings; |
3 | use FindBin qw/$Bin/; |
4 | use Test::More; |
1b4b5aa5 |
5 | use Try::Tiny; |
6 | |
7 | plan skip_all => "Need Test::Without::Module for this test" |
8 | unless try { require Test::Without::Module; 1 }; |
9 | |
925f5877 |
10 | Test::Without::Module->import(qw( |
1a3dd976 |
11 | Starman |
12 | Plack::Handler::Starman |
13 | MooseX::Daemonize |
14 | MooseX::Daemonize::Pid::File |
15 | MooseX::Daemonize::Core |
925f5877 |
16 | )); |
17 | |
1a3dd976 |
18 | require "$Bin/../aggregate/unit_core_script_server.t"; |
19 | |
bf6a6368 |
20 | Test::Without::Module->unimport(qw( |
1b4b5aa5 |
21 | Starman |
22 | Plack::Handler::Starman |
23 | MooseX::Daemonize |
24 | MooseX::Daemonize::Pid::File |
25 | MooseX::Daemonize::Core |
bf6a6368 |
26 | )); |
1b4b5aa5 |
27 | |
ed7e95f2 |
28 | 1; |
29 | |