Hm. Expanding on that - it tries, but fails, to stub out the client platform. It's got at configuration() override, but this is never called.
The DefaultConnectionAPI is constructed in mir_connection_api.cpp, and that uses DefaultMirConnectionAPI's configuration().
Then UsingStubClientPlatform comes along, and interposes StubMirConnectionAPI's connect() method before the default, but then calls the default API's connect(), which calls DefaultConfigurationAPI's configuration().
Since UsingStubClientPlatform wasn't actually doing anything, I removed it.
Hm. Expanding on that - it tries, but fails, to stub out the client platform. It's got at configuration() override, but this is never called.
The DefaultConnecti onAPI is constructed in mir_connection_ api.cpp, and that uses DefaultMirConne ctionAPI' s configuration().
Then UsingStubClient Platform comes along, and interposes StubMirConnecti onAPI's connect() method before the default, but then calls the default API's connect(), which calls DefaultConfigur ationAPI' s configuration().
Since UsingStubClient Platform wasn't actually doing anything, I removed it.