Slave.t 472B

123456789101112131415161718
  1. use Test::More;
  2. use lib 'lib';
  3. use helper;
  4. use SugarTrail::Repo;
  5. my $repo = SugarTrail::Repo->new(root => './t/data/strepo', vcs => 'git');
  6. my $m1 = $repo->load_stm(stm=>'/selftest/posititve/multiple_parameters.stm');
  7. ok($m1, "multiple_parameters: master is true");
  8. my $s1 = $m1->generate_slave({ proto => "imap", os => "w7a" });
  9. ok($s1, "multiple_parameters: slave is true");
  10. &helper::dmup(s1=>\$s1);
  11. &helper::dmup(m1=>\$m1);
  12. done_testing();