Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r61210 - trunk/libs/config/test
From: nielsdekker_at_[hidden]
Date: 2010-04-11 17:01:41


Author: niels_dekker
Date: 2010-04-11 17:01:41 EDT (Sun, 11 Apr 2010)
New Revision: 61210
URL: http://svn.boost.org/trac/boost/changeset/61210

Log:
Restyled output of value-initialization test.
Text files modified:
   trunk/libs/config/test/boost_no_com_value_init.ipp | 12 ++++++------
   1 files changed, 6 insertions(+), 6 deletions(-)

Modified: trunk/libs/config/test/boost_no_com_value_init.ipp
==============================================================================
--- trunk/libs/config/test/boost_no_com_value_init.ipp (original)
+++ trunk/libs/config/test/boost_no_com_value_init.ipp 2010-04-11 17:01:41 EDT (Sun, 11 Apr 2010)
@@ -298,7 +298,7 @@
   {
     if ( ! is_variable_value_initializated )
     {
- std::cout << "Note: " << variable_name << " is not value-initialized." << std::endl;
+ std::cout << "Note: Failed to value-initialize " << variable_name << '.' << std::endl;
     }
     return is_variable_value_initializated;
   }
@@ -544,7 +544,7 @@
     const unsigned num_failures_of_a_temporary = value_initializer().check();
     if ( num_failures_of_a_temporary > 0 )
     {
- std::cout << " Number of initialization failures of a temporary: "
+ std::cout << "- Number of initialization failures of a temporary: "
         << num_failures_of_a_temporary << std::endl;
     }
     dirty_stack();
@@ -552,7 +552,7 @@
     const unsigned num_failures_on_stack = object_on_stack.check();
     if ( num_failures_of_a_temporary > 0 || num_failures_on_stack > 0 )
     {
- std::cout << " Number of initialization failures on the stack: "
+ std::cout << "- Number of initialization failures on the stack: "
         << num_failures_on_stack << std::endl;
     }
     const value_initializer* const ptr = new value_initializer();
@@ -562,14 +562,14 @@
     const unsigned total_num_failures = num_failures_of_a_temporary + num_failures_on_stack + num_failures_on_heap;
     if ( total_num_failures > 0 )
     {
- std::cout << " Number of initialization failures on the heap: "
+ std::cout << "- Number of initialization failures on the heap: "
         << num_failures_on_heap
- << "\n Total number of initialization failures ("
+ << "\n-- Total number of initialization failures ("
         << num_failures_of_a_temporary << '+'
         << num_failures_on_stack << '+'
         << num_failures_on_heap << "): "
         << total_num_failures
- << "\nDetected by boost_no_complete_value_initialization::test() revision 10."
+ << "\nDetected by boost_no_complete_value_initialization::test() revision 11."
         << std::endl;
     }
     return static_cast<int>(num_failures_on_stack + num_failures_on_heap);


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