2
0
mirror of https://github.com/boostorg/test.git synced 2026-01-26 07:02:12 +00:00

could->can

[SVN r50350]
This commit is contained in:
Gennadiy Rozental
2008-12-22 07:49:22 +00:00
parent eb9fb2fef6
commit c07611151d
5 changed files with 8 additions and 9 deletions

View File

@@ -13,8 +13,8 @@
// ***************************************************************************
#ifdef BOOST_MSVC
# pragma warning(default: 4511) // copy constructor could not be generated
# pragma warning(default: 4512) // assignment operator could not be generated
# pragma warning(default: 4511) // copy constructor can't not be generated
# pragma warning(default: 4512) // assignment operator can't not be generated
# pragma warning(default: 4100) // unreferenced formal parameter
# pragma warning(default: 4996) // <symbol> was declared deprecated
# pragma warning(default: 4355) // 'this' : used in base member initializer list

View File

@@ -14,8 +14,8 @@
#ifdef BOOST_MSVC
# pragma warning(push)
# pragma warning(disable: 4511) // copy constructor could not be generated
# pragma warning(disable: 4512) // assignment operator could not be generated
# pragma warning(disable: 4511) // copy constructor can't not be generated
# pragma warning(disable: 4512) // assignment operator can't not be generated
# pragma warning(disable: 4100) // unreferenced formal parameter
# pragma warning(disable: 4996) // <symbol> was declared deprecated
# pragma warning(disable: 4355) // 'this' : used in base member initializer list

View File

@@ -834,8 +834,8 @@ attach_debugger( bool break_or_continue )
bool created = !!::CreateProcessA(
NULL, // pointer to name of executable module; NULL - use the one in command line
cmd_line, // pointer to command line string
NULL, // pointer to process security attributes; NULL - debugger's handle couldn't be inherited
NULL, // pointer to thread security attributes; NULL - debugger's handle couldn't be inherited
NULL, // pointer to process security attributes; NULL - debugger's handle can't be inherited
NULL, // pointer to thread security attributes; NULL - debugger's handle can't be inherited
true, // debugger inherit opened handles
0, // priority flags; 0 - normal priority
NULL, // pointer to new environment block; NULL - use this process environment

View File

@@ -66,8 +66,7 @@ manager::instance_ptr( bool reset, manager* new_ptr )
if( reset ) {
if( new_ptr ) {
if( ptr != &dummy )
throw unit_test::framework::setup_error( BOOST_TEST_L( "Couldn't run two interation based test the same time" ) );
BOOST_TEST_SETUP_ASSERT( ptr == &dummy, BOOST_TEST_L( "Can't run two interation based test the same time" ) );
ptr = new_ptr;
}

View File

@@ -85,7 +85,7 @@ expectations_logger::expectations_logger( const_string log_file_name, bool test_
m_log_file.open( log_file_name.begin(), test_or_log ? std::ios::in : std::ios::out );
BOOST_REQUIRE_MESSAGE( m_log_file.is_open(),
"Couldn't open expectations log file " << log_file_name
"Can't open expectations log file " << log_file_name
<< " for " << ( m_test_or_log ? "reading" : "writing") );
if( m_test_or_log ) {