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
diff --git a/test/openpower-pels/pel_utils.hpp b/test/openpower-pels/pel_utils.hpp
index 6d70dfa..fb608b8 100644
--- a/test/openpower-pels/pel_utils.hpp
+++ b/test/openpower-pels/pel_utils.hpp
@@ -52,11 +52,13 @@
 /**
  * @brief Tells the factory which PEL to create
  */
-enum class TestPelType
+enum class TestPELType
 {
     pelSimple,
-    privateHeaderSimple,
-    userHeaderSimple
+    privateHeaderSection,
+    userHeaderSection,
+    primarySRCSection,
+    primarySRCSection2Callouts
 };
 
 /**
@@ -69,9 +71,7 @@
     mruStructure,
     calloutStructureA,
     calloutStructureB,
-    calloutSection2Callouts,
-    primarySRCNoCallouts,
-    primarySRC2Callouts
+    calloutSection2Callouts
 };
 
 /**
@@ -79,9 +79,9 @@
  *
  * @param[in] type - the type of data to create
  *
- * @return std::unique_ptr<std::vector<uint8_t>> - the PEL data
+ * @return std::vector<uint8_t> - the PEL data
  */
-std::unique_ptr<std::vector<uint8_t>> pelDataFactory(TestPelType type);
+std::vector<uint8_t> pelDataFactory(TestPELType type);
 
 /**
  * @brief SRC data factory, for testing