Skip to content

Commit 9c3efec

Browse files
committed
Replacing PrintMock within test_print module with the one general available now
1 parent 2e88c2e commit 9c3efec

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

Diff for: test/src/Print/test_print.cpp

+1-14
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,7 @@
1212

1313
#include <Print.h>
1414

15-
/**************************************************************************************
16-
* TEST HELPER
17-
**************************************************************************************/
18-
19-
class PrintMock : public Print
20-
{
21-
public:
22-
std::string _str;
23-
virtual size_t write(uint8_t b)
24-
{
25-
_str.append(1, static_cast<char>(b));
26-
return 1;
27-
}
28-
};
15+
#include <PrintMock.h>
2916

3017
/**************************************************************************************
3118
* TEST CODE

0 commit comments

Comments
 (0)