49 ,
msg_(
"%s::doIt() call=%d\n")
125 CHECK (sing().getCnt() == 2);
135 CHECK (sing().getCnt() == 5);
142 instanceID =
rani(10);
144 CHECK (sing().getCnt() == 1);
147 CHECK (instanceID == mock_2->id);
151 CHECK (sing().getCnt() == 2);
153 CHECK (sing().getCnt() == 3);
Configuration handle for temporarily shadowing a dependency by a test mock instance.
Access point to singletons and other kinds of dependencies designated by type.
constexpr const char * c() const
Token or Atom with distinct identity.
Client Class normally to be instantiated as Singleton.
TestSingO(Symbol ty="TestSingO")
A front-end for using printf-style formatting.
Per type specific configuration of instances created as service dependencies.
Implementation namespace for support and library code.
int rani(uint bound=_iBOUND())
Test runner and basic definitions for tests.
bool isnil(lib::time::Duration const &dur)
Simplistic test class runner.
#define LAUNCHER(_TEST_CLASS_, _GROUPS_)
Mock-1 to replace the Client Class...
Mock-2 to replace the Client Class...
Mock_2(Literal specialID, int i)
Tiny helper functions and shortcuts to be used everywhere Consider this header to be effectively incl...