Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2007-02-28 08:59:42

Support Requests item #1670855, was opened at 2007-02-28 14:59
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Emmanuel Verguet (everguet)
Assigned to: Nobody/Anonymous (nobody)
Summary: [Test Library] How to init/free a singleton

Initial Comment:

Where is the good place to initialize / free a singleton in an unit test suite ?

If a add my singleton GetInstante() in the beginning of init_unit_test_suite(), and my FreeInstance() in the end of the method, they are called before executing test cases.

Do I have to add a first test case, which will get my singleton, and a final test case to free it, or is there another way to do it properly ?



You can respond by visiting:

Take Surveys. Earn Cash. Influence the Future of IT
Join's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at