mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anand Mazumdar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MESOS-5662) Call parent class `SetUpTestCase` function in our test fixtures.
Date Mon, 20 Jun 2016 18:18:57 GMT
Anand Mazumdar created MESOS-5662:
-------------------------------------

             Summary: Call parent class `SetUpTestCase` function in our test fixtures.
                 Key: MESOS-5662
                 URL: https://issues.apache.org/jira/browse/MESOS-5662
             Project: Mesos
          Issue Type: Bug
          Components: test
            Reporter: Anand Mazumdar


There are some occurrences in our code where we don't invoke the parent's {{SetUpTestCase}}
method from a child test fixture. This can be a bit problematic if someone adds the method
in the parent class sometime in the future. It would be good to do a sweep across the code
and explicitly invoke the parent class's method.

Some examples (there are more):
https://github.com/apache/mesos/blob/master/src/tests/mesos.cpp#L80
https://github.com/apache/mesos/blob/master/src/tests/module_tests.cpp#L59



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message