incubator-mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Charles Reiss (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MESOS-59) Test macros in tests/utils.hpp aren't robust
Date Wed, 02 Nov 2011 23:41:32 GMT
Test macros in tests/utils.hpp aren't robust
--------------------------------------------

                 Key: MESOS-59
                 URL: https://issues.apache.org/jira/browse/MESOS-59
             Project: Mesos
          Issue Type: Bug
          Components: test
            Reporter: Charles Reiss
            Assignee: Charles Reiss
            Priority: Trivial


The EXPECT_MSG macro in tests/utils.hpp won't work if the MockFilter object is called anythig
but filter (because it's the method and macro argument name).

The WAIT_UNTIL macro in tests/utils.hpp doesn't put parens around its argument so something
like WAIT_UNTIL(&trigger) will always return immediately instead of causing a compilation
error.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message