To disable hash value checking from the command line, use the
To disable hash value checking in your test, use:
To disable the TBasePrimitiveComparisonTest in your test, use:
Hash value checking
The Compare member function of comparison tests checks the hash values when comparing two objects. -h
option.
SetCheckHash(false);
Primitive
comparison checking
The primitive comparison test checks the constructor, destructor, copy constructor, and assignment operator.To disable the primitive comparison test from the command line, use the -p
option.
SetCheckPrimitiveComparison(false);
Stream-in version checking
Streaming tests normally check for proper handling of version numbers in the stream. Streaming tests stream in the version number from the stream, change the version number to a random value, stream the invalid version number back out, call operator<<= for the target class, and check that the operator<<= for the target class correctly throws the TInvalidVersionError exception. If the stream-in operator does not throw the exception, the test fails.
To disable the stream-in version check from the command line, use the -v option.
To disable stream-in version checking in your test, use:
SetCheckVersionHandling(false);