Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64706 - sandbox/SOC/2010/bit_masks/lib/integer/test/bitfield_vector_testing
From: bbartmanboost_at_[hidden]
Date: 2010-08-09 16:19:04


Author: bbartman
Date: 2010-08-09 16:19:00 EDT (Mon, 09 Aug 2010)
New Revision: 64706
URL: http://svn.boost.org/trac/boost/changeset/64706

Log:
began creating test suite for memory corruption testing within the proxy reference type
Text files modified:
   sandbox/SOC/2010/bit_masks/lib/integer/test/bitfield_vector_testing/proxy_reference_test.cpp | 7 +++++++
   1 files changed, 7 insertions(+), 0 deletions(-)

Modified: sandbox/SOC/2010/bit_masks/lib/integer/test/bitfield_vector_testing/proxy_reference_test.cpp
==============================================================================
--- sandbox/SOC/2010/bit_masks/lib/integer/test/bitfield_vector_testing/proxy_reference_test.cpp (original)
+++ sandbox/SOC/2010/bit_masks/lib/integer/test/bitfield_vector_testing/proxy_reference_test.cpp 2010-08-09 16:19:00 EDT (Mon, 09 Aug 2010)
@@ -317,6 +317,13 @@
         BOOST_TEST(*ptr == 0x80);
         ptr = storage;
         BOOST_TEST(t4 == 0x1FFFF);
+ t4 = 17;
+ BOOST_TEST(t4 == 17);
+
+ std::cout << "-----------------------------------------" << std::endl;
+ std::cout << "memory corruption testing." << std::endl;
+ std::cout << "-----------------------------------------" << std::endl;
+ // test_type_4 t4(ptr,0);
         // BOOST_TEST(false);
 
 /*


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk