style change: lowerCamel
Methods in openbmc are lowercamel.
Change-Id: I57567b66acdc1fc618f3ca7d237455d55783630c
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/test/pcie_unittest.cpp b/test/pcie_unittest.cpp
index 34926ee..84bbe5c 100644
--- a/test/pcie_unittest.cpp
+++ b/test/pcie_unittest.cpp
@@ -29,7 +29,7 @@
EXPECT_CALL(hMock, buildI2cPcieMapping());
EXPECT_CALL(hMock, getI2cPcieMappingSize()).WillOnce(Return(expectedSize));
EXPECT_EQ(IPMI_CC_OK,
- PcieSlotCount(request.data(), reply, &dataLen, &hMock));
+ pcieSlotCount(request.data(), reply, &dataLen, &hMock));
EXPECT_EQ(expectedSize, reply[1]);
}
@@ -42,7 +42,7 @@
HandlerMock hMock;
EXPECT_EQ(IPMI_CC_REQ_DATA_LEN_INVALID,
- PcieSlotI2cBusMapping(request.data(), reply, &dataLen, &hMock));
+ pcieSlotI2cBusMapping(request.data(), reply, &dataLen, &hMock));
}
TEST(PcieI2cCommandTest, PcieSlotEntryRequestUnsupportedByPlatform)
@@ -56,7 +56,7 @@
HandlerMock hMock;
EXPECT_CALL(hMock, getI2cPcieMappingSize()).WillOnce(Return(0));
EXPECT_EQ(IPMI_CC_INVALID_RESERVATION_ID,
- PcieSlotI2cBusMapping(request.data(), reply, &dataLen, &hMock));
+ pcieSlotI2cBusMapping(request.data(), reply, &dataLen, &hMock));
}
TEST(PcieI2cCommandTest, PcieSlotEntryRequestInvalidIndex)
@@ -70,7 +70,7 @@
HandlerMock hMock;
EXPECT_CALL(hMock, getI2cPcieMappingSize()).WillOnce(Return(1));
EXPECT_EQ(IPMI_CC_PARM_OUT_OF_RANGE,
- PcieSlotI2cBusMapping(request.data(), reply, &dataLen, &hMock));
+ pcieSlotI2cBusMapping(request.data(), reply, &dataLen, &hMock));
}
TEST(PcieI2cCommandTest, PcieSlotEntryRequestValidIndex)
@@ -89,7 +89,7 @@
EXPECT_CALL(hMock, getI2cEntry(index))
.WillOnce(Return(std::make_tuple(busNum, slotName)));
EXPECT_EQ(IPMI_CC_OK,
- PcieSlotI2cBusMapping(request.data(), reply, &dataLen, &hMock));
+ pcieSlotI2cBusMapping(request.data(), reply, &dataLen, &hMock));
EXPECT_EQ(busNum, reply[1]);
EXPECT_EQ(slotName.length(), reply[2]);
EXPECT_EQ(0, std::memcmp(slotName.c_str(), &reply[3], reply[2]));