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

Function TEST

tests/CppUTestExt/MockNamedValueTest.cpp:56–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54};
55
56TEST(ComparatorsAndCopiersRepository, InstallCopierAndRetrieveIt)
57{
58 MyCopier copier;
59 MockNamedValueComparatorsAndCopiersRepository repository;
60 repository.installCopier("MyType", copier);
61 POINTERS_EQUAL(&copier, repository.getCopierForType("MyType"));
62 repository.clear();
63}
64
65TEST(ComparatorsAndCopiersRepository, ComparatorAndCopierByTheSameNameShouldBothBeFound)
66{

Callers

nothing calls this directly

Calls 12

getCopierForTypeMethod · 0.80
getComparatorForTypeMethod · 0.80
setValueMethod · 0.80
getDoubleToleranceMethod · 0.80
asCharStringMethod · 0.80
getTypeMethod · 0.80
getDoubleValueMethod · 0.80
equalsMethod · 0.80
installCopierMethod · 0.45
clearMethod · 0.45
installComparatorMethod · 0.45

Tested by

no test coverage detected