![]() |
FOSSology
4.7.1
Open Source License Compliance by Open Source Software
|


Protected Member Functions | |
| void | testReuserStateMutation () |
| ReuserState stores and mutates the agent id correctly. More... | |
| void | testReuseModeFlags () |
| Reuse mode flag constants are distinct and combine correctly. More... | |
| void | testItemTreeBoundsDefaults () |
| ItemTreeBounds is zero-initialised when value-initialised. More... | |
Private Member Functions | |
| CPPUNIT_TEST_SUITE (ReuserTypesTest) | |
| CPPUNIT_TEST (testReuserStateMutation) | |
| CPPUNIT_TEST (testReuseModeFlags) | |
| CPPUNIT_TEST (testItemTreeBoundsDefaults) | |
| CPPUNIT_TEST_SUITE_END () | |
Definition at line 20 of file test_types.cc.
|
inlineprotected |
ItemTreeBounds is zero-initialised when value-initialised.
Ensures that a default-constructed ItemTreeBounds has all numeric members set to 0 so that callers can safely detect an uninitialised struct.
Definition at line 75 of file test_types.cc.
|
inlineprotected |
Reuse mode flag constants are distinct and combine correctly.
Guards against accidental bit-overlap between REUSE_ENHANCED, REUSE_MAIN, REUSE_CONF and REUSE_COPYRIGHT, and verifies that OR-combining all flags sets every individual bit.
Definition at line 50 of file test_types.cc.
|
inlineprotected |
ReuserState stores and mutates the agent id correctly.
Verifies that getAgentId returns the value passed to the constructor and that setAgentId updates it.
Definition at line 35 of file test_types.cc.