From c43d537726ce538c19114cf4fb8d3b720612cdd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 14 Feb 2015 15:49:17 +0100 Subject: [PATCH] renamed TestBufferOverrun test method to same name as CheckBufferOverrun method that is tested --- test/testbufferoverrun.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/testbufferoverrun.cpp b/test/testbufferoverrun.cpp index 5529e6975..7cc665a4a 100644 --- a/test/testbufferoverrun.cpp +++ b/test/testbufferoverrun.cpp @@ -230,7 +230,7 @@ private: TEST_CASE(alloc4); // Buffer allocated with alloca TEST_CASE(malloc_memset); // using memset on buffer allocated with malloc - TEST_CASE(counter_test); + TEST_CASE(countSprintfLength); TEST_CASE(minsize_argvalue); TEST_CASE(minsize_sizeof); TEST_CASE(minsize_strlen); @@ -3126,7 +3126,7 @@ private: ASSERT_EQUALS("[test.cpp:3]: (error) Buffer is accessed out of bounds.\n", errout.str()); } - void counter_test() const { + void countSprintfLength() const { std::list unknownParameter; unknownParameter.push_back(0);