remove IPMI_CC

Since IPMI_CC declared in api.h has been gradually deprecated,
this submission will use ipmi::cc in api.hpp instead.

Change-Id: Iaaca85d13ebd1e114587fe64ec169ad92efc7f9d
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
diff --git a/test/oemrouter_unittest.cpp b/test/oemrouter_unittest.cpp
index 9880d72..6cdc3d9 100644
--- a/test/oemrouter_unittest.cpp
+++ b/test/oemrouter_unittest.cpp
@@ -157,19 +157,21 @@
 
     // Message too short to include whole OEN?
     dataLen = 2;
-    EXPECT_EQ(IPMI_CC_REQ_DATA_LEN_INVALID,
+    EXPECT_EQ(ipmi::ccReqDataLenInvalid,
               wildHandler(ipmi::netFnOem, 0x78, msgPlain, reply, &dataLen,
                           nullptr));
 
     // Wrong specific command?
     dataLen = 3;
-    EXPECT_EQ(IPMI_CC_INVALID, wildHandler(ipmi::netFnOem, 0x89, msgPlain,
-                                           reply, &dataLen, nullptr));
+    EXPECT_EQ(ipmi::ccInvalidCommand,
+              wildHandler(ipmi::netFnOem, 0x89, msgPlain, reply, &dataLen,
+                          nullptr));
 
     // Wrong OEN?
     dataLen = 3;
-    EXPECT_EQ(IPMI_CC_INVALID, wildHandler(ipmi::netFnOem, 0x78, msgBadOen,
-                                           reply, &dataLen, nullptr));
+    EXPECT_EQ(ipmi::ccInvalidCommand,
+              wildHandler(ipmi::netFnOem, 0x78, msgBadOen, reply, &dataLen,
+                          nullptr));
 }
 
 } // namespace oem