Bug 2162 - avoid operations in TestSuite constructors
avoid operations in TestSuite constructors
Status: CONFIRMED
Product: ns-3
Classification: Unclassified
Component: test framework
pre-release
PC Linux
: P5 normal
Assigned To: Tom Henderson
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-25 14:59 EDT by Tom Henderson
Modified: 2015-07-25 14:59 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Henderson 2015-07-25 14:59:00 EDT
Ovidiu Poncea pointed out on the ns-developers list that at least one TestSuite is performing initializations in the constructor (ns2-mobility-test-suite).  This is undesirable since an instance of each TestSuite is statically allocated when the tests are run, regardless of whether the user chooses to run that test suite.

This bug is to audit our test suites and move such initializations to the DoSetup() method.