- src/vpd.[ch]pp
- DBusVPD::DBusVPD()
- Verify class can access D-Bus to get VPD values
- DBusVPD::clearCache()
- Verify clears cache for all inventory paths and keywords
- DBusVPD::getValue()
- Test where no KeywordMap exists for the inventory path
- Test where a KeywordMap exists for the inventory path
- Test where value is cached
- Test where keyword value is an empty string
- Test where keyword value is not an empty string
- Test where value is not cached
- Test where value successfully obtained from D-Bus
- Test where keyword value is an empty string
- Test where keyword value is not an empty string
- Test all of the keywords
- CCIN
- Verify gets the Model property
- Manufacturer
- Model
- PartNumber
- CCIN
- Verify value is cached after data obtained from D-Bus
- Test where D-Bus method call fails with an exception
- Object path is invalid
- Keyword/property is invalid
- Verify no value is cached
- Test where value successfully obtained from D-Bus
- DBusVPD::DBusVPD()
- src/services.hpp
- BMCServices::BMCServices()
- Verify creates a valid DBusVPD object that can get VPD values from D-Bus
- BMCServices::getVPD()
- Verify returns a valid DBusVPD object that can get VPD values from D-Bus
- BMCServices::BMCServices()
- src/manager.cpp
- clearHardwareData()
- Verify clears all cached VPD before regulators are configured
- clearHardwareData()
- test/mock_vpd.hpp
- clearCache()
- Verify call to this from test case
- getValue()
- Verify call to this from test case
- Verify gmock can return keyword value
- clearCache()
- test/mock_services.hpp
- getVPD()
- Verify returns a VPD object
- getMockVPD()
- Verify returns a MockVPD object
- getVPD()
Last active
February 5, 2021 21:58
-
-
Save smccarney/519a54353361e28b1d25f5783c15f471 to your computer and use it in GitHub Desktop.
Test Plan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment