Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 233 Bytes

File metadata and controls

11 lines (7 loc) · 233 Bytes

singletonStub

Stubbing out singleton

First: Do not write singleton :) But what if you have to unittest a legacy code whith singleton?

precondition tool: cxxtest precondition: set environment variable 'CXXTEST_PATH'