Imt.Base C++ API V4.1.1.0
Loading...
Searching...
No Matches
TestUtil.h
Go to the documentation of this file.
1// (c) IMT - Information Management Technology AG, CH-9470 Buchs, www.imt.ch.
2
3#ifndef IMT_BASE_DFF_UNIT_TEST_HELPER_TESTUTIL_H
4#define IMT_BASE_DFF_UNIT_TEST_HELPER_TESTUTIL_H
5
8
9namespace unitTestHelper {
10
15
16public:
17
25 static void assertByteBuffer(uint8_t const* const pExpectedBuffer, uint32_t const expectedSize, uint8_t const* const pActualBuffer, uint32_t const actualSize);
26
27private:
28
32 static std::string getBufferError(uint8_t const* const pExpectedBuffer, uint32_t const expectedSize, uint8_t const* const pActualBuffer, uint32_t const actualSize);
33};
34
35} // namespace unitTestHelper
36
37#endif // IMT_BASE_DFF_UNIT_TEST_HELPER_TESTUTIL_H
Base class for a static class that disables construction, copy, assignment and move of instances.
Definition StaticClass.h:48
Provides utility functions for TestClasses.
Definition TestUtil.h:14
static void assertByteBuffer(uint8_t const *const pExpectedBuffer, uint32_t const expectedSize, uint8_t const *const pActualBuffer, uint32_t const actualSize)
Assert method for two byte buffers.
unsigned __int32 uint32_t
Definition stdint.h:64
unsigned __int8 uint8_t
Definition stdint.h:62