Fix minor issues and create a .clangd config for different builddirs
All checks were successful
Build ptprnt / build (push) Successful in 2m19s
All checks were successful
Build ptprnt / build (push) Successful in 2m19s
This commit is contained in:
@@ -22,9 +22,9 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "../../tests/mocks/MockUsbDevice.hpp"
|
||||
#include "graphics/Bitmap.hpp"
|
||||
#include "graphics/Monochrome.hpp"
|
||||
#include "mocks/MockUsbDevice.hpp"
|
||||
#include "printers/P700Printer.hpp"
|
||||
|
||||
using ::testing::_;
|
||||
@@ -39,8 +39,8 @@ namespace ptprnt::printer {
|
||||
class P700PrinterTest : public ::testing::Test {
|
||||
protected:
|
||||
void SetUp() override {
|
||||
printer = std::make_unique<P700Printer>();
|
||||
mockUsbDev = std::make_shared<NiceMock<libusbwrap::MockUsbDevice>>();
|
||||
printer = std::make_unique<P700Printer>();
|
||||
mockUsbDev = std::make_shared<NiceMock<libusbwrap::MockUsbDevice>>();
|
||||
|
||||
// Default mock behaviors
|
||||
ON_CALL(*mockUsbDev, open()).WillByDefault(Return(true));
|
||||
|
||||
Reference in New Issue
Block a user