Skip to content

Commit

Permalink
iox-eclipse-iceoryx#454 fix review findings from PR
Browse files Browse the repository at this point in the history
Signed-off-by: Jimmy Belloche <[email protected]>
  • Loading branch information
JimmyBch committed Jan 7, 2021
1 parent 01d9ba8 commit 970c235
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions iceoryx_posh/test/moduletests/test_roudi_memory_block.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ class MemoryBlock_Test : public Test
{
}

static constexpr uint64_t MEMORY_SIZE = 1;
static constexpr uint64_t MEMORY_ALIGNMENT = 1;
static constexpr uint64_t MEMORY_SIZE = 1U;
static constexpr uint64_t MEMORY_ALIGNMENT = 1U;

MemoryBlockMock sut;
MemoryProviderTestImpl memoryProvider;
Expand Down
4 changes: 1 addition & 3 deletions iceoryx_posh/test/moduletests/test_roudi_memory_provider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//#define protected public
#include "iceoryx_posh/roudi/memory/memory_provider.hpp"
//#undef protected

#include "iceoryx_utils/internal/relocatable_pointer/relative_ptr.hpp"

Expand Down Expand Up @@ -349,7 +347,7 @@ TEST_F(MemoryProvider_Test, SegmentIdValueAfterDestructionIsUnset)

TEST_F(MemoryProvider_Test, GetErrorString)
{
for(int16_t i = 0; i < nTestCase;i++)
for(int16_t i = 0; i < nTestCase; i++)
{
const char * result = MemoryProviderFailingCreation::getErrorStringMemoryProvider(m_testCombinationMemoryProviderError[i]);
EXPECT_THAT(*result, Eq(*m_testResultGetErrorString[i]));
Expand Down

0 comments on commit 970c235

Please sign in to comment.