Skip to content

Commit

Permalink
coverage += epsilon
Browse files Browse the repository at this point in the history
  • Loading branch information
henricasanova committed Sep 3, 2018
1 parent ff40ea9 commit d3dc5be
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -366,10 +366,12 @@ TEST_F(MessageConstructorTest, BatchServiceMessages) {
ASSERT_NO_THROW(new wrench::BatchQueryAnswerMessage(1.0, 666));

ASSERT_NO_THROW(new wrench::BatchServiceJobRequestMessage("mailbox", batch_job, 666));
ASSERT_THROW(new wrench::BatchServiceJobRequestMessage("mailbox", nullptr, 666), std::invalid_argument);
ASSERT_THROW(new wrench::BatchServiceJobRequestMessage("", batch_job, 666), std::invalid_argument);
ASSERT_NO_THROW(new wrench::AlarmJobTimeOutMessage(batch_job, 666));
ASSERT_THROW(new wrench::AlarmJobTimeOutMessage(nullptr, 666), std::invalid_argument);


// ASSERT_NO_THROW(new wrench::AlarmNotifyBatschedMessage("job_id", 666));
}

0 comments on commit d3dc5be

Please sign in to comment.