diff options
author | Michael Meeks <michael.meeks@suse.com> | 2012-06-29 11:13:15 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2012-06-29 11:13:58 +0100 |
commit | a203a6692ceec97050e92b916b1c252898fe6b4d (patch) | |
tree | 1a3a18212bd1ac84c663ba0c05544cdc72cac4e8 /sal | |
parent | 3a53ddf0a2648ab42871d263af21fb3371c34455 (diff) |
rename unittest from ZeroMemory causing issues on windows.
Diffstat (limited to 'sal')
-rw-r--r-- | sal/qa/rtl/alloc/rtl_alloc.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sal/qa/rtl/alloc/rtl_alloc.cxx b/sal/qa/rtl/alloc/rtl_alloc.cxx index f0211556d596..b01e00bac2e5 100644 --- a/sal/qa/rtl/alloc/rtl_alloc.cxx +++ b/sal/qa/rtl/alloc/rtl_alloc.cxx @@ -101,14 +101,14 @@ public: CPPUNIT_TEST_SUITE_END(); }; // class test -class ZeroMemory : public CppUnit::TestFixture +class TestZeroMemory : public CppUnit::TestFixture { // for zero functions char *m_pZeroMemory; sal_uInt32 m_nSizeOfZeroMemory; public: - ZeroMemory() + TestZeroMemory() : m_pZeroMemory(NULL) , m_nSizeOfZeroMemory( 50 * 1024 * 1024 ) { @@ -138,14 +138,14 @@ public: CPPUNIT_ASSERT_MESSAGE( "memory contains wrong value.", checkMemory(m_pZeroMemory, m_nSizeOfZeroMemory, 3) == true); } - CPPUNIT_TEST_SUITE(ZeroMemory); + CPPUNIT_TEST_SUITE(TestZeroMemory); CPPUNIT_TEST(rtl_allocateZeroMemory_001); CPPUNIT_TEST_SUITE_END(); }; // ----------------------------------------------------------------------------- CPPUNIT_TEST_SUITE_REGISTRATION(rtl_alloc::Memory); -CPPUNIT_TEST_SUITE_REGISTRATION(rtl_alloc::ZeroMemory); +CPPUNIT_TEST_SUITE_REGISTRATION(rtl_alloc::TestZeroMemory); } // namespace rtl_alloc |