- DBusVPD class
- getValue()
- Test where value is cached
- One cached value
- Verify correct value returned
- Two or more cached values
- Verify correct value returned
- Empty value
- Verify correct value returned
- Non-empty value
- Verify correct value returned
- One cached value
- Test where value is not cached
- Exception not thrown
- Empty value
- Verify correct value returned
- Verify correct value cached
- Non-empty value
- Verify correct value returned
- Verify correct value cached
- Empty value
- Exception thrown
- Verify exception name and description
- Verify nothing cached
- Exception not thrown
- Test where value is cached
- getDBusProperty()
- Test where keyword is "CCIN"
- Verify D-Bus property is "Model"
- Test where keyword is not "CCIN"
- Verify D-Bus property is same as keyword
- Test where keyword is "HW"
- Verify uses com.ibm.ipzvpd.VINI interface
- Verify gets correct vector of bytes directly as value
- Test where keyword is not "HW"
- Verify uses Asset interface
- Verify gets String as value and converts correctly to vector of bytes
- Test where no exception is thrown
- Verify correct value is returned
- Test where exception is thrown
- Is an unknown property exception
- Verify empty value returned
- Is not an unknown property exception
- Verify exception is re-thrown
- Is an unknown property exception
- Test where keyword is "CCIN"
- isUnknownPropertyException()
- Test where error name property is nullptr
- Verify returns false
- Test where error name property is not NULL
- Test where name is SD_BUS_ERROR_UNKNOWN_INTERFACE
- Verify returns true
- Test where name is SD_BUS_ERROR_UNKNOWN_PROPERTY
- Verify returns true
- Test where name is some other error
- Verify returns false
- Test where name is SD_BUS_ERROR_UNKNOWN_INTERFACE
- Test where error name property is nullptr
- getValue()
Created
October 30, 2021 21:50
-
-
Save smccarney/47b167706da49c7d78c4df818040ae72 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