Paramater passing
Brought to you by:
blep
I'm developing in a large framework and trying to
decipher the data structures within that framwork so I
can create them manually in the setUp() method of a
CppUnit::TestFixture is practically impossible.
It would be much easier if I could pass in the relevant
data structures needed by my own methods to the test
methods after the framework has created them.
Unfortunately it doesn't appear that CppUnit supports
any type of paramater passing.
Logged In: YES
user_id=196852
Could you precise what kind of parameter passing you need
exactly ?
Couldn't you use a singleton which old your structure and
retrieve them from there ?
Baptiste.