diff options
author | Matt Spinler <spinler@us.ibm.com> | 2019-10-11 10:39:30 -0500 |
---|---|---|
committer | Matt Spinler <spinler@us.ibm.com> | 2019-10-22 09:10:37 -0500 |
commit | 42828bd922d6e067089770112de5ec22d2df8ab1 (patch) | |
tree | 61a552dbfaa53f7eb1e3104a8a8d73f60548e15f /test/remote_logging_test_port.cpp | |
parent | 31eed996da81cf6e35e7ddd035aa8088be230218 (diff) | |
download | phosphor-logging-42828bd922d6e067089770112de5ec22d2df8ab1.tar.gz phosphor-logging-42828bd922d6e067089770112de5ec22d2df8ab1.zip |
PEL: Refactor the test data factory
This commit has no functional changes, it just does some things
to make the PEL data creator for testcases, pelDataFactory(), be
more manageable:
- Change to return a plain vector instead of a unique_ptr<vector>.
- Keeps the data for each section in separate vectors and then
either returns those as-is or combines them into a PEL.
- Change the TestPelType enum to TestPELType to match the style guide.
- Have pelDataFactory provide the SRC section instead of srcDataFactory.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I4770aa6a8169e89b6b8f685a9994d845c9e93cfe
Diffstat (limited to 'test/remote_logging_test_port.cpp')
0 files changed, 0 insertions, 0 deletions