MCPcopy Create free account
hub / github.com/cpputest/cpputest / DummyComparator

Class DummyComparator

tests/CppUTestExt/MockPluginTest.cpp:92–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92class DummyComparator : public MockNamedValueComparator
93{
94public:
95 bool isEqual(const void* object1, const void* object2)
96 {
97 return object1 == object2;
98 }
99 SimpleString valueToString(const void*)
100 {
101 return "string";
102 }
103};
104
105TEST(MockPlugin, installComparatorRecordsTheComparatorButNotInstallsItYet)
106{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected